npx @mintlify/mcp add stripe --client claude
Setup
To run the Stripe MCP server using npx, use the following command:
# To set up all available tools
npx -y @stripe/mcp --tools=all --api-key=YOUR_STRIPE_SECRET_KEY
# To set up specific tools
npx -y @stripe/mcp --tools=customers.create,customers.read,products.create --api-key=YOUR_STRIPE_SECRET_KEY
# To configure a Stripe connected account
npx -y @stripe/mcp --tools=all --api-key=YOUR_STRIPE_SECRET_KEY --stripe-account=CONNECTED_ACCOUNT_ID
Make sure to replace YOUR_STRIPE_SECRET_KEY
with your actual Stripe secret key. Alternatively, you could set the STRIPE_SECRET_KEY in your environment variables.
Usage with Claude Desktop
Add the following to your claude_desktop_config.json
. See here for more details.
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@stripe/mcp",
"--tools=all",
"--api-key=STRIPE_SECRET_KEY"
]
}
}
}
Available tools
customers.create
Create a new customer
customers.read
Read customer information
products.create
Create a new product
products.read
Read product information
prices.create
Create a new price
prices.read
Read price information
paymentLinks.create
Create a new payment link
invoices.create
Create a new invoice
invoices.update
Update an existing invoice
invoiceItems.create
Create a new invoice item
balance.read
Retrieve balance information
refunds.create
Create a new refund
paymentIntents.read
Read a payment intent information
documentation.read
Search Stripe documentation