fix: repair broken examples and graduate UV runtime#206
Open
bryan-anthropic wants to merge 1 commit intomainfrom
Open
fix: repair broken examples and graduate UV runtime#206bryan-anthropic wants to merge 1 commit intomainfrom
bryan-anthropic wants to merge 1 commit intomainfrom
Conversation
- hello-world-node: wrap server startup in async main() with proper await on server.connect(transport) — fixes crash on initialize in Claude Desktop UtilityProcess runtime (closes #200) - hello-world-uv: add required mcp_config block — v0.4 schema requires it but the example omitted it, causing mcpb pack to fail - file-manager-python: convert from broken v0.1/python to v0.4/uv — the old manifest had privacy_policies on v0.1 (schema violation), used command "python" (ENOENT on macOS), and had no bundled deps. Now uses UV runtime with proper mcp_config (closes #47, closes #72) - Graduate UV runtime from experimental across docs and schema comments - Bump DEFAULT_MANIFEST_VERSION from 0.2 to 0.3 All three examples verified: pack succeeds, server responds to MCP initialize over stdio, tools/list returns expected tools. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
initializein Claude Desktop becauseserver.connect(transport)was notawaited. Wrapped inasync main()with proper error handling.mcpb packfails because v0.4 schema requiresmcp_configbut the example omitted it. Added the requiredmcp_configblock withuv runpattern.privacy_policies(schema violation),command: "python"(ENOENT on macOS), no bundled deps. Converted to v0.4/uv runtime with propermcp_config, cleaned uppyproject.toml, added.mcpbignore.MANIFEST.md,README.md) and schema comments.DEFAULT_MANIFEST_VERSIONfrom"0.2"to"0.3"(v0.3 has been stable since Feb 2026).Verification
All three examples smoke-tested locally:
mcpb packinitialize(stdio)tools/listsay_hello)Closes #200, closes #47, closes #72.
🤖 Generated with Claude Code