Model Context Protocol (MCP)Public preview
Let your AI agents interact with the Stripe API by using our MCP server.
The Stripe Model Context Protocol (MCP) server defines a set of tools that AI agents can use to interact with the Stripe API and search our knowledge base (including documentation and support articles).
If you use AI-powered code editors like Cursor or Windsurf, or general-purpose tools like Claude Desktop, you can use the MCP server.
Remote server 
Stripe hosts a Streamable HTTP MCP server that’s available at https://mcp.
. The Stripe MCP server uses OAuth Dynamic Client Registration to connect MCP clients as per the MCP spec.
OAuth connections 
When you add the Stripe MCP to a client, the MCP client opens an OAuth consent form which allows you to authorize the client to access your Stripe data. OAuth is done through a Stripe App. Only admins can install the Stripe MCP. After installing, you can manage your OAuth connections in your Dashboard settings.
To view authorized MCP client sessions:
Navigate to the Stripe MCP app in the Stripe Dashboard.
In the right panel, click Client sessions to view OAuth-connected MCP client sessions.
To revoke OAuth access for a specific MCP client session:
Find the client session in the list, and click the overflow menu.
Select Revoke session.
Allowlist of client redirect URIs 
Stripe maintains an allowlist of vetted MCP client redirect URIs to protect our users from malicious phishing attacks. If there’s an MCP client application that you want to allowlist, email us at mcp@stripe.com.
Bearer token
If you’re building agentic software, you can pass a Stripe API key as a bearer token to the MCP remote server. We strongly recommend using restricted API keys to limit access to the functionality your agent requires. For example, you can use this authorization method with OpenAI’s Responses API.
curl https://mcp.stripe.com/ \ -H "Content-Type: application/json" \ -H "Authorization: Bearer
" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "create_customer", "arguments": {"name": "Jenny Rosen", "email": "jenny.rosen@example.com" } }, "id": 1 }'sk_test_Hrs6SAopgFPF0bZXSN3f6ELN
Local server 
If you prefer or require a local setup, run the local Stripe MCP server.
Tools
The server exposes the following MCP tools. We recommend enabling human confirmation of tools and exercising caution when using the Stripe MCP with other servers to avoid prompt injection attacks. If you have feedback or want to see more tools, email us at mcp@stripe.com.
Resource | Tool | API |
---|---|---|
Account | get_ | Retrieve account |
Balance | retrieve_ | Retrieve balance |
Coupon | create_ | Create coupon |
list_ | List coupons | |
Customer | create_ | Create customer |
list_ | List customers | |
Dispute | list_ | List disputes |
update_ | Update dispute | |
Invoice | create_ | Create invoice |
create_ | Create invoice item | |
finalize_ | Finalize invoice | |
list_ | List invoices | |
Payment Link | create_ | Create payment link |
PaymentIntent | list_ | List PaymentIntents |
Price | create_ | Create price |
list_ | List prices | |
Product | create_ | Create product |
list_ | List products | |
Refund | create_ | Create refund |
Subscription | cancel_ | Cancel subscription |
list_ | List subscriptions | |
update_ | Update subscription | |
Others | search_ | Search Stripe resources |
fetch_ | Fetch Stripe object | |
search_ | Search Stripe knowledge |