Skip to main content
Glama

Chargebee Model Context Protocol (MCP) Server

MCP Chargebee npm version

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

MCP Demo

Prerequisites

  • Node.js LTS - The Chargebee MCP server requires the Node.js LTS version to function correctly.

Related MCP server: AgentMode

Setup

To run the Chargebee MCP server using Node.js npx, execute the following command:

npx -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:

  1. Navigate to Cursor Settings > MCP.

  2. Click + Add new Global MCP Server.

  3. Add the following configuration to your global .cursor/mcp.json file:

{
  "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:

  1. Open Windsurf and navigate to Settings > Advanced Settings or use the Command Palette > Open Windsurf Settings Page.

  2. Scroll to the Cascade section to add a new server, view existing servers, or access the raw JSON config file at mcp_config.json.

  3. 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

MIT

Available Tools

2 tools
chargebee_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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: chargebee_code_planner is for implementation/code generation questions, while chargebee_documentation_search is for general documentation queries. The descriptions explicitly differentiate them with clear boundaries and usage instructions, leaving no room for confusion.

    Naming Consistency5/5

    Both tools follow a consistent naming pattern: 'chargebee_' prefix followed by a descriptive compound noun (code_planner, documentation_search). The naming is uniform, predictable, and clearly indicates the tool's function without mixing conventions.

    Tool Count2/5

    With only 2 tools, the server feels severely under-scoped for a comprehensive Chargebee integration domain. While the tools cover documentation and code planning, there are no direct operational tools for CRUD actions on subscriptions, customers, or invoices, which are core to billing systems.

    Completeness2/5

    The toolset is incomplete for a Chargebee integration server. It lacks essential CRUD operations (e.g., create_subscription, update_customer, list_invoices) and lifecycle management tools, forcing agents to rely solely on generated code rather than direct API interactions. This creates significant gaps for automated workflows.

    Related MCP Connectors

    • Chargebee MCP server for ChatGPT, Claude and any AI agent: find customer, change subscription plan, cancel subscription, issue credit note and list overdue invoices in your own Chargebee account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Chargebee yourself; Cotlet does not store your password and you need no Chargebee API key. About the official Chargebee API: Yes. Chargebee has a public REST API (v2) for customers, subscriptions, invoices, credit notes and coupons, called with a site API key, and it ships its own MCP servers (checked 14 Oct 2026). Setup and FAQ: https://cotlet.dev/integrations/chargebee-api-mcp-server

    • The Fireflies MCP Server enables AI tools to connect directly to meeting data from Fireflies.ai, providing access to meeting transcripts, summaries, action items, and insights without switching platforms. It includes capabilities for querying cross-meeting data for analysis (such as sales insights or product feedback), and a separate Documentation MCP Server that allows searching the Fireflies knowledge base for API references, guides, and code examples.

      https://api.fireflies.ai/mcp
    • The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.

      https://mcp.cortex.io/mcp
    • The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.

    Related MCP Servers