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.

ParametersJSON Schema
NameRequiredDescriptionDefault
goalYesWhat is the user's goal?
languageNoProgramming language the code to be generated in. Check the user's application language.

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. While it states the tool 'generates an integration workflow along with the code snippets,' it doesn't describe important behavioral aspects: whether this is a read-only operation, what format the output takes, whether there are rate limits, authentication requirements, or any potential side effects. For a code generation tool with zero annotation coverage, this leaves significant gaps in understanding how the tool behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is reasonably structured with clear paragraphs, but contains some redundancy and could be more concise. The first two sentences convey similar information about when to use the tool. The parameter listing repeats information already in the schema. While it's not excessively verbose, some sentences don't earn their place by adding unique value beyond what's already stated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that this is a code generation tool with no annotations and no output schema, the description provides adequate basic context about when to use it and what it does, but lacks important behavioral details. It doesn't describe the output format, error conditions, or operational constraints. For a tool that generates code workflows, users need to understand what kind of output to expect, which isn't addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already fully documents both parameters. The description repeats the parameter names and provides essentially the same information as the schema descriptions ('What is the user's goal?' and 'Programming language the code to be generated in'). It adds no additional semantic context beyond what's already in the structured schema fields, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'generates an integration workflow along with the code snippets' for Chargebee integration questions. It specifies the resource (Chargebee integration) and verb (generates code/workflow). However, it doesn't explicitly differentiate from its sibling 'chargebee_documentation_search' - while it mentions this is for 'implementation needs' versus presumably documentation search, the distinction isn't made explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidance: 'Use this tool for any Chargebee integration questions or implementation needs' and 'Always use this tool to get the accurate integration code guide for Chargebee.' It gives specific examples of when to use it ('how to update billing address', 'how to create subscription', etc.) and positions it as 'the main tool developers need' for implementation questions, clearly establishing its primary role.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A3.6/5.0
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.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

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

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

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

  • The CustomGPT.ai MCP server is a fully managed, RAG-powered endpoint that connects large language models with private knowledge bases and external data sources. It provides tools for retrieval-augmented generation queries (send_message), data ingestion (upload_file), and source listing, enabling AI agents to query private documents like PDFs with high accuracy and real-time citations.

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ampcome-mcps/chargebee-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server