Chargebee Model Context Protocol (MCP) Server
Model Context Protocol (MCP) is a standardized protocol designed to manage context between large language models (LLMs) and external systems.
The Chargebee MCP Server provides a powerful set of tools to enhance developer productivity. It integrates with AI-powered code editors like Cursor, Windsurf, and Cline, as well as general-purpose tools such as Claude Desktop. It works with any MCP Client.
With this MCP Server, you can:
-
Get immediate answers about the Chargebee products and API services.
-
Receive context-aware code snippets tailored to your integration needs.
-
Access Chargebee’s knowledge base, including:
- Documentation
- FAQs
- Release notes
- And more...
Prerequisites
- Node.js LTS - The Chargebee MCP server requires Node.js LTS version to run properly.
Setup
To run the Chargebee MCP server using Node.js npx, use the following command:
1npx -y @chargebee/mcp@latest
Available Tools
| Tool | Description |
| -------------------------------------| -------------------------------------------------------------------------------------------------|
| chargebee_documentation_search
| Search Chargebee's documentation to retrieve detailed information and usage guides. |
| chargebee_code_planner
| Generate structured code outlines and sample code for integrating Chargebee's APIs and features. |
Installation
Cursor
To add this server to Cursor IDE,
- Go to
Cursor Settings
>MCP
- Click
+ Add new Global MCP Server
- Add the following configuration to your global
.cursor/mcp.json
file.
1{ 2 "mcpServers": { 3 "chargebee": { 4 "command": "npx", 5 "args": [ 6 "-y", 7 "@chargebee/mcp" 8 ] 9 } 10 } 11}
See the Cursor documentation for more details. Note: You can also add this to your project specific cursor configuration. (Supported in Cursor 0.46+)
Windsurf
To set up MCP with Cascade, navigate to Windsurf - Settings
> Advanced Settings
or Command Palette > Open Windsurf Settings Page
.
Scroll down to the Cascade section and you will find the option to add a new server, view existing servers, and a button to view the raw JSON config file at mcp_config.json.
Here you can click “Add custom server +” to add Chargebee MCP server directly in mcp_config.json
.
1{ 2 "mcpServers": { 3 "chargebee": { 4 "command": "npx", 5 "args": [ 6 "-y", 7 "@chargebee/mcp" 8 ] 9 } 10 } 11}
See the Windsurf documentation for more details.
Cline
Add the following json manually to your cline_mcp_settings.json
via Cline MCP Server setting.
1{ 2 "mcpServers": { 3 "chargebee": { 4 "command": "npx", 5 "args": [ 6 "-y", 7 "@chargebee/mcp" 8 ] 9 } 10 } 11}
Roo Code
Access the MCP settings by clicking Edit MCP Settings
in Roo Code settings or using the Roo Code: Open MCP Config
command in VS Code's command palette.
1{ 2 "mcpServers": { 3 "chargebee": { 4 "command": "npx", 5 "args": [ 6 "-y", 7 "@chargebee/mcp" 8 ] 9 } 10 } 11}
Claude
Add the following to your claude_desktop_config.json
file. See the Claude Desktop documentation for more details.
1{ 2 "mcpServers": { 3 "chargebee": { 4 "command": "npx", 5 "args": [ 6 "-y", 7 "@chargebee/mcp" 8 ] 9 } 10 } 11}
CLI
You can also run it as CLI by running the following command.
1npx -y @chargebee/mcp@latest
Contribution
To contribute to this project, please see the contribution guide.