io.github.friendlygeorge/stripe-mcp-server
MCP server for Stripe API — customers, charges, payments, subscriptions, products, and invoices
What can you do with io.github.friendlygeorge/stripe-mcp-server?
- Balance — Check available and pending balances
- Customers — List, create, retrieve, update customers
- Charges — List and retrieve charges with filters
- Payment Intents — Create and list payment intents
- Products — List and create products
- Prices — List and create one-time and recurring prices
- Subscriptions — List, create, and cancel subscriptions
- Invoices — List invoices with status filters
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
stripe-mcp-serverclaude mcp add stripe-mcp-server -- npx -y stripe-mcp-server@1.0.0
{
"mcpServers": {
"stripe-mcp-server": {
"command": "npx",
"args": [
"-y",
"stripe-mcp-server@1.0.0"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
Stripe MCP Server
A Model Context Protocol server for the Stripe API. Provides 21 tools for managing customers, charges, payments, subscriptions, products, prices, invoices, refunds, transfers, and webhooks.
Features
- Balance — Check available and pending balances
- Customers — List, create, retrieve, update customers
- Charges — List and retrieve charges with filters
- Payment Intents — Create and list payment intents
- Products — List and create products
- Prices — List and create one-time and recurring prices
- Subscriptions — List, create, and cancel subscriptions
- Invoices — List invoices with status filters
- Refunds — Full or partial refunds with reason tracking
- Transfers — List Connect platform transfers
- Webhooks — List and create webhook endpoints
Installation
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": ["-y", "stripe-mcp-server"],
"env": {
"STRIPE_API_KEY": "sk_test_your_key_here"
}
}
}
}
Cursor / VS Code
Add to your MCP configuration:
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": ["-y", "stripe-mcp-server"],
"env": {
"STRIPE_API_KEY": "sk_test_your_key_here"
}
}
}
}
Manual
npm install -g stripe-mcp-server
export STRIPE_API_KEY=sk_test_your_key_here
stripe-mcp-server
Environment Variables
| Variable | Required | Description |
|---|---|---|
STRIPE_API_KEY | Yes | Your Stripe secret key (sk_test_... or sk_live_...) |
Usage
Get account balance
{ "tool": "get_balance", "arguments": {} }
Create a customer
{
"tool": "create_customer",
"arguments": {
"email": "customer@example.com",
"name": "Jane Doe"
}
}
Create a payment intent
{
"tool": "create_payment_intent",
"arguments": {
"amount": 2000,
"currency": "usd",
"customer": "cus_abc123",
"description": "Order #1234"
}
}
Create a subscription
{
"tool": "create_subscription",
"arguments": {
"customer": "cus_abc123",
"price": "price_xyz789"
}
}
API Coverage
| Resource | Tools |
|---|---|
| Balance | get_balance |
| Customers | list_customers, create_customer, retrieve_customer, update_customer |
| Charges | list_charges, retrieve_charge |
| Payment Intents | create_payment_intent, list_payment_intents |
| Products | list_products, create_product |
| Prices | list_prices, create_price |
| Subscriptions | list_subscriptions, create_subscription, cancel_subscription |
| Invoices | list_invoices |
| Refunds | create_refund |
| Transfers | list_transfers |
| Webhooks | list_webhook_endpoints, create_webhook_endpoint |
Development
git clone https://github.com/friendlygeorge/stripe-mcp-server.git
cd stripe-mcp-server
npm install
npm run build
npm start
License
MIT
Frequently asked questions
What is io.github.friendlygeorge/stripe-mcp-server?
MCP server for Stripe API — customers, charges, payments, subscriptions, products, and invoices
How do I install io.github.friendlygeorge/stripe-mcp-server?
It runs on your machine. In Claude Code: claude mcp add stripe-mcp-server -- npx -y stripe-mcp-server@1.0.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.friendlygeorge/stripe-mcp-server need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.friendlygeorge/stripe-mcp-server open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.friendlygeorge/stripe-mcp-server?
It is published by friendlygeorge. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.