Skip to content

feat: Add MCPB bundle for Claude Desktop installation#251

Merged
hustcc merged 2 commits into
antvis:mainfrom
bryankthompson:feat/add-mcpb-bundle
Jan 19, 2026
Merged

feat: Add MCPB bundle for Claude Desktop installation#251
hustcc merged 2 commits into
antvis:mainfrom
bryankthompson:feat/add-mcpb-bundle

Conversation

@bryankthompson
Copy link
Copy Markdown
Contributor

Summary

Adds Model Context Protocol Bundle (MCPB) support enabling single-click installation in Claude Desktop and other MCP hosts.

Changes

  • Added manifest.json with server configuration (26 chart tools)
  • Added icon.png for display in Claude Desktop (AntV logo)
  • Added .mcpbignore for build exclusions

What 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

  • Bundle validates successfully (mcpb validate)
  • Bundle packs successfully (mcpb pack) - 56KB
  • Tested installation in Claude Desktop
  • All 26 chart tools functional

Building the Bundle

npm install
npm run build
npx @anthropic-ai/mcpb pack .

🤖 Generated with Claude Code

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @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

  • MCPB Bundle Integration: Added Model Context Protocol Bundle (MCPB) support to enable single-click installation of the AntV Chart Server in Claude Desktop and other compatible hosts.
  • Configuration Files: Introduced manifest.json to define the server's metadata, including its name, version, description, author, repository, icon, server entry point, and a comprehensive list of 26 chart tools.
  • Build Exclusions: Created a .mcpbignore file to specify development files, source files, documentation, build artifacts, and various configuration files that should be excluded from the MCPB bundle.
  • Visual Identity: Included an icon.png file, featuring the AntV logo, for display within Claude Desktop when the bundle is installed.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, adding yarn.lock would make the ignore list more robust.
  • In manifest.json, the version is hardcoded, which could lead to inconsistencies with package.json.
  • Most importantly, there is a significant mismatch between the tool names in manifest.json and 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.

Comment thread manifest.json
Comment thread .mcpbignore
Comment thread manifest.json
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)
@bryankthompson
Copy link
Copy Markdown
Contributor Author

Thanks for the review!

I've verified the feedback:

Tool names: The manifest uses the correct snake_case names (generate_area_chart, generate_bar_chart, etc.) that match the server implementation in src/charts/*.ts.

yarn.lock: Already included in .mcpbignore under the "Package managers and lock files" section.

Version sync: Good suggestion for future maintainability. The version currently matches package.json at 0.9.7.

The bundle has been tested and works correctly. Ready to merge when you are!

@hustcc hustcc merged commit 0bd0233 into antvis:main Jan 19, 2026
1 check passed
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