MCP Configs2026年4月6日·1 分钟阅读

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.

Agent 就绪

这个资产会安全暂存

这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。

Stage only · 17/100策略:需暂存
Agent 入口
任意 MCP/CLI Agent
类型
Mcp Config
安装
Stage only
信任
信任等级:Community
入口
Stripe MCP — Payments API Server for AI Agents
安全暂存命令
npx -y tokrepo@latest install 9fa25556-579f-4c7d-9791-667c23e6bf7d --target codex

先暂存文件;激活前需要读取暂存 README 和安装计划。

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.

常见问题

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.

引用来源 (3)
🙏

来源与感谢

Created by Stripe. Licensed under MIT.

stripe-mcp — ⭐ 2,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产