stdio paymentsapi

Stripe MCP Server

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

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.

Setup Instructions

  1. Ensure Node.js 18+ is installed on your system.
  2. Copy the config block above into your claude_desktop_config.json file (typically at ~/.config/claude/claude_desktop_config.json on macOS/Linux or %APPDATA%\Claude\claude_desktop_config.json on Windows).
  3. Set the STRIPE_SECRET_KEY environment variable: Stripe secret API key (sk_live_… or sk_test_…).
  4. Restart your AI client to apply the config.

Related Servers