fix: make .mcpb a thin npx wrapper (23MB → ~1KB)#70
Merged
Conversation
The mcpb bundle was 23 MB because it included all of node_modules. Since npm already publishes the package (73 KB), the .mcpb just needs to call `npx @ldraney/github-mcp@latest --preset core`. Changes: - manifest.json: command changed from node to npx - .mcpbignore: exclude everything except manifest.json and README.md - release.yml: publish npm before mcpb pack (wrapper depends on it), remove continue-on-error from npm publish Closes #66 Refs #69 Co-Authored-By: Claude Opus 4.5 <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
.mcpbbundle was 23 MB because it included all ofnode_modulesnpx @ldraney/github-mcp@latest --preset coremanifest.jsonnow usesnpxinstead ofnode ${__dirname}/dist/index.js.mcpbignoreexcludes everything exceptmanifest.jsonandREADME.mdmcpb pack(the wrapper depends on the package existing)Test plan
v0.2.2.mcpbasset is <100 KB.mcpbin Claude Desktop, confirm it runs via npxCloses #66
Refs #69
🤖 Generated with Claude Code