The Chargebee Model Context Protocol (MCP) Server provides a standardized way to manage context between large language models and external systems. It integrates with AI-powered code editors and tools to deliver immediate answers about Chargebee products, context-aware code snippets, and access to Chargebee's knowledge base including documentation, FAQs, and release notes.
Run the Chargebee MCP server using Node.js npx with this simple command:
npx -y @chargebee/mcp@latest
The server provides the following 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. |
To add this server to Cursor IDE:
Cursor Settings
> MCP
+ Add new Global MCP Server
.cursor/mcp.json
file:{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}
For more details, refer to the Cursor documentation.
To set up MCP with Cascade:
Settings
> Advanced Settings
or use the Command Palette > Open Windsurf Settings Page
mcp_config.json
:{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}
For more information, see the Windsurf documentation.
Install the Chargebee MCP server in VS Code using the VS Code CLI:
# For VS Code
code --add-mcp '{"name":"chargebee","command":"npx","args":["-y","@chargebee/mcp"]}'
# For VS Code Insiders
code-insiders --add-mcp '{"name":"chargebee","command":"npx","args":["-y","@chargebee/mcp"]}'
After installation, the server will be available for use with your GitHub Copilot agent in VS Code.
Add the following configuration to your claude_desktop_config.json
file:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}
Refer to the Claude Desktop documentation for more details.
Manually add the following JSON to your cline_mcp_settings.json
file via the Cline MCP Server settings:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}
Access the MCP settings by selecting Edit MCP Settings
in Roo Code settings or using the Roo Code: Open MCP Config
command in the VS Code command palette:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "chargebee" '{"command":"npx","args":["-y","@chargebee/mcp"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect