← All integrations

Chargebee MCP server

546 operations0 webhooks

Subscription billing with Chargebee: customers, subscriptions, items and prices, invoices, credit notes, payments, coupons, quotes, estimates, hosted pages, usage, entitlements and exports, on Product Catalog 2.0 and 1.0 sites (546 operations).

Try Chargebee with your agent

Connect Chargebee, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.

Using Corsair, show me what you can do in Chargebee on my account, then run one read-only example and show me the result.

Runs once, when you ask

Chargebee tools and triggers

Tools are what your agent can do in Chargebee through Corsair's MCP server. Triggers are the Chargebee events a routine can start from.

Subscriptions

  • Add Charge At Term EndDestructive

    Add charge at term end. Adds a one time charge to the subscription which will be added to the invoice generated at the end of the current term. If there are any applicable coupons in the subscription, an appropriate discount will be applied. To collect a charge immediately, use this API.

    subscriptions.addChargeAtTermEnd

  • Advance Invoice EstimateRead-only

    Advance invoice estimate. This API is used to generate an invoice estimate for preview. Estimate details include the number of billing cycles to be invoiced in advance, the number of billing cycles in one interval, advance invoicing schedules, and so on.

    subscriptions.advanceInvoiceEstimate

  • CancelDestructive

    Cancel a subscription. Cancelling a subscription will move the subscription from its current state to Cancelled, and will stop all recurring actions. You could schedule the cancellation by passing end_of_term parameter as true . Product Catalog 1.0 sites only.

    subscriptions.cancel

  • Cancel For ItemsDestructive

    Cancel a subscription. Cancels the specified subscription. ### Prerequisites \& Constraints * The subscription status must not be cancelled or transferred. * If the subscription has a contract term, specify contract_term_cancel_option instead of cancel_option.

    subscriptions.cancelForItems

  • Cancel Subscription EstimateRead-only

    Cancel subscription estimate. Generates an estimate for the 'cancel subscription' operation. This is similar to the Cancel a subscription API, but the subscription will not be cancelled. Only an estimate for this operation is created. In the response, * estimate.subscription_estimate has the subscription details. Product Catalog 1.0 sites only.

    subscriptions.cancelSubscriptionEstimate

  • Cancel Subscription For Items EstimateRead-only

    Cancel subscription for items estimate. Creates an estimate for canceling the specified subscription.

    subscriptions.cancelSubscriptionForItemsEstimate

  • Change Term EndDestructive

    Change term end. Use this endpoint to adjust when a subscription's current term or trial ends without altering the plan or billing frequency. It is helpful when you need to align renewals to a specific calendar date or extend a trial.

    subscriptions.changeTermEnd

  • Change Term End EstimateRead-only

    Subscription change term end estimate. Generates an estimate for the 'change term end' operation. This is similar to the Change term end API but the subscription's term end will not be changed, only an estimate for this operation is created. This is applicable only for subscriptions in 'in-trial', 'active' and 'non-renewing' states.

    subscriptions.changeTermEndEstimate

  • Charge Addon At Term EndDestructive

    Charge addon at term end. Adds a "non-recurring addon" charge to a subscription which will be added to the invoice generated at the end of the current term. If there are any applicable coupons in the subscription, an appropriate discount will be applied. Product Catalog 1.0 sites only.

    subscriptions.chargeAddonAtTermEnd

  • Charge Future RenewalsDestructive

    Charge future renewals. Creates a single advance invoice or an advance invoicing schedule for a subscription. Use this operation to bill future renewals in advance, enabling customers to prepay for upcoming billing cycles. ### Prerequisites \& Constraints * The Advance Invoicing feature must be enabled on the site.

    subscriptions.chargeFutureRenewals

  • CreateDestructive

    Create a subscription. Note: This operation optionally supports 3DS verification flow. To achieve the same, create the Payment Intent and pass it as input parameter to this API. Creates a new subscription along with the customer. Product Catalog 1.0 sites only.

    subscriptions.create

  • Create RampDestructive

    Create a subscription ramp. Creates a ramp for a subscription. Note * Subscription status : You cannot create ramps for subscriptions in the paused or cancelled status. * Advance invoice : You cannot create ramps for subscriptions that have an advance invoice schedule.

    subscriptions.createRamp

Connect Chargebee to Claude, ChatGPT or Cursor

  1. 1

    Connect Chargebee in Corsair

    Add your Chargebee API key once in Corsair. Corsair stores the credential encrypted and makes the Chargebee API calls for your agent, so it never goes into a prompt or a config file. Connect Chargebee

    If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Chargebee. On a ChatGPT personal plan, connect Chargebee here first.

  2. 2

    Add Corsair's MCP server to your agent

    Every client uses the same address:

    https://mcp.corsair.dev/mcp
    Open Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.

    Codex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client

  3. 3

    Sign in and choose what needs your approval

    Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Chargebee's read and write operations run right away and its 155 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.

FAQ

Install corsair and @corsair-dev/chargebee, add the Chargebee plugin, and connect with an API key. Then call methods like corsair.chargebee.api.addons.copy() from your app. Corsair keeps each tenant isolated.

Yes. Chargebee requires an API key from your Chargebee account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.

Yes. One Corsair client can hit Chargebee, GitHub, Notion, Stripe, and the rest. Trigger Chargebee from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for subscription billing with Chargebee: customers, subscriptions, items and prices, invoices, credit notes, payments, coupons, quotes, estimates, hosted pages, usage, entitlements and exports, on Product Catalog 2.0 and 1.0 sites (546 operations). Common builds include sync jobs, admin tooling, and agents that call Chargebee APIs from your backend.

The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Chargebee API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.

We maintain @corsair-dev/chargebee in the open repo. When Chargebee ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.

No. Corsair does not read your Chargebee data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Chargebee data on your behalf.

Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.

Yes. Put Chargebee on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 155 destructive Chargebee operations. You can change a link's mode at hub.corsair.dev/me.