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_).
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 Connect MCP Server
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Stripe MCP Pack — read-only access to Stripe data via API key.
Read MoonClerk payment forms, customers (plans with subscriptions) and payments. Read-only.
Hosted Stripe MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRead-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 gradedqualityCmaintenanceRead-only access to Stripe data including customers, charges, subscriptions, balance, and invoices.103 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents to query Stripe operations such as customers, recent charges, duplicate charges, and revenue summaries through read-only MCP tools.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables read-only querying of payments and billing data via the full official REST API, covering customers, charges, payment intents, subscriptions, invoices, refunds, and more.MIT