MCP ConfigsApr 6, 2026·2 min read

Stripe MCP — Payments API Server for AI Agents

Official Stripe MCP server that gives AI agents access to payment processing, customer management, subscription billing, and financial reporting through natural language. 2,000+ stars.

TL;DR
The official Stripe MCP server lets AI agents process payments, manage customers, and handle billing.
§01

What it is

Stripe MCP is the official Model Context Protocol server from Stripe that gives AI agents access to payment processing, customer management, subscription billing, and financial reporting. It exposes Stripe's API as MCP tools, letting agents like Claude Code interact with your Stripe account through natural language.

The server targets developers who use AI coding assistants to manage payment infrastructure and want to query, create, or modify Stripe resources without writing raw API calls.

§02

How it saves time or tokens

Instead of looking up Stripe API documentation, constructing curl commands, and parsing JSON responses, you ask your AI agent to handle the task directly. Creating a customer, setting up a subscription, or querying recent payments becomes a conversational interaction.

§03

How to use

  1. Install the Stripe MCP server via npm or from the official Stripe repository.
  2. Configure your MCP client with your Stripe API key.
  3. Ask your agent to perform Stripe operations in natural language.
§04

Example

{
  "mcpServers": {
    "stripe": {
      "command": "npx",
      "args": ["-y", "@stripe/mcp", "--tools=all"],
      "env": {
        "STRIPE_SECRET_KEY": "sk_test_your_key"
      }
    }
  }
}

Once configured, ask your agent: 'Create a customer named Alice with email alice@example.com and subscribe her to the Pro plan.'

§05

Related on TokRepo

§06

Common pitfalls

  • Use test mode API keys (sk_test_) during development. Live mode keys process real charges. Always verify the key prefix before configuring.
  • The MCP server has access to all Stripe operations your API key permits. Use restricted keys with only the permissions your agent needs.
  • Stripe webhooks still require separate configuration. The MCP server handles API calls but does not receive or process webhook events.

Frequently Asked Questions

Is this the official Stripe MCP server?+

Yes. The Stripe MCP server is maintained by Stripe and published under their official GitHub organization and npm scope.

What Stripe operations can the agent perform?+

The agent can create and manage customers, process payments, set up subscriptions, issue refunds, generate invoices, and query payment data. The scope depends on your API key permissions.

Does it support Stripe Connect?+

Support depends on the MCP server version. Check the official documentation for the current list of supported Stripe features. Core payment and customer operations are always available.

Can I use this with Claude Desktop?+

Yes. The Stripe MCP server works with any MCP-compatible client including Claude Code, Claude Desktop, and Cursor. Configuration goes in the client's MCP settings file.

How do I restrict what the agent can do?+

Use Stripe restricted API keys. Create a key in the Stripe Dashboard with only the permissions you want the agent to have. For example, grant read-only access to customers and charges without payment creation rights.

Citations (3)
🙏

Source & Thanks

Created by Stripe. Licensed under MIT.

stripe-mcp — ⭐ 2,000+

Thanks to Stripe for making payments AI-accessible.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.