plugin.json and mcp.json. Clients that predate the spec load the same content through generated compatibility manifests.
Three primitives, one plugin. The Agent Plugin bundles everything you need:
- API MCP server — live access to payments, subscriptions, customers, products, refunds, licenses, and usage. Authenticates via browser OAuth (no local keys required).
- 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 of them except Gemini CLI also add the seventeen skills.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
Codex installs plugins in two steps: register the marketplace from your shell, then install the plugin from inside the Codex TUI.Both MCP servers and all seventeen skills are registered automatically once the plugin is installed.If you previously added the marketplace and the plugin doesn’t appear under
1
Register the marketplace
2
Install from the Codex TUI
Open Codex and run the Then type
/plugins slash command:/plugins, switch to the Dodo Payments marketplace, select the dodopayments plugin, and choose Install plugin.Codex CLI does not have a
codex plugin install subcommand — plugin installation always happens through the in-TUI /plugins flow. See the official Codex plugins docs./plugins, refresh it:Cursor
Cursor
Manual install — clone the repo into Cursor’s local plugins directory:Restart Cursor. The plugin loads skills from
skills/ and MCP servers from .mcp.json, as declared in .cursor-plugin/plugin.json.Recent Cursor builds also recognize Agent Plugins 1.0.0 directly and accept either
.cursor-plugin/marketplace.json or .claude-plugin/marketplace.json as a marketplace source. This plugin ships .claude-plugin/marketplace.json — use that path. The generated .cursor-plugin/plugin.json is kept for older builds.OpenCode
OpenCode
OpenCode distributes via npm. Add the plugin to your Restart OpenCode. Both MCP servers (Relative
opencode.json:dodopayments-api, dodo-knowledge) are registered automatically via the plugin’s config hook. No manual mcp block required.Skills need one extra line. OpenCode does not scan installed packages for skills, so point it at the package’s skills/ directory yourself:skills.paths entries resolve against the project directory, so the package must exist in that project’s node_modules — OpenCode’s own plugin cache is a different location. An absolute path works too, and avoids the local-install requirement.VS Code / GitHub Copilot
VS Code / GitHub Copilot
Clone the repo anywhere, then register it:Open the Chat view, go to Plugins, and add the cloned folder. You can also register it directly in The key is a path, the value enables it. Absolute paths and
settings.json:~/ both work; a relative path resolves against each workspace folder. The setting is read live, so a running window picks it up without a restart. Skills load from skills/, and both MCP servers load from .mcp.json.chat.pluginLocations is marked experimental and is a restricted setting, so the workspace must be trusted for it to apply. Agent-plugin support overall is a preview feature governed by chat.plugins.enabled, which is on by default — you only need to set it if your organization disables it by policy.VS Code does not key off the Agent Plugins
$schema. Its loader probes .plugin/plugin.json, then .claude-plugin/plugin.json, then a root plugin.json, and defaults MCP to .mcp.json rather than mcp.json. Because this repo ships a generated .claude-plugin/plugin.json, VS Code loads it through that compatibility branch and gets the mcp-remote bridge rather than the native transports in mcp.json. Everything works — the path differs.Kiro
Kiro
Kiro reads the Agent Plugins manifest natively and loads this as a Power.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, and Kiro-specific presentation comes from the dev.kiro extension namespace in plugin.json.For plugins in the Agent Plugins format, Kiro manages MCP servers internally — they are not written to your user-level
~/.kiro/settings/mcp.json, so don’t expect to find them there. 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 — the seventeen skills are not. Restart Gemini CLI.
dodo-knowledge still covers a good share of what the skills provide, and it stays current automatically.gemini-extension.json at the repo root is the manifest.Using a different agent? The MCP Server and Agent Skills guides cover Claude Desktop, Windsurf, Cline, Zed, and any MCP-compatible client.
What you get
Once the plugin is 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 (type: "streamable-http"), which is what spec-native clients such as Codex CLI and Kiro use. The generated compatibility manifest .mcp.json wires the same two endpoints through mcp-remote instead, so they also run in clients that cannot dial Streamable HTTP directly — Claude Code, VS Code, and Cursor via the git-clone install documented above, whose .cursor-plugin/plugin.json points at .mcp.json.
Agent skills
Skills load automatically — your agent picks the right one when it detects a relevant task. See the Agent Skills documentation 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
Clients with an Agent Plugin install
One install wires both MCP servers, plus the skills on every client that has a skill primitive.- OpenCode needs one extra
skills.pathsentry before its seventeen skills load — see the install section above. - Gemini CLI has no agent-skill primitive, so skills are unavailable there 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— serves the 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. Sandbox your integration with
dodo_test_...keys before going 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 — see the Configure section below.
- 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 — no local credentials needed. If your workflow requires a local API key (e.g., CI environments, headless servers), you can 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— yourdodo_test_...ordodo_live_...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 to your current session.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
Sentra IDE Assistant
AI-powered billing assistant for VS Code, Cursor, and Windsurf — ask, build, and plan in your editor
API Reference
Complete OpenAPI reference for all Dodo Payments endpoints