Skip to content
Create account or Sign in
/
Ask AI
Create accountSign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
APIs & SDKsHelp
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Tools
Stripe Dashboard
Workbench
Developers Dashboard
Stripe for Visual Studio Code
Terraform
Stripe Discord server
Features
Workflows
Batch jobs
Event destinations
Stripe health alertsStripe SignalsFile uploads
AI solutions
Model Context ProtocolAgent skillsStripe Directory
Extend Stripe
Overview
Build Stripe apps
Use apps from Stripe
Build extensions
Custom objects
Security and privacy
Security
Activity logsStripebot web crawler
Privacy
Partners
Partner ecosystem
Partner certification
United States
English (United States)
  1. Home/
  2. Developer resources
Public preview

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

Install in Cursor

To open Cursor and automatically add the Stripe MCP, click install. Alternatively, add the following to your ~/.cursor/mcp.json 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_api_searchSearch for Stripe API methods by keyword
stripe_api_detailsGet detailed parameter information for a specific Stripe API method.
stripe_api_readRead data with any Stripe API GET method
stripe_api_writeWrite data with any Stripe API POST, PATCH, PUT and DELETE method
Account get_stripe_account_infoRetrieve account
Refund create_refundCreate refund
Treasury Public preview get_balance_summaryDisplays an interactive balance summary across the Stripe balance and Treasury accounts
Others search_stripe_documentationSearch the Stripe documentation for the given question and language
stripe_implementation_plannerGuides the user through Stripe products to help users accept payments, sell products online, set up billing, or build any Stripe integration
send_stripe_mcp_feedbackSubmit feedback from user or agent about Stripe’s MCP server tools
stripe_reportSearch, retrieve and create reports and report runs

The Stripe MCP server exposes multiple APIs that you can call with the stripe_api_read and stripe_api_write 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.

See also

  • Build on Stripe with AI
  • Stripe skills
Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Chat with Stripe developers on Discord.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc
On this page