Skip to content

Conversation

@bthompson-sys
Copy link
Contributor

@bthompson-sys bthompson-sys commented Nov 1, 2025

Problem

Current state (v1.1.5 published to npm):

  • mcpb pack requires manifest_version: "0.3"
  • Claude Desktop v1.0.211 only supports v0.2 manifests
  • Result: Users cannot pack bundles that work with Claude Desktop

This was introduced in PR #132 (commit 1640ade) when v0.3 schema with localization/theming was added.

Solution

Revert LATEST_MANIFEST_VERSION back to "0.2" until Claude Desktop adds v0.3/v1.0 support.

Changes:

  • ✅ Set LATEST_MANIFEST_VERSION = "0.2" in src/shared/constants.ts
  • ✅ Updated src/schemas/latest.ts to export v0.2 schema
  • ✅ Updated src/schemas_loose/latest.ts to export v0.2 schema
  • ✅ Updated test files to use v0.2 or explicit v0_3 imports where needed
  • ✅ All 109 tests passing
  • ✅ No lint errors

Testing

Before fix (current v1.1.5):

$ mcpb pack
ERROR: Manifest validation failed:
  - manifest_version: Invalid literal value, expected "0.3"

After fix:

$ mcpb pack
Validating manifest...
Manifest schema validation passes!
📦  Successfully packed

Notes

  • v0.3 schema remains available via explicit import: import { v0_3 } from '@anthropic-ai/mcpb/schemas'
  • This is a temporary compatibility fix until Claude Desktop supports newer manifest versions
  • Coordinates with @felixrieseberg

Related

Claude Desktop does not yet support v0.3 manifests (localization/theming features).
Reverting LATEST_MANIFEST_VERSION to v0.2 until Desktop support is available.

Changes:
- Set LATEST_MANIFEST_VERSION back to "0.2" in src/shared/constants.ts
- Updated src/schemas/latest.ts to export v0.2 schema
- Updated src/schemas_loose/latest.ts to export v0.2 schema
- Updated test manifests and test assertions to match new default
- v0.3 schema remains available for testing via explicit import

This fixes the issue where npx mcpb pack rejects v0.2 manifests that
Claude Desktop requires, introduced in PR anthropics#132 (commit 1640ade).

Fixes compatibility with Claude Desktop versions that only support v0.2.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@MarshallOfSound
Copy link
Contributor

Hey @bthompson-sys, sorry for the churn here.

We just landed #145 which does the following:

  • Drops the "default" version of the manifest generated to 0.2
  • Allows pack to work for any schema version instead of just vLatest

Hopefully that unblocks you. It should be released shortly as 1.2.0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants