Skip to main content
Dodo Agent Plugin आपके AI coding agent में एक ही install के साथ दो MCP servers और सत्रह integration skills जोड़ता है। यह Claude Code, Codex CLI, Cursor, VS Code / GitHub Copilot, Kiro, और OpenCode के साथ काम करता है। Gemini CLI को केवल दो MCP servers मिलते हैं। MCP servers और skills CLI किसी भी MCP-compatible client के साथ काम करते हैं। यह plugin Agent Plugins 1.0.0 specification का पालन करता है, इसलिए native support वाले clients इसे root plugin.json और mcp.json से सीधे load करते हैं। जो clients specification से पहले के हैं, वे generated compatibility manifests के माध्यम से वही content load करते हैं।
तीन primitives, एक plugin। Agent Plugin में आपकी ज़रूरत की सभी चीज़ें शामिल हैं:
  • API MCP server — payments, subscriptions, customers, products, refunds, licenses और usage तक live access। Browser OAuth के माध्यम से authentication होता है (local keys की आवश्यकता नहीं)।
  • Knowledge MCP server — सभी Dodo Payments documentation में semantic search। Credentials की आवश्यकता नहीं।
  • सत्रह agent skills — cheat sheets जिन्हें आपका agent checkout, subscriptions, webhooks, usage-based और credit-based billing, license keys, product catalog, discounts, localized pricing, mobile checkout, refunds और disputes, customer management, framework adapters, BillingSDK, Better Auth, testing और go-live, तथा best practices के लिए आवश्यकता पड़ने पर load करता है।

Plugin install करें

नीचे अपना coding agent चुनें। हर install में दोनों MCP servers जुड़ते हैं; Gemini CLI को छोड़कर सभी में सत्रह skills भी जुड़ती हैं।

Claude Code

Marketplace से install करें:
API MCP server default रूप से browser OAuth का उपयोग करता है — install के समय keys की आवश्यकता नहीं होती। जब आपका agent पहली बार किसी Dodo tool को call करेगा, तो आपको sign in करने के लिए कहा जाएगा।

Dodo Agent Plugin on GitHub

Source code, configuration options और local development instructions
Codex plugins को दो steps में install करता है: पहले अपने shell से marketplace register करें, फिर Codex TUI के अंदर से plugin install करें।
1

Register the marketplace

2

Install from the Codex TUI

Codex खोलें और /plugins slash command चलाएँ:
फिर /plugins टाइप करें, Dodo Payments marketplace पर switch करें, dodopayments plugin चुनें और Install plugin चुनें।
Plugin install होने के बाद दोनों MCP servers और सभी सत्रह skills अपने-आप register हो जाते हैं।
Codex CLI में codex plugin install subcommand नहीं है — plugin installation हमेशा in-TUI /plugins flow के माध्यम से होती है। Official Codex plugins docs देखें।
यदि आपने पहले marketplace जोड़ दिया था और plugin /plugins के अंतर्गत दिखाई नहीं देता, तो उसे refresh करें:
Manual install — repo को Cursor की local plugins directory में clone करें:
Cursor को restart करें। Plugin skills को skills/ से और MCP servers को .mcp.json से load करता है, जैसा कि .cursor-plugin/plugin.json में घोषित है।
हाल के Cursor builds Agent Plugins 1.0.0 को सीधे पहचानते हैं और .cursor-plugin/marketplace.json या .claude-plugin/marketplace.json में से किसी एक को marketplace source के रूप में स्वीकार करते हैं। यह plugin .claude-plugin/marketplace.json प्रदान करता है — उसी path का उपयोग करें। Generated .cursor-plugin/plugin.json पुराने builds के लिए रखा गया है।
0.5.0 से पहले के versions में skills/ को git submodule में symlinks के रूप में ship किया जाता था, इसलिए इस clone से बना plugin काम करने वाली skills के बिना होता था। अब skills वास्तविक files के रूप में ship होती हैं। यदि आपने पहले का version install किया है, तो directory delete करके फिर से clone करें।
OpenCode npm के माध्यम से distribute होता है। Plugin को अपने opencode.json में जोड़ें:
OpenCode को restart करें। दोनों MCP servers (dodopayments-api, dodo-knowledge) plugin के config hook के माध्यम से अपने-आप register हो जाते हैं। किसी manual mcp block की आवश्यकता नहीं है।Skills के लिए एक अतिरिक्त line चाहिए। OpenCode installed packages में skills scan नहीं करता, इसलिए package की skills/ directory की ओर स्वयं point करें:
Relative skills.paths entries project directory के आधार पर resolve होती हैं, इसलिए package उस project की node_modules में मौजूद होना चाहिए — OpenCode का अपना plugin cache अलग location है। Absolute path भी काम करता है और local-install requirement से बचाता है।
जो skills path मौजूद नहीं है उसे चुपचाप ignore कर दिया जाता है। अनुमान लगाने के बजाय verify करें:
आपको सभी सत्रह दिखाई देने चाहिए। 0.5.0 से पहले के versions में इन skills को auto-discovered बताया गया था — वे auto-discovered नहीं थीं, इसलिए OpenCode users के पास MCP servers तो थे, लेकिन skills नहीं थीं।
Repo को कहीं भी clone करें, फिर उसे register करें:
Chat view खोलें, Plugins पर जाएँ और cloned folder जोड़ें। आप इसे सीधे settings.json में भी register कर सकते हैं:
Key एक path है और value उसे enable करती है। Absolute paths और ~/ दोनों काम करते हैं; relative path प्रत्येक workspace folder के आधार पर resolve होता है। Setting को live पढ़ा जाता है, इसलिए running window इसे restart के बिना अपना लेती है। Skills skills/ से load होती हैं और दोनों MCP servers .mcp.json से load होते हैं।
chat.pluginLocations को experimental और restricted setting के रूप में चिह्नित किया गया है, इसलिए इसे लागू करने के लिए workspace trusted होना चाहिए। Agent-plugin support कुल मिलाकर एक preview feature है, जिसे chat.plugins.enabled नियंत्रित करता है; यह default रूप से on है — इसे केवल तभी set करना होगा जब आपका organization policy के अनुसार इसे disable करता हो।
VS Code Agent Plugins $schema के आधार पर key नहीं करता। इसका loader पहले .plugin/plugin.json, फिर .claude-plugin/plugin.json, और फिर root plugin.json को probe करता है; MCP के लिए यह mcp.json के बजाय .mcp.json को default करता है। क्योंकि यह repo generated .claude-plugin/plugin.json ship करता है, VS Code इसे उसी compatibility branch के माध्यम से load करता है और mcp.json में मौजूद native transports के बजाय mcp-remote bridge प्राप्त करता है। सब कुछ काम करता है — केवल path अलग है।
Kiro Agent Plugins manifest को native रूप से पढ़ता है और इसे Power के रूप में load करता है।
1

