The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Stripe MCP listing page.
A read-only MCP server for querying Stripe — customers, payments, subscriptions, invoices, and refunds.
Use it with any AI or client that supports MCP (Model Context Protocol)—Cursor, Claude Desktop, Claude Code, Windsurf, or other MCP hosts.
sk_live_ / rk_live_index.js, no build stepAfter install, replace YOUR_STRIPE_TEST_KEY with a Stripe test secret (sk_test_... or rk_test_...) from the Stripe Dashboard. A restricted key with only read scopes is preferred.
Add to your MCP client config (e.g. Cursor: ~/.cursor/mcp.json or Settings → MCP; Claude: claude_desktop_config.json; etc.):
Claude Code:
Then in your MCP config:
index.js loads .env from the package directory when STRIPE_SECRET_KEY is not already set. npm installs do not include .env — MCP clients should pass the key in env.
| Tool | Description |
|---|---|
list_customers | List recent customers. Optional: limit, email. |
get_customer | Get a customer by ID. Required: customer_id. |
list_payments | List recent payment intents. Optional: limit, customer_id. |
get_payment | Get a payment intent by ID. Required: payment_intent_id. |
list_subscriptions | List subscriptions. Optional: limit, customer_id, status. |
get_subscription | Get a subscription by ID. Required: subscription_id. |
list_invoices | List invoices. Optional: limit, customer_id, status. |
list_refunds | List refunds. Optional: limit, payment_intent_id. |
MIT