- Dodo Payments API MCP server — live access to payments, subscriptions, customers, products, refunds, licenses, and usage. Authenticates via browser OAuth (no local keys required).
- Dodo Knowledge MCP server — semantic search across all Dodo Payments documentation. No credentials needed.
- Seventeen agent skills — cheat sheets your agent loads on demand for checkout, subscriptions, webhooks, usage-based and credit-based billing, license keys, product catalog, discounts, localized pricing, mobile checkout, refunds and disputes, customer management, framework adapters, BillingSDK, Better Auth, testing and go-live, and best practices.
Install the Plugin
Choose your coding agent below. Every install adds both MCP servers. All agents except Gemini CLI also add the seventeen skills. OpenCode needs one extra setting to load them, described in its section.Claude Code
Claude Code
Install from the marketplace:The API MCP server uses browser OAuth by default — no keys required at install time. The first time your agent calls a Dodo tool, you’ll be prompted to sign in.
Dodo Agent Plugin on GitHub
Source code, configuration options, and local development instructions
Codex CLI
Codex CLI
Register the marketplace, then install from the Codex TUI.Both MCP servers and all seventeen skills register automatically.If the plugin doesn’t appear under
1
Register the marketplace
2
Install from the Codex TUI
Open Codex and run Type
/plugins:/plugins, switch to the Dodo Payments marketplace, select the dodopayments plugin, and choose Install plugin./plugins, refresh it:To install from your shell instead of the TUI, run
codex plugin add dodopayments@dodopayments after you register the marketplace. Codex CLI has no codex plugin install subcommand. See the official Codex plugins docs.Cursor
Cursor
Clone the repo into Cursor’s local plugins directory:Restart Cursor. The plugin loads skills from
skills/ and MCP servers from .mcp.json.Recent Cursor builds recognize Agent Plugins 1.0.0 directly and accept .claude-plugin/marketplace.json as a marketplace source. The generated .cursor-plugin/plugin.json is kept for older builds.If you installed a version before 0.5.0, delete the directory and re-clone — skills now ship as real files, not symlinks.OpenCode
OpenCode
Install the plugin package in your project, then add it and its skills path to your Restart OpenCode. Both MCP servers register automatically. Skills need the extra You should see all seventeen. A skills path that doesn’t exist is ignored silently, so verify rather than assume.
opencode.json:skills.paths entry because OpenCode doesn’t scan installed packages for skills.Relative paths resolve against the project directory, so the package must exist in that project’s node_modules. An absolute path works too and avoids the local-install requirement.Verify skills loaded:VS Code / GitHub Copilot
VS Code / GitHub Copilot
Clone the repo and register it:Open the Chat view, go to Plugins, and add the cloned folder. Or register it in The key is a path, the value enables it. Absolute paths and
settings.json:~/ both work; relative paths resolve against each workspace folder. The setting is read live, so a running window picks it up without a restart.chat.pluginLocations is marked experimental and is a restricted setting, so the workspace must be trusted. Agent-plugin support is a preview feature governed by chat.plugins.enabled, which is on by default.Kiro
Kiro
Kiro reads the Agent Plugins manifest natively.Skills load from
1
Clone the repository
2
Open the Powers panel
In Kiro, open the Powers panel (the Ghosty icon with the lightning bolt).
3
Import the folder
Choose Add Custom Power → Import power from a folder, select the cloned directory (the one containing
plugin.json), and click Install.skills/, MCP servers from mcp.json. Kiro manages MCP servers internally — they’re not written to ~/.kiro/settings/mcp.json. Kiro can also install a Power directly from a GitHub URL; see Kiro’s install docs.Gemini CLI (MCP only)
Gemini CLI (MCP only)
Gemini CLI has no agent-skill primitive, so only the two MCP servers are available. Restart Gemini CLI.
dodo-knowledge covers a good share of what the skills provide and stays current automatically.gemini-extension.json at the repo root is the manifest.What You Get
Once installed, your agent has access to two MCP servers and seventeen skills.MCP Servers
Both servers speak Streamable HTTP. The canonical
mcp.json declares them natively, which spec-native clients like Codex CLI and Kiro use. The generated compatibility manifest .mcp.json wires them through mcp-remote for clients that can’t dial Streamable HTTP directly.
Agent Skills
Skills load automatically — your agent picks the right one when it detects a relevant task. See Agent Skills for the full list and individual installation.
Try This Prompt First
Once the plugin is active, try:webhook-integration skill, use the dodo-knowledge MCP to pull the latest payload shapes, and write a handler with signature verification following the Standard Webhooks spec.
Client Support
Agents with Plugin Install
One install wires both MCP servers, plus the skills on every client that has a skill primitive.
OpenCode needs one extra
skills.paths entry before its seventeen skills load. Gemini CLI has no agent-skill primitive, so skills are unavailable by design.
Other MCP-Compatible Clients
These have no Agent Plugin install. Configure the two MCP servers by hand, and add skills through the Skills CLI where supported.Docs Built for Agents
Every Dodo Payments documentation page is available in a format optimized for AI consumption:- Full docs index:
docs.dodopayments.com/llms.txt— complete documentation index for context ingestion - Plain markdown: Append
.mdto any documentation URL to get the raw markdown version (e.g.,/api-reference/introduction.md) - Source repository:
github.com/dodopayments/dodo-docs— clone for offline indexing
What Your Agent Can Do
With the plugin installed, your coding agent can:- Create checkout sessions and payment links — One-time payments and subscriptions
- Stand up subscription and usage-based billing end-to-end — Subscriptions, Usage-based billing, Credit-based billing
- Generate Standard Webhooks-compliant handlers with signature verification — Webhooks
- Mount route handlers in your framework using the official adapters — Framework adaptors
- Wire BillingSDK React components for pricing tables and subscription management — BillingSDK
- Author license-key flows for digital products — License keys
- Implement credit-based billing with entitlements, balances, rollover, and overage — Credits
- Build and manage your product catalog with add-ons and collections — Products, Add-ons, Product collections
- Add discounts and localized pricing — Discount codes, Localized pricing, Adaptive currency
- Ship mobile in-app checkout for React Native, Flutter, iOS, and Android — Mobile integration
- Handle refunds, disputes, and customer self-service — Refunds, Disputes, Customer portal
- Test the integration and go live safely — Test mode vs live mode
Security and Best Practices
- Use test mode first. Build and test your integration with a test mode API key before you go live. See Test Mode vs Live Mode.
- OAuth is the default. The Agent Plugin authenticates via browser OAuth (no local secrets). Only use API-key mode if you need it.
- Review agent-generated code. Always verify webhook handlers include signature verification following the Standard Webhooks spec.
Configure with an API Key
By default, the Agent Plugin uses the remote MCP server with browser OAuth. To use a local API key instead, for example in CI or on a headless server, switch to stdio mode.Local API key mode — Claude Code
Local API key mode — Claude Code
Open Run
/plugins in Claude Code, select Dodo Payments, and choose Configure options. Fill in:dodo_api_key— your test mode or live mode API keydodo_webhook_key— your webhook signing secretdodo_environment—test_modeorlive_mode
.mcp.json to point dodopayments-api at the local stdio server:/reload-plugins to apply changes.Local API key mode — OpenCode
Local API key mode — OpenCode
Declare Restart OpenCode to apply.
dodopayments-api yourself in opencode.json — your entry wins over the plugin’s default remote server:Next Steps
MCP Server
Full reference for both MCP servers — all supported clients, configuration, and available tools
Agent Skills
Individual skill installation, skill reference, and per-agent setup instructions
API Reference
Complete OpenAPI reference for all Dodo Payments endpoints