Clone the repository

2

Open the Powers panel

Kiro में Powers panel खोलें — lightning bolt वाला Ghosty icon।
3

Import the folder

Add Custom Power → Import power from a folder चुनें, cloned directory (जिसमें plugin.json मौजूद है) चुनें और Install पर click करें।
Skills skills/ से load होती हैं, MCP servers mcp.json से, और Kiro-specific presentation plugin.json में मौजूद dev.kiro extension namespace से आती है।
Agent Plugins format वाले plugins के लिए Kiro MCP servers को internally manage करता है — वे आपके user-level ~/.kiro/settings/mcp.json में नहीं लिखे जाते, इसलिए उन्हें वहाँ खोजने की अपेक्षा न करें। Kiro GitHub URL से सीधे Power भी install कर सकता है; Kiro’s install docs देखें।
Gemini CLI में agent-skill primitive नहीं है, इसलिए केवल दो MCP servers उपलब्ध हैं — सत्रह skills उपलब्ध नहीं हैं। dodo-knowledge अभी भी skills की दी जाने वाली सुविधाओं के बड़े हिस्से को कवर करता है और अपने-आप current रहता है।
Gemini CLI को restart करें। Repo root पर मौजूद gemini-extension.json manifest है।
किसी अन्य agent का उपयोग कर रहे हैं? MCP Server और Agent Skills guides में Claude Desktop, Windsurf, Cline, Zed और किसी भी MCP-compatible client को शामिल किया गया है।

आपको क्या मिलता है

Plugin install होने के बाद आपके agent को दो MCP servers और सत्रह skills का access मिलता है।

MCP servers

दोनों servers Streamable HTTP का उपयोग करते हैं। Canonical mcp.json उन्हें native रूप से declare करता है (type: "streamable-http"), जिसका उपयोग Codex CLI और Kiro जैसे spec-native clients करते हैं। Generated compatibility manifest .mcp.json इसके बजाय उन्हीं दो endpoints को mcp-remote के माध्यम से जोड़ता है, इसलिए वे उन clients में भी चलते हैं जो सीधे Streamable HTTP से connect नहीं कर सकते — Claude Code, VS Code और Cursor, जिनके लिए ऊपर git-clone install documented है और जिनका .cursor-plugin/plugin.json .mcp.json की ओर point करता है।

Agent skills

Skills अपने-आप load होती हैं — relevant task detect होने पर आपका agent सही skill चुनता है। पूरी list और individual installation के लिए Agent Skills documentation देखें।

पहले यह prompt आज़माएँ

Plugin active होने के बाद यह चलाएँ:
आपका agent webhook-integration skill load करेगा, नवीनतम payload shapes प्राप्त करने के लिए dodo-knowledge MCP का उपयोग करेगा और Standard Webhooks spec का पालन करते हुए signature verification वाला handler लिखेगा।

