Dodo Payments

Official

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Used for schema validation in custom endpoints, allowing developers to define input schemas for tools using Zod's type system which are then converted to JSON Schema through the zodToJsonSchema function.

Dodo Payments ノード MCP サーバー

ステンレスで生成されます。

インストール

直接呼び出し

MCP サーバーはnpx経由で直接実行できます。

export DODO_PAYMENTS_API_KEY="My Bearer Token" npx -y dodopayments-mcp

MCPクライアント経由

既存のクライアントの一部はmodelcontextprotocol.ioに掲載されています。既にクライアントをお持ちの場合は、そのドキュメントを参照して MCP サーバーをインストールしてください。

構成 JSON を持つクライアントの場合、次のようになります。

{ "mcpServers": { "dodopayments_api": { "command": "npx", "args": ["-y", "dodopayments-mcp"], "env": { "DODO_PAYMENTS_API_KEY": "My Bearer Token" } } } }

フィルタリングツール

コマンドラインでパッケージを実行すると、MCPサーバーによって公開されているツールセットを検出し、フィルタリングすることができます。これは、すべてのエンドポイントを一度に含めるとAIのコンテキストウィンドウに収まりきらない大規模なAPIの場合に役立ちます。

複数の側面でフィルタリングできます。

  • --tool名前で特定のツールを含めます
  • --resource特定のリソースの下にあるすべてのツールを含み、ワイルドカードを使用できます (例: my.resource*
  • --operationには読み取り操作(取得/リスト)のみ、または書き込み操作のみが含まれます

--helpで詳細情報を参照してください。

これらのコマンドライン オプションはすべて、繰り返し使用したり、組み合わせたりすることができ、対応する除外バージョン (例: --no-tool ) を持つことができます。

利用可能なツールのリストを表示するには、 --listを使用するか、以下を参照してください。

ツールとサーバーを個別にインポートする

// Import the server, generated endpoints, or the init function import { server, endpoints, init } from "dodopayments-mcp/server"; // import a specific tool import createPayments from "dodopayments-mcp/tools/payments/create-payments"; // initialize the server and all endpoints init({ server, endpoints }); // manually start server const transport = new StdioServerTransport(); await server.connect(transport); // or initialize your own server with specific tools const myServer = new McpServer(...); // define your own endpoint const myCustomEndpoint = { tool: { name: 'my_custom_tool', description: 'My custom tool', inputSchema: zodToJsonSchema(z.object({ a_property: z.string() })), }, handler: async (client: client, args: any) => { return { myResponse: 'Hello world!' }; }) }; // initialize the server with your custom endpoints init({ server: myServer, endpoints: [createPayments, myCustomEndpoint] });

利用可能なツール

この MCP サーバーでは次のツールが利用できます。

リソースpayments

  • create_payments ( write ):
  • retrieve_payments ( read ):
  • list_payments ( read ):

リソースsubscriptions :

  • create_subscriptions ( write ):
  • retrieve_subscriptions ( read ):
  • update_subscriptions ( write ):
  • list_subscriptions ( read ):
  • charge_subscriptions ( write ):

リソースinvoices.payments :

  • retrieve_invoices_payments ( read ):

リソースlicenses :

  • activate_licenses ( write ):
  • deactivate_licenses ( write ):
  • validate_licenses ( write ):

リソースlicense_keys :

  • retrieve_license_keys ( read ):
  • update_license_keys ( write ):
  • list_license_keys ( read ):

リソースlicense_key_instances :

  • retrieve_license_key_instances ( read ):
  • update_license_key_instances ( write ):
  • list_license_key_instances ( read ):

リソースcustomers :

  • create_customers ( write ):
  • retrieve_customers ( read ):
  • update_customers ( write ):
  • list_customers ( read ):

リソースcustomers.customer_portal :

  • create_customers_customer_portal ( write ):

リソースのrefunds

  • create_refunds ( write ):
  • retrieve_refunds ( read ):
  • list_refunds ( read ):

資源disputes

  • retrieve_disputes ( read ):
  • list_disputes ( read ):

リソースのpayouts :

  • list_payouts ( read ):

リソースwebhook_events :

  • retrieve_webhook_events ( read ):
  • list_webhook_events ( read ):

リソースproducts

  • create_products ( write ):
  • retrieve_products ( read ):
  • update_products ( write ):
  • list_products ( read ):
  • delete_products ( write ):
  • unarchive_products ( write ):

リソースproducts.images :

  • update_products_images ( write ):

miscリソース:

  • list_supported_countries_misc ( read ):

リソースdiscounts :

  • create_discounts ( write ): codeが省略されているか空の場合、ランダムな 16 文字の大文字のコードが生成されます。
  • retrieve_discounts ( read ): GET /割引/{割引ID}
  • update_discounts ( write ): PATCH /discounts/{discount_id}
  • list_discounts ( read ): GET /discounts
  • delete_discounts ( write ): /discounts/{discount_id} を削除する
-
security - not tested
A
license - permissive license
-
quality - not tested

Dodo Payments MCPサーバーは、エージェントフレームワークと統合され、課金、サブスクリプション、顧客管理といったAI駆動型決済業務のための軽量でサーバーレス対応のインターフェースを提供します。これにより、自律型エージェントがDodo Paymentsを利用するユーザーに代わって安全に業務を遂行できるようになります。

  1. Installation
    1. Direct invocation
    2. Via MCP Client
  2. Filtering tools
    1. Importing the tools and server individually
      1. Available Tools
        1. Resource payments:
        2. Resource subscriptions:
        3. Resource invoices.payments:
        4. Resource licenses:
        5. Resource license_keys:
        6. Resource license_key_instances:
        7. Resource customers:
        8. Resource customers.customer_portal:
        9. Resource refunds:
        10. Resource disputes:
        11. Resource payouts:
        12. Resource webhook_events:
        13. Resource products:
        14. Resource products.images:
        15. Resource misc:
        16. Resource discounts:
      ID: ka460b1cud