New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

AI in Chargebee


  • Chargebee Copilot
  • Chargebee MCP Server (Model Context Protocol)

Developer Resources


  • Developer Resources Overview
  • Articles and FAQ

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Entitlements


  • Entitlements Overview
  • Features Overview
  • Feature Management
  • Managing Product Entitlements
  • Subscription Entitlements
  • Customer Entitlements
  • Grandfathering Entitlements
  • Articles and FAQ

Usage Based Billing


  • Understanding Usages
  • Setting up Usage Based Billing
  • Usage Alerts
  • Metered Billing
  • Articles and FAQ

Chargebee CPQ


  • Chargebee CPQ
  • Chargebee CPQ for Salesforce
  • Chargebee CPQ for HubSpot

Invoices, Credit Notes, and Quotes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Pricing Table
  • Managing Payments with Chargebee.js
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Approvals
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Multi Business Entity


  • Multi Business Entity Overview
  • Customer Transfer Overview
  • Articles and FAQ

Mobile Subscriptions


  • Overview
  • Omnichannel Subscriptions
  • Omnichannel One-Time Orders
  • Mobile Subscriptions (Legacy)

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • eInvoicing
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Ecommerce Management
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. AI in Chargebee
  3. Chargebee MCP Server (Model Context Protocol)
  1. Billing
  2. AI in Chargebee
  3. Chargebee MCP Server (Model Context Protocol)

Chargebee MCP Servers

The Model Context Protocol (MCP) enables AI clients to connect to external systems through standardized tools and structured context.

In Chargebee, MCP Servers let you securely expose selected capabilities to external AI clients such as Cursor, Claude, ChatGPT, Codex, and other MCP-compatible tools.

Configure MCP servers from Settings > Agentic AI > MCP Servers.

Overview

Each MCP server has:

  • Its own MCP URL
  • Its own access toggle
  • Its own authentication configuration
  • Its own toolsets and tools

Chargebee provides MCP servers for common use cases, such as:

Chargebee Knowledge MCP Server

Lets AI clients answer questions using Chargebee docs and API references.

Most useful when you need to:

  • Explain product features
  • Answer how-to questions
  • Generate integration code snippets using Chargebee APIs

Data Access MCP Server

Lets AI clients retrieve customer, subscription, invoice, transaction, and other billing data from your Chargebee site.

Most useful when you need to:

  • Retrieve customer details
  • Inspect subscriptions, invoices, and transactions
  • Look up payment intents, credit notes, and events
  • Support troubleshooting and operational workflows

Onboarding MCP Server

Lets AI clients assist with product catalog setup and onboarding tasks. This MCP server is available only in sandbox sites.

Most useful when you need to:

  • Create product catalog
  • Manage pricing setup
  • Generate demo data

Server URLs

Each MCP server is exposed at a dedicated endpoint on your Chargebee site.

Example pattern: Knowledge MCP Server

US Datacenter - https://<your-site-id>.mcp.chargebee.com/<server-name>

EU Datacenter - https://<your-site-id>.mcp.eu.chargebee.com/<server-name>

AU Datacenter - https://<your-site-id>.mcp.au.chargebee.com/<server-name>

Manage server access

You can manage MCP servers from Settings > Agentic AI > MCP Servers to configure its access and authentication.

Each server has an MCP Access toggle. When enabled, external AI clients can connect to that server using its MCP URL.

Authentication methods

Depending on the server, Chargebee supports one or both of the following authentication methods.

Note

Some servers like the Chargebee Knowledge MCP Server do not require authentication because their tools only access publicly available information (such as help documentation).

API Key

The API Key method grants full access to all enabled tools in the server and is best suited for:

  • Server-to-server integrations
  • Internal automations
  • Trusted development environments

Clients authenticate by sending the API key in request headers:

Authorization: Bearer <your-api-key>

Admins can generate API key from the server's Authentication section.

OAuth

The OAuth method provides user-based access. Tool access is limited by the signed-in user's role in Chargebee.

This is best suited for:

  • User-facing AI clients
  • Shared developer tools
  • Integrations where access should reflect the end user's permissions

For OAuth-enabled servers, admins can generate client credentials and choose which AI clients those credentials are intended for, such as Claude, Codex, Claude Code, ChatGPT, or other compatible clients.

How tool access works

Tool access depends on both server configuration and authentication method:

  • API Key: All enabled tools in the MCP server are accessible
  • OAuth: Users can access only the tools their role allows

If both authentication methods are enabled, the effective access depends on the method used by the client.

Toolsets and tools

Each MCP server provides one or more toolsets, where each toolset is a collection of related tools designed for use by external AI clients.

Admins can enable or disable toolsets, and review the tools available in each toolset.

Example: Knowledge MCP Server toolset

The Product Knowledge toolset includes tools such as:

  • Explain Chargebee Docs
  • Generate Code Samples

Example: Data Access MCP Server toolsets

The Data Access MCP Server exposes multiple toolsets, not limited to the ones listed below:

Customer Lookup

  • Find customer by ID
  • Find customer by email
  • Find customer by company

Product Lookup

  • List plans
  • List addons
  • Get item details by ID

Subscription Lookup

  • Get subscription data by ID
  • Get subscription data by customer ID

Payment Intent Lookup

  • Get payment intent

Invoice Lookup

  • Get invoice data by ID
  • Get invoice data by customer ID
  • Get invoice data by subscription ID
  • Get invoice PDF link

Credit Note Lookup

  • Get credit note data by ID
  • Get credit note PDF link

Transaction Lookup

  • List transactions by customer
  • List transactions by invoice
  • Get transaction

Event Lookup

  • List events by event type
  • Get events by customer ID

Connect an MCP server to an AI client

Each MCP server page includes an MCP Installation section that helps connect the server to supported AI clients.

Cursor

For public servers such as the Knowledge MCP Server:

{
  "mcpServers": {
    "chargebee-knowledge": {
      "url": "https://<your-site>.mcp.chargebee.com/knowledge_base_agent"
    }
  }
}

For authenticated servers such as the Data Access MCP Server using API key authentication:

{
  "mcpServers": {
    "chargebee-data-access": {
      "url": "https://<your-site>.mcp.chargebee.com/data_lookup_agent",
      "headers": {
        "Authorization": "Bearer <your-api-key>"
      }
    }
  }
}

Using OAuth authentication,

{
  "mcpServers": {
    "chargebee-data-access": {
      "url": "https://<your-site>.mcp.chargebee.com/data_lookup_agent",
      "auth": {
        "client_id": "<your-client-id>"
      }
    }
  }
}

Claude Code

Public server example:

claude mcp add --transport http chargebee-knowledge https://<your-site>.mcp.chargebee.com/knowledge_base_agent

API key example:

claude mcp add --transport http chargebee-data-access https://<your-site>.mcp.chargebee.com/data_lookup_agent --header "Authorization: Bearer <your-api-key>"

Security and governance

When enabling MCP servers:

  • Enable only the servers and toolsets your organization needs
  • Prefer OAuth when access should reflect individual user roles
  • Use API keys only for trusted internal systems and automations
  • Rotate keys when needed
  • Review whether exposed tools can return customer or billing data

Choosing between Copilot and MCP Servers

Use Chargebee Copilot when you want AI assistance directly inside Chargebee application for internal users.

Use MCP Servers when you want external AI clients to securely access Chargebee knowledge or workflows.

Was this article helpful?