Skip to main content
Glama

stripe

Official
by stripe

Stripe Model Context Protocol

The Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.

Setup

Stripe hosts a remote MCP server at https://mcp.stripe.com. View the docs here. To run the Stripe MCP server locally using npx, use the following command:

# 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

Make sure to replace YOUR_STRIPE_SECRET_KEY with your actual Stripe secret key. Alternatively, you could set the STRIPE_SECRET_KEY in your environment variables.

Usage with Claude Desktop

Add the following to your claude_desktop_config.json. See here for more details.

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

of if you're using Docker

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

Available tools

ToolDescription
balance.readRetrieve balance information
coupons.createCreate a new coupon
coupons.readRead coupon information
customers.createCreate a new customer
customers.readRead customer information
disputes.readRead disputes information
disputes.updateUpdate an existing dispute
documentation.readSearch Stripe documentation
invoiceItems.createCreate a new invoice item
invoices.createCreate a new invoice
invoices.readRead invoice information
invoices.updateUpdate an existing invoice
paymentIntents.readRead payment intent information
paymentLinks.createCreate a new payment link
prices.createCreate a new price
prices.readRead price information
products.createCreate a new product
products.readRead product information
refunds.createCreate a new refund
subscriptions.readRead subscription information
subscriptions.updateUpdate subscription information

Debugging the Server

To debug your server, you can use the MCP Inspector.

First build the server

npm run build

Run the following command in your terminal:

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

Build using Docker

First build the server

docker build -t mcp/stripe .

Run the following command in your 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

Instructions

  1. Replace YOUR_STRIPE_SECRET_KEY with your actual Stripe API secret key.
  2. Run the command to start the MCP Inspector.
  3. Open the MCP Inspector UI in your browser and click Connect to start the MCP server.
  4. You can see the list of tools you selected and test each tool individually.
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Stripe 모델 컨텍스트 프로토콜 서버를 사용하면 함수 호출을 통해 Stripe API와 통합할 수 있습니다. 이 프로토콜은 다양한 Stripe 서비스와 상호 작용하는 데 필요한 다양한 도구를 지원합니다.

  1. 설정
    1. Claude Desktop과 함께 사용
  2. 사용 가능한 도구
    1. 서버 디버깅
      1. Docker를 사용하여 빌드
      2. 지침

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
      Last updated -
      1
      MIT License
      • Linux
      • Apple
    • -
      security
      A
      license
      -
      quality
      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.
      Last updated -
      41
      MIT License
      • Apple
    • A
      security
      A
      license
      A
      quality
      Model Context Protocol (MCP) server that interacts with Shopify Dev. This protocol supports various tools to interact with different Shopify APIs.
      Last updated -
      5
      3,475
      488
      ISC License
    • PayPalofficial

      -
      security
      A
      license
      -
      quality
      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.
      Last updated -
      308
      152
      Apache 2.0
      • Linux
      • Apple

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/stripe/agent-toolkit'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server