io.github.friendlygeorge/stripe-mcp-server

السجل الرسمي مؤرشف المالية والمدفوعات

MCP server for Stripe API — customers, charges, payments, subscriptions, products, and invoices

ماذا يمكنك أن تفعل مع io.github.friendlygeorge/stripe-mcp-server؟

  • Balance — Check available and pending balances
  • Customers — List, create, retrieve, update customers
  • Charges — List and retrieve charges with filters
  • Payment Intents — Create and list payment intents
  • Products — List and create products
  • Prices — List and create one-time and recurring prices
  • Subscriptions — List, create, and cancel subscriptions
  • Invoices — List invoices with status filters

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package stripe-mcp-server
Claude Code
claude mcp add stripe-mcp-server -- npx -y stripe-mcp-server@1.0.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "stripe-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "stripe-mcp-server@1.0.0"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Stripe MCP Server
  2. Features
  3. Installation
  4. Environment Variables
  5. Usage
  6. API Coverage
  7. Development
  8. License

Stripe MCP Server

A Model Context Protocol server for the Stripe API. Provides 21 tools for managing customers, charges, payments, subscriptions, products, prices, invoices, refunds, transfers, and webhooks.

Features

  • Balance — Check available and pending balances
  • Customers — List, create, retrieve, update customers
  • Charges — List and retrieve charges with filters
  • Payment Intents — Create and list payment intents
  • Products — List and create products
  • Prices — List and create one-time and recurring prices
  • Subscriptions — List, create, and cancel subscriptions
  • Invoices — List invoices with status filters
  • Refunds — Full or partial refunds with reason tracking
  • Transfers — List Connect platform transfers
  • Webhooks — List and create webhook endpoints

Installation

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "stripe": {
      "command": "npx",
      "args": ["-y", "stripe-mcp-server"],
      "env": {
        "STRIPE_API_KEY": "sk_test_your_key_here"
      }
    }
  }
}
Cursor / VS Code

Add to your MCP configuration:

{
  "mcpServers": {
    "stripe": {
      "command": "npx",
      "args": ["-y", "stripe-mcp-server"],
      "env": {
        "STRIPE_API_KEY": "sk_test_your_key_here"
      }
    }
  }
}
Manual
npm install -g stripe-mcp-server
export STRIPE_API_KEY=sk_test_your_key_here
stripe-mcp-server

Environment Variables

VariableRequiredDescription
STRIPE_API_KEYYesYour Stripe secret key (sk_test_... or sk_live_...)

Usage

Get account balance
{ "tool": "get_balance", "arguments": {} }
Create a customer
{
  "tool": "create_customer",
  "arguments": {
    "email": "customer@example.com",
    "name": "Jane Doe"
  }
}
Create a payment intent
{
  "tool": "create_payment_intent",
  "arguments": {
    "amount": 2000,
    "currency": "usd",
    "customer": "cus_abc123",
    "description": "Order #1234"
  }
}
Create a subscription
{
  "tool": "create_subscription",
  "arguments": {
    "customer": "cus_abc123",
    "price": "price_xyz789"
  }
}

API Coverage

ResourceTools
Balanceget_balance
Customerslist_customers, create_customer, retrieve_customer, update_customer
Chargeslist_charges, retrieve_charge
Payment Intentscreate_payment_intent, list_payment_intents
Productslist_products, create_product
Priceslist_prices, create_price
Subscriptionslist_subscriptions, create_subscription, cancel_subscription
Invoiceslist_invoices
Refundscreate_refund
Transferslist_transfers
Webhookslist_webhook_endpoints, create_webhook_endpoint

Development

git clone https://github.com/friendlygeorge/stripe-mcp-server.git
cd stripe-mcp-server
npm install
npm run build
npm start

License

MIT

الأسئلة الشائعة

ما هو io.github.friendlygeorge/stripe-mcp-server؟

MCP server for Stripe API — customers, charges, payments, subscriptions, products, and invoices

كيف أثبّت io.github.friendlygeorge/stripe-mcp-server؟

يعمل على جهازك. في Claude Code: claude mcp add stripe-mcp-server -- npx -y stripe-mcp-server@1.0.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.friendlygeorge/stripe-mcp-server إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.friendlygeorge/stripe-mcp-server مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.friendlygeorge/stripe-mcp-server؟

ينشره friendlygeorge. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.