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
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 CLI
Codex CLI
Codex plugins को दो steps में install करता है: पहले अपने shell से marketplace register करें, फिर Codex TUI के अंदर से plugin install करें।Plugin install होने के बाद दोनों MCP servers और सभी सत्रह skills अपने-आप register हो जाते हैं।यदि आपने पहले marketplace जोड़ दिया था और plugin
1
Register the marketplace
2
Install from the Codex TUI
Codex खोलें और फिर
/plugins slash command चलाएँ:/plugins टाइप करें, Dodo Payments marketplace पर switch करें, dodopayments plugin चुनें और Install plugin चुनें।Codex CLI में
codex plugin install subcommand नहीं है — plugin installation हमेशा in-TUI /plugins flow के माध्यम से होती है। Official Codex plugins docs देखें।/plugins के अंतर्गत दिखाई नहीं देता, तो उसे refresh करें:Cursor
Cursor
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 के लिए रखा गया है।OpenCode
OpenCode
OpenCode npm के माध्यम से distribute होता है। Plugin को अपने OpenCode को restart करें। दोनों MCP servers (Relative
opencode.json में जोड़ें:dodopayments-api, dodo-knowledge) plugin के config hook के माध्यम से अपने-आप register हो जाते हैं। किसी manual mcp block की आवश्यकता नहीं है।Skills के लिए एक अतिरिक्त line चाहिए। OpenCode installed packages में skills scan नहीं करता, इसलिए package की skills/ directory की ओर स्वयं point करें:skills.paths entries project directory के आधार पर resolve होती हैं, इसलिए package उस project की node_modules में मौजूद होना चाहिए — OpenCode का अपना plugin cache अलग location है। Absolute path भी काम करता है और local-install requirement से बचाता है।VS Code / GitHub Copilot
VS Code / GitHub Copilot
Repo को कहीं भी clone करें, फिर उसे register करें:Chat view खोलें, Plugins पर जाएँ और cloned folder जोड़ें। आप इसे सीधे Key एक path है और value उसे enable करती है। Absolute paths और
settings.json में भी register कर सकते हैं:~/ दोनों काम करते हैं; 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
Kiro
Kiro Agent Plugins manifest को native रूप से पढ़ता है और इसे Power के रूप में load करता है।Skills
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/ से 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 (MCP only)
Gemini CLI (MCP only)
Gemini CLI में agent-skill primitive नहीं है, इसलिए केवल दो MCP servers उपलब्ध हैं — सत्रह skills उपलब्ध नहीं हैं। Gemini CLI को restart करें। Repo root पर मौजूद
dodo-knowledge अभी भी skills की दी जाने वाली सुविधाओं के बड़े हिस्से को कवर करता है और अपने-आप current रहता है।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 होने के बाद यह चलाएँ: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.pathsentry चाहिए — ऊपर 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
- पहले 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 कर सकते हैं।Local API key mode — Claude Code
Local API key mode — Claude Code
Claude Code में अपने current session में changes लागू करने के लिए
/plugins खोलें, Dodo Payments चुनें और Configure options चुनें। इनमें values भरें:dodo_api_key— आपकीdodo_test_...याdodo_live_...keydodo_webhook_key— आपका webhook signing secretdodo_environment—test_modeयाlive_mode
.mcp.json को edit करके dodopayments-api को local stdio server की ओर point करें:/reload-plugins चलाएँ।Local API key mode — OpenCode
Local API key mode — OpenCode
dodopayments-api को अपने opencode.json में स्वयं declare करें — आपकी entry plugin के default remote server पर प्राथमिकता पाएगी:अगले 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