How to Use the Chargebee MCP in Claude Code
Manage Chargebee from your terminal. Automate billing, customers, and subscriptions in any shell script or CI/CD pipeline with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Chargebee MCP to Claude Code
Create your Vinkius account to connect Chargebee to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Scriptable Customer Management
This MCP Server turns Chargebee actions into command-line tools. You can pipe commands together in your shell to create powerful one-liners. For example, `claude mcp run chargebee-mcp.list_customers | jq '.[] | .email'` gives you a clean list of all customer emails. You can wrap these commands in shell scripts to automate routine tasks. A simple bash script can now use the `create_customer` tool to provision a new user in Chargebee as part of a larger onboarding process.
Headless Chargebee Operations in CI/CD
Integrate Chargebee directly into your deployment pipelines. A GitHub Action can use the `get_subscription_details` tool to check a user's plan status before deploying a new feature flag. This lets you tie application logic directly to billing state. It's also perfect for cleanup and maintenance jobs. A nightly cron job can run a script that calls `cancel_subscription` for accounts marked for deletion, keeping your Chargebee data in sync with your production database automatically.
Automated Billing Audits and Reporting
Run this server in headless environments to perform automated audits. You can set up a cron job that executes `claude mcp run chargebee-mcp.list_invoices` and pipes the output to a script that checks for anomalies or generates a daily revenue summary. The output is always structured JSON, so you can reliably parse it with tools like `jq`, `grep`, or `awk`. This makes it easy to build custom alerting that notifies your finance team of failed payments or large new contracts.
Set up Chargebee MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seechargebee-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Chargebee transactions." It will automatically discover and invoke the available Chargebee tools.
claude mcp add --transport http chargebee-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Chargebee MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Chargebee MCP today
We host it, we monitor it, we maintain it. You just paste one token.