Skip to main content
Install the Dodo Agent Plugin to give your coding agent two MCP servers and seventeen skills for building Dodo Payments integrations. After you install it, describe what you want to build, and your agent plans and writes the integration. The plugin works with Claude Code, Codex CLI, Cursor, VS Code / GitHub Copilot, Kiro, and OpenCode. Gemini CLI gets the two MCP servers only. The plugin follows the Agent Plugins 1.0.0 specification. Clients with native support load it directly; others use generated compatibility manifests. What you get:
  • 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

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
Register the marketplace, then install from the Codex TUI.
1

Register the marketplace

2

Install from the Codex TUI

Open Codex and run /plugins:
Type /plugins, switch to the Dodo Payments marketplace, select the dodopayments plugin, and choose Install plugin.
Both MCP servers and all seventeen skills register automatically.If the plugin doesn’t appear under /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.
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.
Install the plugin package in your project, then add it and its skills path to your opencode.json:
Restart OpenCode. Both MCP servers register automatically. Skills need the extra 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:
You should see all seventeen. A skills path that doesn’t exist is ignored silently, so verify rather than assume.
Clone the repo and register it:
Open the Chat view, go to Plugins, and add the cloned folder. Or register it in settings.json:
The key is a path, the value enables it. Absolute paths and ~/ 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 reads the Agent Plugins manifest natively.
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 load from 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 has no agent-skill primitive, so only the two MCP servers are available. dodo-knowledge covers a good share of what the skills provide and stays current automatically.
Restart Gemini CLI. 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 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:
Your agent will load the 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:

What Your Agent Can Do

With the plugin installed, your coding agent can:

Security and Best Practices

Never commit live API keys. Use test mode during development.
  • 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.
Open /plugins in Claude Code, select Dodo Payments, and choose Configure options. Fill in:
  • dodo_api_key — your test mode or live mode API key
  • dodo_webhook_key — your webhook signing secret
  • dodo_environment — test_mode or live_mode
Then edit .mcp.json to point dodopayments-api at the local stdio server:
Run /reload-plugins to apply changes.
Declare dodopayments-api yourself in opencode.json — your entry wins over the plugin’s default remote server:
Restart OpenCode to apply.

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
Last modified on September 25, 2026