stripe

Official
by stripe

Integrations

  • Allows integration with Stripe APIs through function calling, enabling operations such as creating/reading customers, products, prices, payment links, invoices, invoice items, as well as retrieving balance information, creating refunds, reading payment intent information, and searching Stripe documentation.

Контекстный протокол модели Stripe

Сервер протокола контекста модели Stripe позволяет интегрироваться с API Stripe через вызов функций. Этот протокол поддерживает различные инструменты для взаимодействия с различными службами Stripe.

Настраивать

Чтобы запустить сервер Stripe MCP с помощью npx, используйте следующую команду:

# 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

Обязательно замените YOUR_STRIPE_SECRET_KEY на ваш фактический секретный ключ Stripe. В качестве альтернативы вы можете установить STRIPE_SECRET_KEY в переменных среды.

Использование с Claude Desktop

Добавьте следующее в ваш claude_desktop_config.json . Подробнее см. здесь .

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

если вы используете Docker

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

Доступные инструменты

ИнструментОписание
customers.createСоздать нового клиента
customers.readПрочитать информацию для клиентов
products.createСоздать новый продукт
products.readПрочитать информацию о продукте
prices.createСоздать новую цену
prices.readПрочитать информацию о ценах
paymentLinks.createСоздать новую ссылку для оплаты
invoices.createСоздать новый счет
invoices.updateОбновить существующий счет
invoiceItems.createСоздать новый элемент счета
balance.readПолучить информацию о балансе
refunds.createСоздать новый возврат
paymentIntents.readПрочитать информацию о намерении платежа
subscriptions.readПрочитать информацию о подписке
subscriptions.updateОбновить информацию о подписке
coupons.createСоздать новый купон
coupons.readПрочитать информацию о купонах
disputes.updateОбновить существующий спор
disputes.readПрочитать информацию о спорах
documentation.readПоиск документации Stripe

Отладка сервера

Для отладки сервера вы можете использовать MCP Inspector .

Сначала постройте сервер

npm run build

Выполните следующую команду в терминале:

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

Сборка с использованием Docker

Сначала постройте сервер

docker build -t mcp/stripe .

Выполните следующую команду в терминале:

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

Инструкции

  1. Замените YOUR_STRIPE_SECRET_KEY на ваш фактический секретный ключ API Stripe.
  2. Выполните команду для запуска MCP Inspector.
  3. Откройте пользовательский интерфейс MCP Inspector в браузере и нажмите «Подключиться», чтобы запустить сервер MCP.
  4. Вы можете просмотреть список выбранных вами инструментов и протестировать каждый инструмент по отдельности.
-
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 позволяет интегрироваться с API Stripe через вызов функций. Этот протокол поддерживает различные инструменты для взаимодействия с различными службами Stripe.

  1. Настраивать
    1. Использование с Claude Desktop
  2. Доступные инструменты
    1. Отладка сервера
      1. Сборка с использованием Docker
      2. Инструкции

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      A server implementing the Model Context Protocol to make and query payments through Worldpay APIs, enabling payment processing, payment queries, and checkout form generation.
      Last updated -
      TypeScript
    • -
      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 -
      13
      Python
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that provides comprehensive integration with PayPal's APIs, enabling seamless interaction with payment processing, invoicing, subscription management, and business operations through a standardized interface.
      Last updated -
      TypeScript
      Apache 2.0
    • A
      security
      A
      license
      A
      quality
      A Model Context Protocol server that provides tools for interacting with the Paddle Billing API, enabling users to manage products, prices, customers, transactions, subscriptions, and create custom financial reports.
      Last updated -
      8
      52
      11
      TypeScript
      Apache 2.0

    View all related MCP servers

    ID: 1m8tlvbsuh