---
title: "Stripe：Claude、Cursor、Codex 配置指南 · DotsAgent"
description: "创建和查找 Stripe 客户、付款、发票和产品，并搜索 Stripe 文档。 在 13 个 MCP 客户端中配置 Stripe。"
url: https://dotsagent.io/zh/mcp/servers/stripe
---

商务 · Stripe

# 配置 Stripe

创建和查找 Stripe 客户、付款、发票和产品，并搜索 Stripe 文档。

- **发布者**: Stripe 官方
- **托管端点**: `https://mcp.stripe.com`
- **本地运行**: `npx -y @stripe/mcp --api-key=YOUR_STRIPE_SECRET_KEY`
- **传输方式**: streamable-http, stdio
- **身份验证**: 托管版支持 OAuth，或将受限 key 作为 bearer token；本地运行时使用 API key。
- **环境变量**: `STRIPE_SECRET_KEY`
- **可访问内容**: 可读写；使用受限 API key 可缩小其操作范围。
- **许可证**: MIT
- **源码**: [github.com/stripe/ai](https://github.com/stripe/ai)
- **状态**: 活跃

## 安装

此服务器由供应商托管，因此只需添加其 URL，无需在本机运行任何内容。如果需要身份验证，上方的条目会说明具体方式；OAuth 服务器会在首次连接时提示你进行授权。

### Claude Code

`shell`

```
claude mcp add --transport http --scope project stripe https://mcp.stripe.com
```

### Cursor

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "stripe": {
      "url": "https://mcp.stripe.com"
    }
  }
}
```

### Codex

`~/.codex/config.toml`

```
[mcp_servers.stripe]
url = "https://mcp.stripe.com"
```

### 改为在本机运行（Cursor）

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "stripe": {
      "command": "npx",
      "args": [
        "-y",
        "@stripe/mcp",
        "--api-key=YOUR_STRIPE_SECRET_KEY"
      ]
    }
  }
}
```

[其他客户端的配置 →](https://dotsagent.io/zh/mcp/config#add=stripe)

完整的 secret key 会让 agent 广泛控制你的 Stripe 账户；请使用仅授予所需权限的受限 key。

## 商务 中的其他服务器

- [Shopify Dev](https://dotsagent.io/zh/mcp/servers/shopify-dev): 搜索 Shopify 开发者文档，并在开发应用时检查 Admin GraphQL 和 Liquid 代码。

- [HubSpot](https://dotsagent.io/zh/mcp/servers/hubspot): HubSpot 的托管服务器，可读取和更新 CRM 联系人、公司、交易和工单。

- [Salesforce DX](https://dotsagent.io/zh/mcp/servers/salesforce-dx): 面向 agent 的 Salesforce CLI 工具：查询数据、部署和检索元数据，以及管理 org 和用户。

## 来源

1. [docs.stripe.com](https://docs.stripe.com/mcp)/mcp
2. [github.com](https://github.com/stripe/ai)/stripe/ai

为 AI agent 开发者提供的独立参考资料。与此处提及的任何厂商均无关联。

© 2026 DotsAgent · 事实核查日期：2026年10月1日
