Skip to main content
Glama
stripe

stripe

Official
by stripe

Stripe-Modell-Kontextprotokoll

Der Stripe Model Context Protocol -Server ermöglicht die Integration mit Stripe-APIs durch Funktionsaufrufe. Dieses Protokoll unterstützt verschiedene Tools zur Interaktion mit unterschiedlichen Stripe-Diensten.

Aufstellen

Um den Stripe MCP-Server mit npx auszuführen, verwenden Sie den folgenden Befehl:

# To set up all available tools
npx -y @stripe/mcp --tools=all --api-key=YOUR_STRIPE_SECRET_KEY

# To set up specific tools
npx -y @stripe/mcp --tools=customers.create,customers.read,products.create --api-key=YOUR_STRIPE_SECRET_KEY

# To configure a Stripe connected account
npx -y @stripe/mcp --tools=all --api-key=YOUR_STRIPE_SECRET_KEY --stripe-account=CONNECTED_ACCOUNT_ID

Ersetzen Sie YOUR_STRIPE_SECRET_KEY durch Ihren tatsächlichen Stripe-Geheimschlüssel. Alternativ können Sie STRIPE_SECRET_KEY in Ihren Umgebungsvariablen festlegen.

Verwendung mit Claude Desktop

Fügen Sie Folgendes zu Ihrer claude_desktop_config.json hinzu. Weitere Informationen finden Sie hier .

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

oder wenn Sie Docker verwenden

{
    “mcpServers”: {
        “stripe”: {
            “command”: “docker",
            “args”: [
                “run”,
                "--rm",
                "-i",
                “mcp/stripe”,
                “--tools=all”,
                “--api-key=STRIPE_SECRET_KEY”
            ]
        }
    }
}

Related MCP server: MCP Web Tools Server

Verfügbare Werkzeuge

Werkzeug

Beschreibung

customers.create

Neuen Kunden anlegen

customers.read

Kundeninformationen lesen

products.create

Neues Produkt erstellen

products.read

Produktinformationen lesen

prices.create

Neuen Preis erstellen

prices.read

Preisinformationen lesen

paymentLinks.create

Einen neuen Zahlungslink erstellen

invoices.create

Erstellen einer neuen Rechnung

invoices.update

Aktualisieren einer vorhandenen Rechnung

invoiceItems.create

Erstellen einer neuen Rechnungsposition

balance.read

Kontostandinformationen abrufen

refunds.create

Erstellen Sie eine neue Rückerstattung

paymentIntents.read

Informationen zur Zahlungsabsicht lesen

subscriptions.read

Abonnementinformationen lesen

subscriptions.update

Abonnementinformationen aktualisieren

coupons.create

Neuen Gutschein erstellen

coupons.read

Couponinformationen lesen

disputes.update

Aktualisieren eines bestehenden Streitfalls

disputes.read

Informationen zu Streitigkeiten lesen

documentation.read

Suchen Sie in der Stripe-Dokumentation

Debuggen des Servers

Zum Debuggen Ihres Servers können Sie den MCP Inspector verwenden.

Bauen Sie zuerst den Server

npm run build

Führen Sie den folgenden Befehl in Ihrem Terminal aus:

# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.js --tools=all --api-key=YOUR_STRIPE_SECRET_KEY

Erstellen mit Docker

Bauen Sie zuerst den Server

docker build -t mcp/stripe .

Führen Sie den folgenden Befehl in Ihrem Terminal aus:

docker run -p 3000:3000 -p 5173:5173 -v /var/run/docker.sock:/var/run/docker.sock mcp/inspector docker run --rm -i mcp/stripe --tools=all --api-key=YOUR_STRIPE_SECRET_KEY

Anweisungen

  1. Ersetzen Sie YOUR_STRIPE_SECRET_KEY durch Ihren tatsächlichen geheimen Stripe-API-Schlüssel.

  2. Führen Sie den Befehl aus, um den MCP Inspector zu starten.

  3. Öffnen Sie die MCP Inspector-Benutzeroberfläche in Ihrem Browser und klicken Sie auf „Verbinden“, um den MCP-Server zu starten.

  4. Sie können die Liste der von Ihnen ausgewählten Tools anzeigen und jedes Tool einzeln testen.

Related MCP Connectors

  • The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.

  • Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server

  • A Model Context Protocol server for Wix AI tools

  • The Telnyx MCP server is an official implementation of the Model Context Protocol that enables AI clients (like Claude Desktop, Cursor, and OpenAI Agents) to interact with Telnyx's telephony, messaging, and AI assistant APIs. It provides comprehensive capabilities including making and managing phone calls, sending SMS/MMS messages, purchasing and configuring phone numbers, creating AI assistants with custom instructions, managing cloud storage buckets, scraping and embedding website content, and handling integration secrets. The server exists as both a local implementation and a remotely hosted version, allowing developers to integrate real-world communication infrastructure directly into AI applications.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A server that integrates with Stripe for handling payments, customers, and refunds through the Model Context Protocol, providing a secure API to manage financial transactions.
    44
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    The PayPal Model Context Protocol server allows you to integrate with PayPal APIs through function calling. This protocol supports various tools to interact with different PayPal services.
    661 npm
    196
    -