Stripe's global payments API โ distinct from stripe-acp (which wraps Stripe's Agentic Commerce Protocol). What every LatAm SaaS accepting Stripe uses today. Payment Intents, refunds, customers, subscriptions, checkout, payment links, invoices, disputes.
$ npm install @codespar/mcp-stripeAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-stripe"
],
"env": {
"STRIPE_SECRET_KEY": "<your_stripe_secret_key>"
}
}
}
}After restart, your agent can call any of the 30 tools below โ try create_payment_intent first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
STRIPE_SECRET_KEYStripe secret key (sk_test_... for test mode, sk_live_... for live mode). The key prefix selects the environment โ no separate base URL.
STRIPE_API_VERSIONOptional Stripe API version to pin via the Stripe-Version header (e.g. '2024-06-20'). When omitted, Stripe uses the account's default version.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_payment_intentconfirm_payment_intentretrieve_payment_intentcancel_payment_intentlist_payment_intentscreate_refundlist_refundscreate_customerMCP is a protocol โ any framework that speaks it can mount this server.