Chargebee MCP Server
MCP server for Chargebee subscription billing and revenue management platform.
Features
- Customer Management: List, create, and update customers
- Subscription Lifecycle: List, get, cancel, and reactivate subscriptions
- Invoicing: Manage invoices, create charges, collect payments
- Plans & Add-ons: Browse pricing plans and optional add-ons
- Payment Methods: Manage payment sources (cards, bank accounts)
- Transactions: View payment history and transaction details
- Coupons & Credits: Manage discounts and credit notes
- Events: Audit webhook events and activity logs
Environment Variables
| Variable | Required | Description | Example |
|---|---|---|---|
CHARGEBEE_API_KEY |
✅ | Chargebee API key | live_abc123... |
CHARGEBEE_SITE |
✅ | Chargebee site name | yoursite |
Getting Your API Key
- Log in to Chargebee
- Go to Settings > Configure Chargebee > API Keys & Webhooks
- Click Add API Key or copy existing key
- Set environment variables:
export CHARGEBEE_API_KEY="your-api-key" export CHARGEBEE_SITE="your-site-name"
Required API Scopes
Chargebee API keys have full access to your account. Use appropriate API key types:
- Full Access Key: All operations
- Read-Only Key: List/get operations only
Installation
npm install
npm run build
Usage
Stdio Mode
node dist/main.js
With Claude Desktop
{
"mcpServers": {
"chargebee": {
"command": "node",
"args": ["/path/to/chargebee/dist/main.js"],
"env": {
"CHARGEBEE_API_KEY": "your-key",
"CHARGEBEE_SITE": "your-site"
}
}
}
}
Tools Overview (20+ tools)
Subscriptions (4)
chargebee_list_subscriptions- List with paginationchargebee_get_subscription- Get by IDchargebee_cancel_subscription- Cancel subscriptionchargebee_reactivate_subscription- Reactivate cancelled
Customers (4)
chargebee_list_customers- List customerschargebee_get_customer- Get customerchargebee_create_customer- Create newchargebee_update_customer- Update existing
Invoices (4)
chargebee_list_invoices- List invoiceschargebee_get_invoice- Get invoicechargebee_create_invoice_charge- Add chargechargebee_collect_invoice_payment- Collect payment
Add-ons (2)
chargebee_list_addons- List add-onschargebee_get_addon- Get add-on details
Payment Sources (2)
chargebee_list_payment_sources- List payment methodschargebee_create_payment_source- Add payment method
Transactions (2)
chargebee_list_transactions- List transactionschargebee_get_transaction- Get transaction
Plans (2)
chargebee_list_plans- List pricing planschargebee_get_plan- Get plan details
Coupons (2)
chargebee_list_coupons- List discount couponschargebee_get_coupon- Get coupon details
Credit Notes (2)
chargebee_list_credit_notes- List credit noteschargebee_get_credit_notes- Get credit note
Events (1)
chargebee_list_events- List webhook events
Coverage Manifest
Total Chargebee API endpoints: ~150
Tools implemented: 23
Intentionally skipped: 127 (admin endpoints, hosted pages, advanced taxation, dunning management)
Coverage: 23/150 = 15%
Skipped Endpoints
- Hosted checkout pages (UI-based)
- Advanced taxation rules
- Dunning management
- Quote management
- Multi-currency pricing
- Advanced metering
License
MIT