feat: Add MCPB bundle for Claude Desktop installation#251
Conversation
Summary of ChangesHello @triepod-ai, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the deployment and accessibility of the AntV Chart Server by integrating Model Context Protocol Bundle (MCPB) support. This allows users to effortlessly install the server, which provides 26 distinct chart visualization tools, into Claude Desktop and similar platforms with a single click, streamlining the setup process for advanced data visualization capabilities. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces support for MCPB (Model Context Protocol Bundle), enabling single-click installation in Claude Desktop. This is achieved by adding a manifest.json file, a .mcpbignore file, and an icon.
My review focuses on the new configuration files. I've found a few areas for improvement:
- In
.mcpbignore, addingyarn.lockwould make the ignore list more robust. - In
manifest.json, the version is hardcoded, which could lead to inconsistencies withpackage.json. - Most importantly, there is a significant mismatch between the tool names in
manifest.jsonand the names implemented in the server code. This could lead to runtime errors and should be corrected for consistency and reliability.
Overall, this is a great feature addition. Addressing these points will improve the maintainability and correctness of the MCPB integration.
2fb84c2 to
98e9893
Compare
Add Model Context Protocol Bundle (MCPB) support enabling single-click installation in Claude Desktop and other MCP hosts. Changes: - Add manifest.json with server configuration (26 chart tools) - Add icon.png for display in Claude Desktop - Add .mcpbignore for build exclusions 🤖 Generated with [Claude Code](https://claude.com/claude-code)
98e9893 to
0fdd8ed
Compare
|
Thanks for the review! I've verified the feedback: Tool names: The manifest uses the correct snake_case names ( yarn.lock: Already included in Version sync: Good suggestion for future maintainability. The version currently matches The bundle has been tested and works correctly. Ready to merge when you are! |
Summary
Adds Model Context Protocol Bundle (MCPB) support enabling single-click installation in Claude Desktop and other MCP hosts.
Changes
manifest.jsonwith server configuration (26 chart tools)icon.pngfor display in Claude Desktop (AntV logo).mcpbignorefor build exclusionsWhat is MCPB?
MCPB (MCP Bundle) is a packaging format that enables easy distribution of MCP servers. Similar to browser extensions (.crx) or VS Code extensions (.vsix), users can install the server with a single click.
Testing
mcpb validate)mcpb pack) - 56KBBuilding the Bundle
npm install npm run build npx @anthropic-ai/mcpb pack .🤖 Generated with Claude Code