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 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。
npx -y tokrepo@latest install 9fa25556-579f-4c7d-9791-667c23e6bf7d --target codex先暂存文件;激活前需要读取暂存 README 和安装计划。
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.
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.
How to use
- Install the Stripe MCP server via npm or from the official Stripe repository.
- Configure your MCP client with your Stripe API key.
- Ask your agent to perform Stripe operations in natural language.
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.'
Related on TokRepo
- MCP Integrations -- explore other MCP server integrations
- AI Tools for Automation -- automation tools for business workflows
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.
常见问题
Yes. The Stripe MCP server is maintained by Stripe and published under their official GitHub organization and npm scope.
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.
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.
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.
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)
- Stripe Agent Toolkit GitHub— Official Stripe MCP server
- Stripe Documentation— MCP server for payment processing via AI agents
- MCP Official Site— Model Context Protocol specification
来源与感谢
Created by Stripe. Licensed under MIT.
stripe-mcp — ⭐ 2,000+
讨论
相关资产
Tavily — Search API Built for AI Agents & RAG
Search API designed specifically for AI agents and RAG pipelines. Returns clean, LLM-ready results with content extraction, no HTML parsing needed. Official MCP server available. 5,000+ stars.
WhatsApp MCP Server — Chat with WhatsApp via AI Agents
MCP server connecting Claude and AI agents to your personal WhatsApp. Search contacts, read messages, send replies and media via natural language.
Apify MCP Server — 8,000+ Web Scrapers for Agents
Apify MCP Server connects agents to Apify Actors via a hosted endpoint (mcp.apify.com) or local run, turning thousands of web scrapers into callable tools.
n8n MCP Server — Build Automations with AI, 1,396 Nodes
MCP server giving AI agents access to 1,396 n8n nodes and 2,709 workflow templates. Build and manage n8n automations through natural language.