Stripe MCP Server
Developmentstdiov0.5.0
Official MCP server for the Stripe API. Enables AI agents to interact with Stripe's payment infrastructure including creating and managing customers, payment intents, subscriptions, invoices, and products. Supports reading transaction data, handling refunds, and querying balance information. Useful for building payment integrations, debugging billing issues, and automating financial operations.
连接
将此配置添加到 .claude/mcp.json
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@stripe/agent-toolkit",
"mcp"
],
"env": {
"STRIPE_SECRET_KEY": "<YOUR_STRIPE_SECRET_KEY>"
}
}
}
}工具 (4)
create_customer
Create a new Stripe customer with email, name, and metadata.
{
"type": "object",
"required": [
"email"
],
"properties": {
"name": {
"type": "string",
"description": "Customer full name"
},
"email": {
"type": "string",
"description": "Customer email address"
},
"metadata": {
"type": "object",
"description": "Key-value metadata to attach to the customer"
}
}
}create_payment_intent
Create a payment intent for processing a charge.
{
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "integer",
"description": "Amount in smallest currency unit (e.g., cents)"
},
"currency": {
"type": "string",
"description": "Three-letter ISO currency code (e.g., usd)"
},
"customer": {
"type": "string",
"description": "Stripe customer ID"
}
}
}list_payments
List recent payment intents with optional filters.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Number of results to return (max 100)"
},
"status": {
"type": "string",
"description": "Filter by payment status"
},
"customer": {
"type": "string",
"description": "Filter by customer ID"
}
}
}create_refund
Create a refund for a payment intent.
{
"type": "object",
"required": [
"payment_intent"
],
"properties": {
"amount": {
"type": "integer",
"description": "Amount to refund (partial refund if less than original)"
},
"payment_intent": {
"type": "string",
"description": "Payment intent ID to refund"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 许可证
- MIT
- 版本
- 0.5.0
- 星标
- 2,890
- 最后更新
- 2026年5月26日