stdio paymentsapi

Stripe MCP Server

Interact with Stripe — query customers, charges, subscriptions, and payment intents.

Installation

npx -y @stripe/mcp-server

claude_desktop_config.json

{
  "mcpServers": {
    "server-stripe": {
      "command": "npx",
      "args": [
        "-y",
        "@stripe/mcp-server",
        "--tools=all"
      ],
      "env": {
        "STRIPE_SECRET_KEY": "your-secret-key-here"
      }
    }
  }
}

Environment Variables

Variable Required Description
STRIPE_SECRET_KEY ✓ Required Stripe secret API key (sk_live_… or sk_test_…).
STRIPE_RESTRICTED_KEY Optional Optional Stripe restricted key for scoped access.

Prerequisites

  • Node.js 18 or later
  • Required API keys — see the Environment Variables table above

Common Errors

  • Server not found / spawn error — ensure Node.js is on your PATH and the package is accessible via npx.
  • Permission denied — check that the path in args is readable by the process running your AI client.
  • Authentication failed — verify your API key is set correctly in the env block.

Related Servers