D

Dodo Payments

Official

Provides a lightweight, serverless-compatible interface for AI-driven payment operations like billin...

2 views
0 installs
Updated Dec 25, 2025
Not audited
Provides a lightweight, serverless-compatible interface for AI-driven payment operations like billing, subscriptions, and customer management using the Dodo Payments API.
  1. Open the FastMCP "Install Now" / connection interface

    • Click your "Install Now" button to open the FastMCP connection form (the place where you can paste environment variable names and values).
  2. Log in to the Dodo Payments dashboard

    • In a separate browser tab go to the Dodo Payments dashboard (app.dodopayments.com) and sign in (or create an account if you don’t have one). (docs.dodopayments.com)
  3. Create / copy your DODO_PAYMENTS_API_KEY (Bearer token)

    • In the dashboard go to Developer → API Keys.
    • Click Add / Create API Key, give it a descriptive name, and set permissions (enable write access if the MCP server needs write operations).
    • Copy the generated Bearer token exactly — this is your DODO_PAYMENTS_API_KEY. (Store it securely; treat it like a secret.) (docs.dodopayments.com)
  4. Create / copy your DODO_PAYMENTS_WEBHOOK_KEY (webhook secret)

    • In the dashboard go to Settings → Webhooks.
    • Click Add Webhook (or Create Endpoint), supply the endpoint URL where your server will receive events, select the events you need, and create the endpoint.
    • Copy the provided Secret Key for that webhook — this is your DODO_PAYMENTS_WEBHOOK_KEY. Use it to verify incoming webhook signatures. Keep it secret. (docs.dodopayments.com)
  5. Choose the environment value (DODO_PAYMENTS_ENVIRONMENT)

    • For testing use DODO_PAYMENTS_ENVIRONMENT="test_mode"; for production use "live_mode".
    • Note: test and live use different base URLs (test.dodopayments.com vs live.dodopayments.com). (docs.dodopayments.com)
  6. Enter the values into the FastMCP connection interface

    • In the FastMCP form fill the environment variables exactly as:
      • DODO_PAYMENTS_API_KEY = <paste the Bearer token from step 3>
      • DODO_PAYMENTS_WEBHOOK_KEY = <paste the webhook secret from step 4>
      • DODO_PAYMENTS_ENVIRONMENT = test_mode OR live_mode (from step 5)
    • Submit/save the connection in FastMCP.
  7. Verify the configuration

    • Locally or in FastMCP, run a quick verification (example local test):
      • export DODO_PAYMENTS_API_KEY="(your token)"
      • export DODO_PAYMENTS_WEBHOOK_KEY="(your webhook secret)"
      • export DODO_PAYMENTS_ENVIRONMENT="test_mode"
      • npx -y dodopayments-mcp@latest
    • Also use the Dodo Payments dashboard to send a test webhook to confirm your webhook handler verifies signatures correctly. (docs.dodopayments.com)
  8. Security & rotation

    • Do not commit these values to source control. Store them in FastMCP/secret storage only.
    • If a key or webhook secret is compromised, rotate/regenerate it from the dashboard and update the FastMCP values immediately. (docs.dodopayments.com)

Quick Start

View on GitHub

More for API Development

View All →

More for Developer Tools

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.