stripe-mcp
Provides read-only tools for querying a Stripe account, including listing and retrieving customers, payment intents, subscriptions, invoices, and refunds. Supports filtering by fields such as email, customer_id, status, payment_intent_id, and limit, and works with Stripe test keys (sk_test_/rk_test_).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@stripe-mcpshow me my 5 most recent Stripe customers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
stripe-mcp
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.
Features
Read-only by design — no charge, refund, update, or delete tools
Test keys only — refuses to start with
sk_live_/rk_live_Single file — just
index.js, no build stepWorks with any MCP client — Cursor, Claude, Windsurf, and others
Related MCP server: stripe-mcp
Cursor plugin
This repo is an Agent Plugin and a Cursor plugin. cursor.directory only detects components committed at the repo root. The files it needs are:
File | Purpose |
| MCP server entry ( |
| Open Plugins manifest |
| Cursor listing metadata and the |
After these files are on the default branch of the public GitHub repo, submit https://github.com/robinafaruqia/stripe-mcp at cursor.directory/plugins/new. On install, set STRIPE_SECRET_KEY to a Stripe test key (sk_test_... or rk_test_...).
MCP Configuration
Cursor — one-click install
After 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.
Using npx (recommended)
Add to your MCP client config (e.g. Cursor: ~/.cursor/mcp.json or Settings → MCP; Claude: claude_desktop_config.json; etc.):
{
"mcpServers": {
"stripe-mcp": {
"command": "npx",
"args": ["-y", "@devtechtricks/stripe-mcp"],
"env": {
"STRIPE_SECRET_KEY": "sk_test_..."
}
}
}
}Claude Code:
claude mcp add stripe-mcp --env STRIPE_SECRET_KEY=sk_test_... -- npx -y @devtechtricks/stripe-mcpFrom source (development)
git clone https://github.com/robinafaruqia/stripe-mcp.git
cd stripe-mcp
npm install
cp .env.example .env # then put your sk_test_ / rk_test_ key in .envThen in your MCP config:
{
"mcpServers": {
"stripe-mcp": {
"command": "node",
"args": ["/path/to/stripe-mcp/index.js"]
}
}
}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.
Available Tools
Tool | Description |
| List recent customers. Optional: |
| Get a customer by ID. Required: |
| List recent payment intents. Optional: |
| Get a payment intent by ID. Required: |
| List subscriptions. Optional: |
| Get a subscription by ID. Required: |
| List invoices. Optional: |
| List refunds. Optional: |
Example
1. list_customers({ limit: 5 })
2. get_customer({ customer_id: "cus_ABC123" })
3. list_subscriptions({ customer_id: "cus_ABC123" })
4. list_payments({ limit: 10 })License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Stripe MCP Pack — read-only access to Stripe data via API key.
- mcpOAuthcom.stripe
MCP server integrating with Stripe - tools for customers, products, payments, and more.
Read-only MCP server: verify credentials and browse escrows on the Stellar testnet contract.
Read-only revenue, subscriptions, customers, and experiments tools for ZeroSettle accounts.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceRead-only Stripe finance, ops, and risk reporting exposed via MCP, HTTP API, and CLI. Enables querying balances, payments, customers, payouts, reconciliation, and risk alerts without mutating Stripe state.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the Stripe API with 10 tools covering payments, customers, invoices, and subscriptions. Generated with MCPForge. Destructive and financial operations require human approval.39 npmMIT
- AlicenseNot gradedqualityBmaintenanceRead-only access to Stripe data including customers, charges, subscriptions, balance, and invoices.399 npmMIT
- AlicenseNot gradedqualityAmaintenanceRead-only MCP server for the Helcim payment API, letting AI agents safely query customers, invoices, card transactions, subscriptions, and more without risking financial mutations.MIT