stripe-mcp
A read-only MCP server for querying — customers, payments, subscriptions, invoices, and refunds.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @devtechtricks/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
STRIPE_SECRET_KEY=<secret> claude mcp add io.github.robinafaruqia-stripe-mcp -- npx -y @devtechtricks/stripe-mcp@0.1.2在終端機中執行。
{ "mcpServers": { "io.github.robinafaruqia-stripe-mcp": { "command": "npx", "args": [ "-y", "@devtechtricks/[email protected]" ], "env": { "STRIPE_SECRET_KEY": "<secret>" } } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
Use it with any AI or client that supports MCP (Model Context Protocol)—Cursor, Claude Desktop, Claude Code, Windsurf, or other MCP hosts.
sk_live_ / rk_live_index.js, no build stepThis repo is an Agent Plugin and a Cursor plugin. cursor.directory only detects components committed at the repo root. The files it needs are:
After these files are on the default branch of the public GitHub repo, submit https://github.com/robinafaruqia/stripe-mcp at cursor.directory/plugins/new. On install, set STRIPE_SECRET_KEY to a Stripe test key (sk_test_... or rk_test_...).
After install, replace YOUR_STRIPE_TEST_KEY with a Stripe test secret (sk_test_... or rk_test_...) from the Stripe Dashboard. A restricted key with only read scopes is preferred.
Add to your MCP client config (e.g. Cursor: ~/.cursor/mcp.json or Settings → MCP; Claude: claude_desktop_config.json; etc.):
{
"mcpServers": {
"stripe-mcp": {
"command": "npx",
"args": ["-y", "@devtechtricks/stripe-mcp"],
"env": {
"STRIPE_SECRET_KEY": "sk_test_..."
}
}
}
}
Claude Code:
claude mcp add stripe-mcp --env STRIPE_SECRET_KEY=sk_test_... -- npx -y @devtechtricks/stripe-mcp
git clone https://github.com/robinafaruqia/stripe-mcp.git
cd stripe-mcp
npm install
cp .env.example .env # then put your sk_test_ / rk_test_ key in .env
Then in your MCP config:
{
"mcpServers": {
"stripe-mcp": {
"command": "node",
"args": ["/path/to/stripe-mcp/index.js"]
}
}
}
index.js loads .env from the package directory when STRIPE_SECRET_KEY is not already set. npm installs do not include .env — MCP clients should pass the key in env.
1. list_customers({ limit: 5 })
2. get_customer({ customer_id: "cus_ABC123" })
3. list_subscriptions({ customer_id: "cus_ABC123" })
4. list_payments({ limit: 10 })
MIT
Read-only MCP server for querying Stripe customers, payments, and invoices.
{ "mcpServers": { "io.github.robinafaruqia-stripe-mcp": { "command": "npx", "args": [ "-y", "@devtechtricks/[email protected]" ], "env": { "STRIPE_SECRET_KEY": "<secret>" } } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
發布者列出了以下環境變數:STRIPE_SECRET_KEY。
Stripe MCP 透過 stdio 在本機執行。
上次檢查時間:2026-11-10。 Read-only MCP server for querying Stripe customers, payments, and invoices.