Skip to main content
Glama
stripe

stripe

Official
by stripe

Protocolo de contexto del modelo Stripe

El servidor del Protocolo de Contexto de Modelo de Stripe permite la integración con las API de Stripe mediante llamadas a funciones. Este protocolo admite diversas herramientas para interactuar con diferentes servicios de Stripe.

Configuración

Para ejecutar el servidor Stripe MCP usando npx, use el siguiente comando:

# 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

Asegúrate de reemplazar YOUR_STRIPE_SECRET_KEY con tu clave secreta de Stripe. También puedes configurar STRIPE_SECRET_KEY en tus variables de entorno.

Uso con Claude Desktop

Añade lo siguiente a tu claude_desktop_config.json . Consulta aquí para más detalles.

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

de si estás usando Docker

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

Related MCP server: MCP Web Tools Server

Herramientas disponibles

Herramienta

Descripción

customers.create

Crear un nuevo cliente

customers.read

Leer la información del cliente

products.create

Crear un nuevo producto

products.read

Leer la información del producto

prices.create

Crear un nuevo precio

prices.read

Leer información de precios

paymentLinks.create

Crear un nuevo enlace de pago

invoices.create

Crear una nueva factura

invoices.update

Actualizar una factura existente

invoiceItems.create

Crear un nuevo elemento de factura

balance.read

Recuperar información de saldo

refunds.create

Crear un nuevo reembolso

paymentIntents.read

Leer la información de intención de pago

subscriptions.read

Leer la información de suscripción

subscriptions.update

Actualizar la información de suscripción

coupons.create

Crear un nuevo cupón

coupons.read

Leer la información del cupón

disputes.update

Actualizar una disputa existente

disputes.read

Leer información sobre disputas

documentation.read

Buscar documentación de Stripe

Depuración del servidor

Para depurar su servidor, puede utilizar el Inspector MCP .

Primero construya el servidor

npm run build

Ejecute el siguiente comando en su terminal:

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

Construir usando Docker

Primero construya el servidor

docker build -t mcp/stripe .

Ejecute el siguiente comando en su terminal:

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

Instrucciones

  1. Reemplace YOUR_STRIPE_SECRET_KEY con su clave secreta de API de Stripe real.

  2. Ejecute el comando para iniciar el Inspector MCP.

  3. Abra la interfaz de usuario de MCP Inspector en su navegador y haga clic en Conectar para iniciar el servidor MCP.

  4. Puede ver la lista de herramientas que seleccionó y probar cada herramienta individualmente.

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
    -