MCP.so
ログイン
M

MCP Server

@dodopayments

基本情報

カテゴリ

その他

トランスポート

stdio

作者

dodopayments

投稿者

Ayush Agarwal

MCP Server について

概要はまだありません

#mcp-server#dodo-payments#api-library

MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Mcp Server?

It provides convenient access to the Dodo Payments REST API from server-side TypeScript or JavaScript.

How to use Mcp Server?

Install via npm install dodopayments, create a client with a bearer token and an environment option (test_mode or live_mode), then call methods like client.payments.create().

Key features of Mcp Server

  • Full TypeScript definitions for request params and response fields.
  • Automatic retries (2 retries by default) with exponential backoff.
  • Configurable timeouts (1 minute default).
  • Auto-pagination for list endpoints using async iteration.
  • Customizable fetch client and HTTP(S) agent support.
  • Access to raw Response data via .asResponse() and .withResponse().

Use cases of Mcp Server

  • Integrate Dodo Payments payment processing into Node.js applications.
  • Manage payments, customers, and product carts programmatically.
  • Handle API errors with typed error classes (e.g., BadRequestError).
  • Automatically paginate through large lists of payments or other resources.
  • Proxy API requests through custom HTTP agents.

よくある質問

1

How is authentication handled?

The client requires a bearer token, typically set via the `DODO_PAYMENTS_API_KEY` environment variable, and passed in the constructor.

2

How does the library handle errors?

It throws subclasses of `APIError` (e.g., `BadRequestError`, `RateLimitError`) for non‑success status codes; connection errors raise `APIConnectionError`.

3

Does the library support pagination?

Yes. List methods are paginated; you can use `for await…of` to iterate over all pages automatically, or manually request pages with `getNextPage()`.

4

Can I customize the HTTP agent or fetch client?

Yes. Provide an `httpAgent` option for proxies, or pass a custom `fetch` function when instantiating the client.

5

What are the runtime requirements?

The library is designed for server‑side TypeScript or JavaScript. It uses `node-fetch` in Node by default, but supports web‑standard fetch via shims.

コメント

「その他」の他のコンテンツ