mcpField
S
stripe-mcp-server

stripe-mcp-server

Local
github.com/friendlygeorgeFinance0Updated 21w ago

About stripe-mcp-server

stripe-mcp-server exposes Stripe API operations for AI assistants and other MCP clients. Its tools cover payments and billing, from customers and products to subscriptions, refunds, and webhooks.

Key features

  1. 01Check available and pending balances
  2. 02Manage customer records
  3. 03List charges and manage payment intents
  4. 04Create products and prices
  5. 05Manage subscriptions and invoices
  6. 06Issue refunds and manage transfers and webhooks

Use cases

  1. 01Look up a Stripe account balance
  2. 02Create a customer or payment intent
  3. 03Create or cancel a subscription
  4. 04Issue a refund or configure a webhook

MCP support

Provides MCP clients with tools for interacting with the Stripe API, including customers, charges, payments, products, subscriptions, invoices, refunds, transfers, and webhooks.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"friendlygeorge-stripe": {
"command": "npx",
"args": [
"-y",
"stripe-mcp-server"
]
}
}
}
Run commandnpx -y stripe-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmstripe-mcp-server1.0.0

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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

VariableRequiredDescription
STRIPE_API_KEYYesYour Stripe secret key (sk_test_... or sk_live_...)

Usage

Get account balance
{ "tool": "get_balance", "arguments": {} }
Create a customer
{
  "tool": "create_customer",
  "arguments": {
    "email": "[email protected]",
    "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

ResourceTools
Balanceget_balance
Customerslist_customers, create_customer, retrieve_customer, update_customer
Chargeslist_charges, retrieve_charge
Payment Intentscreate_payment_intent, list_payment_intents
Productslist_products, create_product
Priceslist_prices, create_price
Subscriptionslist_subscriptions, create_subscription, cancel_subscription
Invoiceslist_invoices
Refundscreate_refund
Transferslist_transfers
Webhookslist_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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.