Introducing the Chargebee CLI

Chargebee Knowledge Base MCP Server

Overview

The Chargebee Knowledge Base MCP Server lets AI clients answer questions using Chargebee docs and API references. For an overview of Chargebee MCP Servers, see Chargebee MCP Servers.

The server is most useful when you need to:

  • Understand the concepts and features of Chargebee products.
  • Answer how-to questions about Chargebee workflows.
  • Generate code snippets for integrating with Chargebee REST API and Chargebee.js.

Configure the Knowledge Base MCP Server

You can configure MCP servers as follows:

  1. Log in to Chargebee Billing.
  2. Navigate to Settings > Configure Chargebee > Agentic AI > MCP Servers.
  3. Select the Chargebee Knowledge Base MCP Server to open its configuration page.

Access and authentication

Under the Access & Authentication tab, turn on the MCP Access toggle to allow external AI clients to access this server via MCP.

Server URLs

Under MCP Server URL, you'll find the server URL for this MCP server for your Chargebee site. Depending on your site's data center, you will see a URL in one of the following formats:

US data center

https://YOUR-CHARGEBEE-SUBDOMAIN.mcp.chargebee.com/knowledge_base_agent

EU data center

https://YOUR-CHARGEBEE-SUBDOMAIN.mcp.eu.chargebee.com/knowledge_base_agent

AU data center

https://YOUR-CHARGEBEE-SUBDOMAIN.mcp.au.chargebee.com/knowledge_base_agent

The Chargebee Knowledge Base MCP Server does not require authentication because its tools access publicly available information only.

Installation

Under the Access & Authentication tab, under MCP Installation, you'll find specific installation instructions for each AI client.

Examples

Claude Code
claude mcp add --transport http "knowledge_base_agent" "https://YOUR-CHARGEBEE-SUBDOMAIN.mcp.chargebee.com/knowledge_base_agent"
Claude Desktop and Cursor
{
  "mcpServers": {
    "knowledge_base_agent": {
      "url": "https://YOUR-CHARGEBEE-SUBDOMAIN.mcp.chargebee.com/knowledge_base_agent"
    }
  }
}

For supported AI clients, you can use the Add MCP to... button to add the MCP server to your client directly.

Toolsets

Under the Toolsets tab, you'll find the toolset available for the Chargebee Knowledge Base MCP Server. This MCP server provides the Product Knowledge toolset with the following tools:

  • Generate Code Snippet: Offers detailed API documentation and implementation guidance for Chargebee's features. Generates code snippets in various programming languages.
  • Explain Chargebee Docs: Provides clear explanations of features, configurations, and best practices. Helps troubleshoot common issues and understand Chargebee's functionalities in depth.

See also