Client support

Agent Plugin install वाले clients

एक install दोनों MCP servers को जोड़ता है और skill primitive वाले प्रत्येक client पर skills भी जोड़ता है।
  • OpenCode की सत्रह skills load होने से पहले एक अतिरिक्त skills.paths entry चाहिए — ऊपर install section देखें।
  • Gemini CLI में agent-skill primitive नहीं है, इसलिए design के अनुसार skills वहाँ उपलब्ध नहीं हैं।

अन्य MCP-compatible clients

इनमें Agent Plugin install उपलब्ध नहीं है। दोनों MCP servers को manually configure करें और जहाँ supported हो, Skills CLI के माध्यम से skills जोड़ें।

Agents के लिए बनाए गए Docs

हर Dodo Payments documentation page AI consumption के लिए optimized format में उपलब्ध है:
  • Full docs index: docs.dodopayments.com/llms.txt — context ingestion के लिए complete documentation index प्रदान करता है।
  • Plain markdown: किसी भी documentation URL में .md जोड़कर raw markdown version प्राप्त करें (उदाहरण के लिए, /api-reference/introduction.md)।
  • Source repository: github.com/dodopayments/dodo-docs — offline indexing के लिए clone करें।

आपका agent क्या कर सकता है

Plugin install होने पर आपका coding agent यह कर सकता है:
  • Checkout sessions और payment links बनाएँOne-time payments और subscriptions
  • Subscription और usage-based billing को end-to-end शुरू करेंSubscriptions, Usage-based billing, Credit-based billing
  • Signature verification वाले Standard Webhooks–compliant handlers generate करेंWebhooks
  • Official adapters का उपयोग करके अपने framework में route handlers mount करेंFramework adaptors
  • Pricing tables और subscription management के लिए BillingSDK React components जोड़ेंBillingSDK
  • Digital products के लिए license-key flows बनाएँLicense keys
  • Entitlements, balances, rollover और overage के साथ credit-based billing लागू करेंCredits
  • Add-ons और collections के साथ अपना product catalog बनाएँ और manage करेंProducts, Add-ons, Product collections
  • Discounts और localized pricing जोड़ेंDiscount codes, Localized pricing, Adaptive currency
  • React Native, Flutter, iOS और Android के लिए mobile in-app checkout launch करेंMobile integration
  • Refunds, disputes और customer self-service संभालेंRefunds, Disputes, Customer portal
  • Integration का test करें और सुरक्षित रूप से go live करेंTest mode vs live mode

Security और best practices

Production API keys को कभी commit न करें। Development के दौरान test mode का उपयोग करें। Agent Plugin default रूप से browser OAuth का उपयोग करता है — local API keys पर तभी switch करें जब आपका workflow इसकी मांग करे।
  • पहले test mode का उपयोग करें। Go live करने से पहले dodo_test_... keys के साथ अपने integration को sandbox करें। Test Mode vs Live Mode देखें।
  • OAuth default है। Agent Plugin browser OAuth के माध्यम से authenticate करता है (local secrets नहीं)। API-key mode का उपयोग केवल आवश्यकता होने पर करें — नीचे Configure section देखें।
  • Agent-generated code की review करें। हमेशा verify करें कि webhook handlers में Standard Webhooks spec के अनुसार signature verification शामिल है।

API key के साथ configure करें

Default रूप से Agent Plugin browser OAuth के साथ remote MCP server का उपयोग करता है — local credentials की आवश्यकता नहीं होती। यदि आपके workflow में local API key आवश्यक है (जैसे CI environments या headless servers), तो आप stdio mode पर switch कर सकते हैं।
Claude Code में /plugins खोलें, Dodo Payments चुनें और Configure options चुनें। इनमें values भरें:
  • dodo_api_key — आपकी dodo_test_... या dodo_live_... key
  • dodo_webhook_key — आपका webhook signing secret
  • dodo_environmenttest_mode या live_mode
फिर .mcp.json को edit करके dodopayments-api को local stdio server की ओर point करें:
अपने current session में changes लागू करने के लिए /reload-plugins चलाएँ।
dodopayments-api को अपने opencode.json में स्वयं declare करें — आपकी entry plugin के default remote server पर प्राथमिकता पाएगी:
लागू करने के लिए OpenCode को restart करें।

अगले steps

MCP Server

दोनों MCP servers के लिए पूर्ण reference — सभी supported clients, configuration और उपलब्ध tools

Agent Skills

Individual skill installation, skill reference और प्रत्येक agent के लिए setup instructions

Sentra IDE Assistant

VS Code, Cursor और Windsurf के लिए AI-powered billing assistant — अपने editor में पूछें, बनाएँ और योजना बनाएँ

API Reference

सभी Dodo Payments endpoints के लिए Complete OpenAPI reference
अंतिम संशोधन 17 अगस्त 2026