Skip to content

examples/hello-world-uv fails to pack #201

Closed

Description

@marklemay

Describe the bug
mcpb pack on the example fails

To Reproduce

PS F:\mcpb> mcpb pack examples/hello-world-uv
Validating manifest...
ERROR: Manifest validation failed:

  - server.mcp_config: Required
ERROR: Cannot pack extension with invalid manifest

Activity

  1. stickerdaniel commented on Mar 21, 2026

    @stickerdaniel

    Seeing the same issue with @anthropic-ai/mcpb@2.1.2.

    The docs say server.type = "uv" can omit server.mcp_config, but the published v0.4 schema/validator still requires it, so mcpb validate and mcpb pack fail with:

    server.mcp_config: Required
    

    Workaround for now is adding a redundant mcp_config block, looks like a docs/schema mismatch.

  2. stickerdaniel commented on Mar 21, 2026

    @stickerdaniel
  3. bryan-anthropic commented on Mar 25, 2026

    @bryan-anthropic
    Collaborator

    This is addressed in PR #206 which adds the required mcp_config block to the hello-world-uv example. As a workaround until that merges, you can add an mcp_config block to the manifest:

    "mcp_config": {
      "command": "uv",
      "args": ["run", "--directory", "${__dirname}", "src/server.py"]
    }

    The v0.4 schema requires mcp_config for all server types including UV. The example and docs were out of sync with the schema — PR #206 fixes both.

  4. bryan-anthropic commented on Apr 13, 2026

    @bryan-anthropic
    Collaborator

    This is fixed — PR #206 merged on April 5, which adds the required mcp_config block to the hello-world-uv example. The updated example packs cleanly with mcpb pack. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions