Subscription billing and revenue management.
## Chargebee MCP Server: Subscription Billing The **Chargebee MCP Server** integrates Chargebee's subscription management platform into Google Antigravity, enabling developers to manage recurring billing through AI-assisted subscription workflows. ### Why Chargebee MCP? - **Flexible Billing**: Any pricing model supported - **Dunning Management**: Recover failed payments automatically - **Revenue Recognition**: ASC 606 compliant reporting - **Multi-Currency**: Bill in 100+ currencies - **Trial Management**: Sophisticated trial workflows ### Key Features #### 1. Subscription Management ```javascript // Create subscription const subscription = await chargebee.createSubscription({ customerId: "customer_123", planId: "professional-monthly", billingCycles: 12, addons: [{ id: "extra-users", quantity: 5 }] }); // Update subscription await chargebee.updateSubscription({ subscriptionId: subscription.id, planId: "enterprise-monthly", prorate: true }); // Cancel subscription await chargebee.cancelSubscription({ subscriptionId: subscription.id, endOfTerm: true }); // Pause subscription await chargebee.pauseSubscription({ subscriptionId: subscription.id, pauseDate: "2025-01-01", resumeDate: "2025-02-01" }); ``` #### 2. Invoicing and Payments ```javascript // Get invoices const invoices = await chargebee.getInvoices({ status: "payment_due", customerId: "customer_123" }); // Collect payment await chargebee.collectPayment({ invoiceId: invoices[0].id }); // Apply credit await chargebee.applyCredit({ customerId: "customer_123", amount: 5000, description: "Loyalty credit" }); // Get revenue metrics const metrics = await chargebee.getMetrics({ metric: "mrr", period: "monthly" }); ``` ### Configuration ```json { "mcpServers": { "chargebee": { "command": "npx", "args": ["-y", "@anthropic/mcp-chargebee"], "env": { "CHARGEBEE_SITE": "your-site", "CHARGEBEE_API_KEY": "your-api-key" } } } } ``` ### Use Cases **SaaS Billing**: Implement complex subscription pricing models. **Trial Conversion**: Optimize trial-to-paid workflows. **Revenue Recovery**: Automate failed payment recovery. The Chargebee MCP Server brings subscription billing to your workflow.
{
"mcpServers": {
"chargebee": {}
}
}