fix: support uv MCPB bundle publishing - #804
Open
ebeirne wants to merge 1 commit into
Open
Conversation
ebeirne
marked this pull request as ready for review
August 15, 2026 23:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
server.type: "uv"bundles as Smithery''s Python deployment runtimeWhy
MCPB manifest v0.4 adds a
uvserver type for Python servers whose dependencies are installed by the host. Smithery currently throwsCould not determine bundle runtime from manifestbefore uploading these valid bundles.Smithery''s stdio deployment API models runtimes as
node | binary | python | bun, so this maps the MCPBuvsubtype to the Python runtime family without altering the bundle manifest.This is a draft pending maintainer confirmation that Smithery''s Python deployment image supports executing the bundle''s
uvcommand.Verification
pnpm exec vitest run src/lib/__tests__/mcpb/get-bundle-deploy-payload.test.tspnpm run typecheckpnpm run buildgit diff --checknpxoutput, one requires symlink privileges)Note
Low Risk
Single-branch runtime detection change plus a unit test; no auth or API contract changes beyond allowing previously rejected valid bundles.
Overview
Fixes MCPB 0.4 bundles that declare
server.type: "uv"failing publish with Could not determine bundle runtime from manifest by treatinguvthe same aspythonindetectBundleRuntime, so deploy payloads use Smithery’s existing python stdio runtime without changing the manifest on disk.Adds a regression test that zips a minimal
manifest.jsonwithtype: "uv"and assertsgetBundleDeployPayloadreturnsruntime: "python"plus expected server card metadata.Reviewed by Cursor Bugbot for commit 23d980f. Bugbot is set up for automated code reviews on this repo. Configure here.