@chargebee/mcp
OfficialThe Chargebee MCP Server connects LLMs to Chargebee's resources, enabling you to:
Search Chargebee's knowledge base: Access documentation, FAQs, release notes, and usage guides
Get immediate answers about Chargebee products and API services
Generate context-aware code snippets tailored for specific integration needs
Create integration guides with structured code outlines and sample workflows for Chargebee APIs
Work with AI-powered tools including Cursor, Windsurf, Cline, and Claude Desktop
Enables running the Chargebee MCP server through npm's npx command, providing access to Chargebee's documentation and code generation capabilities.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@chargebee/mcp show me how to create a subscription with a trial period"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Chargebee Model Context Protocol (MCP) Server
⚠️ Deprecation Notice
This package is deprecated and will no longer receive updates or support. Please migrate to our new KnowledgeBase MCP Server, which provides enhanced capabilities and improved accuracy. Learn more and upgrade here: Chargebee MCP Server Documentation
Model Context Protocol (MCP) is a standardized protocol designed to manage context between large language models (LLMs) and external systems.
The Chargebee MCP Server offers a robust set of tools to improve developer efficiency. It integrates with AI-powered code editors like Cursor, Windsurf, and Cline, as well as general-purpose tools such as Claude Desktop. It is compatible 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 much more

Prerequisites
Node.js LTS - The Chargebee MCP server requires the Node.js LTS version to function correctly.
Related MCP server: Codinfy MCP
Setup
To run the Chargebee MCP server using Node.js npx, execute the following command:
npx -y @chargebee/mcp@latestAvailable Tools
Tool | Description |
| Search Chargebee's documentation to retrieve detailed information and usage guides. |
| Generate structured code outlines and sample code for integrating Chargebee's APIs and features. |
Installation
Cursor
To add this server to Cursor IDE:
Navigate to
Cursor Settings>MCP.Click
+ Add new Global MCP Server.Add the following configuration to your global
.cursor/mcp.jsonfile:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}Refer to the Cursor documentation for additional 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:
Open Windsurf and navigate to
Settings>Advanced Settingsor use the Command Palette >Open Windsurf Settings Page.Scroll to the Cascade section to add a new server, view existing servers, or access the raw JSON config file at
mcp_config.json.Click “Add custom server +” to include the Chargebee MCP server directly in
mcp_config.json:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}Refer to the Windsurf documentation for more information.
VS Code
Install the Chargebee MCP server in VS Code using one of these buttons:
Alternatively, you can install the Chargebee MCP server 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 Chargebee MCP server will be available for use with your GitHub Copilot agent in VS Code.
Claude
Add the following configuration to your claude_desktop_config.json file. Refer to the Claude Desktop documentation for more details:
{
"mcpServers": {
"chargebee": {
"command": "npx",
"args": [
"-y",
"@chargebee/mcp"
]
}
}
}Cline
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"
]
}
}
}Roo Code
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"
]
}
}
}Contribution
To contribute to this project, refer to the contribution guide.
License
Available Tools
2 toolschargebee_code_plannerA
Use this tool for any Chargebee integration questions or implementation needs.
Always use this tool to get the accurate integration code guide for Chargebee. This is the main tool developers need when asking about implementing Chargebee functionality (like "how to update billing address", "how to create subscription", "how to handle webhooks", etc.).
This tool will take in parameters about integrating with Chargebee in their application and generates an integration workflow along with the code snippets.
It takes the following arguments:
goal (string): What is the user's goal?
language (enum): Programming language the code to be generated in. Check the user's application language.
Inputs: goal (required), language.
chargebee_documentation_searchA
Only use this tool for general product documentation queries, NOT for implementation questions.
Do not use this tool for code generation or implementation questions. For any developer questions about implementing Chargebee functionality (like "how to update billing address", "how to create subscription", etc.), use "chargebee_code_planner" tool instead.
This tool should only be used for:
General product documentation queries about Chargebee's features and concepts
Understanding billing, payments, receivables, revenue recognition concepts
Learning about subscription management processes
Finding product feature explanations and overviews
Non-implementation related documentation queries
It takes the following arguments:
query (string): The user query to search an answer for in the Chargebee documentation.
language (enum): The programming language for the documentation. Check the user's application language.
userRequest (string): User's original request to you.
Inputs: query (required), userRequest, language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have explicitly distinct purposes: one for implementation guidance and code generation, the other for general documentation queries. Descriptions clearly separate their use cases, eliminating ambiguity.
Both tools follow a consistent 'chargebee_<descriptive_noun>' pattern, making it easy to infer their roles. The naming is uniform and predictable.
With only two tools, the server is very focused, but that matches its specific purpose of handling integration assistance and documentation search. While minimal, the count is reasonable for the intended scope.
The tool set covers both implementation needs (code planner) and conceptual understanding (documentation search), leaving no obvious gaps for its stated goal of answering Chargebee integration questions.
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn MCP server that enables AI agents to interact with the commercetools Composable Commerce platform. It provides tools for managing products, categories, orders, carts, and customer data through secure read and write operations.13MIT
- AlicenseAqualityDmaintenanceMCP server that connects AI agents to Codinfy platform APIs for validating licenses, creating checkouts, listing products, tracking analytics, managing OAuth identity, and handling ad placements.17MIT
- AlicenseAqualityDmaintenanceMCP server for RevenueCat that lets AI agents query subscriber data, check entitlements, fetch offerings, and manage subscriptions via natural language.6MIT
- AlicenseBqualityBmaintenanceMCP server that connects AI assistants to the Conexa business management system, enabling CRUD operations on sales, customers, plans, contracts, charges, and more via 83 tools.83121 npm1MIT