Add MCPB bundle support for Claude Desktop#9
Conversation
- Add manifest.json (v0.3 spec) with all 72 tools declared - Add scripts/build-mcpb.sh to produce .mcpb ZIP archive - Add 'npm run bundle' script to package.json - Add *.mcpb to .gitignore (build artifact) Co-Authored-By: hdorfman <hdorfman@pexcard.com>
Original prompt from hdorfman
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: hdorfman <hdorfman@pexcard.com>
…fy read-only description - Move ERR trap before npm prune so it catches prune failures too - Remove LICENSE* exclusion from zip to preserve dependency license files - Update manifest description to use read-only language (view/query/check instead of manage/enforce) Co-Authored-By: hdorfman <hdorfman@pexcard.com>
…SE.md files Co-Authored-By: hdorfman <hdorfman@pexcard.com>
Summary
Adds
.mcpb(MCP Bundle) packaging support so the PEX MCP Server can be distributed as a single-file install for Claude Desktop and other MCP-compatible clients.What's included:
manifest.json— MCPB v0.3 manifest declaring all 72 tools, user config forPEX_API_URLandPEX_API_TOKEN(stored in OS keychain), and Node.js server configscripts/build-mcpb.sh— Build script that compiles TypeScript, prunes devDependencies, and packages everything into a.mcpbZIP archivenpm run bundle— Package.json script alias for the build.gitignore— Added*.mcpbto ignore built bundle artifactsHow to build:
npm run bundle # Produces: pex-api-mcp.mcpb (ZIP archive, ~3.8MB)How to install:
Double-click the
.mcpbfile in Claude Desktop, or drag it into Settings. Users will be prompted for their PEX API URL and token.Review & Testing Checklist for Human
manifest.jsontool list matches current tool count (72) — if tools have been added/removed since, the manifest needs updatingnpm run bundleand verify the.mcpbfile is produced.mcpb(rename to.zip) and verify it containsmanifest.json,dist/,node_modules/,README.md,LICENSE.mcpbin Claude Desktop and confirm tools are availableNotes
manifest.jsonversion should be kept in sync withpackage.jsonversion on each releasetools_generatedflag isfalsesince all 72 tools are statically declaredLink to Devin session: https://app.devin.ai/sessions/ab950054520f4c22b790d6bfdbd97a0c