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 provides 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).
Connect to Stripe’s MCP server
To open Cursor and automatically add the Stripe MCP, click install. Alternatively, add the following to your ~/. file. To learn more, see the Cursor documentation.
{ "mcpServers": { "stripe": { "url": "https://mcp.stripe.com" } } }
After installing, you can manage MCP client sessions in your Dashboard settings.
Manage MCP client sessions
Manage MCP access
Building autonomous agents
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 | Description |
|---|---|---|
| API tools | stripe_ | Search for Stripe API methods by keyword |
stripe_ | Get detailed parameter information for a specific Stripe API method. | |
stripe_ | Read data with any Stripe API GET method | |
stripe_ | Write data with any Stripe API POST, PATCH, PUT and DELETE method | |
| Account | get_ | Retrieve account |
| Refund | create_ | Create refund |
| Treasury Public preview | get_ | Displays an interactive balance summary across the Stripe balance and Treasury accounts |
| Others | search_ | Search Stripe resources |
fetch_ | Fetch Stripe object | |
search_ | Search the Stripe documentation for the given question and language | |
stripe_ | Guides the user through Stripe products to help users accept payments, sell products online, set up billing, or build any Stripe integration | |
send_ | Submit feedback from user or agent about Stripe’s MCP server tools | |
stripe_ | Search, retrieve and create reports and report runs |
The Stripe MCP server exposes multiple APIs that you can call with the stripe_ and stripe_ tools. This access makes much of the API available through MCP without increasing the context window unnecessarily.
Supported API methods
Support for connected accounts
Connect platforms can make MCP calls as their connected accounts. However, you can’t use OAuth. Instead, use restricted access keys with the appropriate Connect permissions.
To make an MCP call as a connected account, pass the Stripe-Account header. This is useful when you provide an agent that allows your connected accounts to make MCP calls through your platform.
{ "mcpServers": { "stripe": { "url": "https://mcp.stripe.com", "headers": { "Authorization": "Bearer rk_.....", "Stripe-Account": "acct_xxxxxxxxx" } } } }
Agentic finance with Treasury
You can extend the Stripe MCP server with Treasury tools that let your AI agent move money, pay bills, and create and manage cards.
Interested in agentic finance with Treasury?
Enter your email to request access.