home / mcp / chargebee mcp server

Chargebee MCP Server

Provides an MCP server to access Chargebee docs, code examples, and knowledge with any MCP client.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ampcome-mcps-chargebee-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chargebee/mcp"
      ]
    }
  }
}

Chargebee’s MCP Server provides a standardized way to manage context between large language models and Chargebee APIs, helping you get quick answers, context-aware code, and access to Chargebee knowledge from any MCP client.

How to use

You use the MCP server by running it with your MCP client to enable context sharing between your AI assistant and Chargebee services. Once the server is running, you can query Chargebee documentation, retrieve code examples tailored to your integration, and access release notes and FAQs from the knowledge base. Connect to the server from your MCP client to leverage these capabilities in your coding sessions, editors, or AI assistants.

How to install

Prerequisites: Ensure you have a Node.js LTS version installed on your machine.

Install and run the MCP server using the recommended command:

npx -y @chargebee/mcp@latest

Configuration and setup for clients

Use the following configuration snippets to connect your MCP clients (Cursor, Windsurf, VS Code, Claude Desktop, Cline, Roo Code) to the Chargebee MCP server. Each snippet adds the Chargebee MCP server as a known MCP endpoint.

{
  "mcpServers": {
    "chargebee": {
      "command": "npx",
      "args": [
          "-y",
          "@chargebee/mcp"
      ]
    }
  }
}

Cursor integration

Add the following global MCP server configuration to Cursor to enable MCP access to Chargebee features from within the editor.

{
  "mcpServers": {
    "chargebee": {
      "command": "npx",
      "args": [
          "-y",
          "@chargebee/mcp"
      ]
    }
  }
}

Windsurf integration

In Windsurf, add Chargebee MCP as a custom server in the mcp_config.json to enable context-aware assistance within Cascade.

{
  "mcpServers": {
    "chargebee": {
      "command": "npx",
      "args": [
          "-y",
          "@chargebee/mcp"
      ]
    }
  }
}

VS Code and VS Code Insiders

Install the Chargebee MCP server in your editor and register it as an MCP source for Copilot agents.

# 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"]}'

Claude Desktop

Add the MCP server entry to Claude Desktop configuration to enable Chargebee context within Claude.

{
  "mcpServers": {
    "chargebee": {
      "command": "npx",
      "args": [
          "-y",
          "@chargebee/mcp"
      ]
    }
  }
}

Cline

Configure Cline to connect to the Chargebee MCP server by adding the following to your Cline MCP settings.

{
  "mcpServers": {
    "chargebee": {
      "command": "npx",
      "args": [
          "-y",
          "@chargebee/mcp"
      ]
    }
  }
}

Roo Code

Open MCP settings in Roo Code or use the command palette to attach Chargebee MCP as a server.

{
  "mcpServers": {
    "chargebee": {
      "command": "npx",
      "args": [
          "-y",
          "@chargebee/mcp"
      ]
    }
  }
}

Notes

This MCP server provides access to Chargebee documentation, a code planner for integration examples, and a knowledge base with FAQs and release notes. It is compatible with any MCP client.

Available tools

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.