Skip to main content
Glama
@theyahia/cloudpayments-mcp

@theyahia/cloudpayments-mcp

by theYahia

@theyahia/cloudpayments-mcp

MCP-сервер для CloudPayments API — одностадийные и двухстадийные платежи, возвраты, подписки, заказы (ссылки на оплату), история транзакций. 12 инструментов.

npm license

Часть серии Russian API MCP от @theYahia.

Быстрый старт

Claude Desktop

{
  "mcpServers": {
    "cloudpayments": {
      "command": "npx",
      "args": ["-y", "@theyahia/cloudpayments-mcp"],
      "env": {
        "CLOUDPAYMENTS_PUBLIC_ID": "your-public-id",
        "CLOUDPAYMENTS_API_SECRET": "your-api-secret"
      }
    }
  }
}

Claude Code

claude mcp add cloudpayments -e CLOUDPAYMENTS_PUBLIC_ID=your-id -e CLOUDPAYMENTS_API_SECRET=your-secret -- npx -y @theyahia/cloudpayments-mcp

Cursor / Windsurf

{
  "cloudpayments": {
    "command": "npx",
    "args": ["-y", "@theyahia/cloudpayments-mcp"],
    "env": {
      "CLOUDPAYMENTS_PUBLIC_ID": "your-public-id",
      "CLOUDPAYMENTS_API_SECRET": "your-api-secret"
    }
  }
}

HTTP-транспорт

HTTP_PORT=3000 npx @theyahia/cloudpayments-mcp
# or
npx @theyahia/cloudpayments-mcp --http 3000

Эндпоинты: POST /mcp (JSON-RPC), GET /health (статус).

Related MCP server: PayBridgeNP MCP Server

Аутентификация

Переменная

Обязательная

Описание

CLOUDPAYMENTS_PUBLIC_ID

Да

Публичный ID (имя пользователя HTTP Basic)

CLOUDPAYMENTS_API_SECRET

Да

Секрет API (пароль HTTP Basic)

Для тестирования используйте тестовый терминал CloudPayments.

Инструменты (12)

Платежи (5)

Инструмент

API Endpoint

Описание

charge_payment

POST /payments/charge

Одностадийный платеж (немедленное списание)

auth_payment

POST /payments/auth

Двухстадийный платеж (авторизация/холд)

confirm_payment

POST /payments/confirm

Подтверждение авторизованного платежа (полное или частичное)

void_payment

POST /payments/void

Отмена авторизованного платежа (снятие холда)

get_transaction

POST /payments/find

Поиск транзакции по ID

Возвраты (1)

Инструмент

API Endpoint

Описание

refund_payment

POST /payments/refund

Полный или частичный возврат по ID транзакции

Подписки (4)

Инструмент

API Endpoint

Описание

create_subscription

POST /subscriptions/create

Создание рекуррентной подписки с токеном

update_subscription

POST /subscriptions/update

Обновление суммы, интервала, периода

cancel_subscription

POST /subscriptions/cancel

Отмена активной подписки

list_subscriptions

POST /subscriptions/find

Список подписок пользователя

Заказы (1)

Инструмент

API Endpoint

Описание

create_order

POST /orders/create

Создание платежного заказа (ссылка на оплату)

Транзакции (1)

Инструмент

API Endpoint

Описание

list_transactions

POST /payments/list

Список всех транзакций за дату

Демо-промпты

Charge 5000 RUB from the card cryptogram, IP 192.168.1.1, description "Premium plan"
Create a monthly subscription for 999 RUB using token from the last payment, starting May 1st
Show me all transactions for yesterday and refund 2500 RUB on transaction 123456

Часть серии Russian API MCP

MCP

Статус

Описание

@metarebalance/dadata-mcp

готов

Адреса, компании, банки, телефоны

@theyahia/cbr-mcp

готов

Курсы валют, ключевая ставка

@theyahia/yookassa-mcp

готов

Платежи, возвраты, чеки, выплаты, вебхуки

@theyahia/cloudpayments-mcp

готов

Платежи, подписки, заказы

...

+46 серверов — полный список

Лицензия

MIT

Available Tools

12 tools
auth_paymentA

Two-step payment (authorize/hold). Funds are blocked but not charged until confirmed.

Inputs: Amount (required), IpAddress (required), CardCryptogramPacket (required), Name, +6 more.

cancel_subscriptionA

Cancel an active subscription by ID. Stops all future charges.

Inputs: Id (required).

charge_paymentA

One-step payment (immediate charge). Pass card cryptogram from CloudPayments widget, amount, and payer IP.

Inputs: Amount (required), IpAddress (required), CardCryptogramPacket (required), Name, +6 more.

confirm_paymentA

Confirm an authorized payment (charge the held amount). Can confirm a partial amount.

Inputs: Amount (required), TransactionId (required), JsonData.

create_orderA

Create a payment order (invoice link). Returns a URL the payer can open to pay.

Inputs: Amount (required), Description (required), Email, Phone, +6 more.

create_subscriptionA

Create a recurring subscription. Requires a token from a previous payment. Charges automatically on schedule.

Inputs: Token (required), Amount (required), Period (required), Interval (required), +7 more.

get_transactionA

Find a transaction by ID. Returns status, amount, card info, and timestamps.

Inputs: TransactionId (required).

list_subscriptionsA

List all subscriptions for a given user (AccountId).

Inputs: AccountId (required).

list_transactionsA

List all transactions for a given date. Returns completed, authorized, and declined transactions.

Inputs: Date (required), TimeZone.

refund_paymentC

Refund a payment (full or partial) by transaction ID.

Inputs: Amount (required), TransactionId (required), JsonData.

update_subscriptionC

Update subscription parameters: amount, interval, period, description.

Inputs: Id (required), Amount, Period, Currency, +4 more.

void_paymentA

Void an authorized payment (release the hold). Works only before confirmation.

Inputs: TransactionId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool targets a distinct payment or subscription action. Charge, auth, confirm, void, and refund are clearly separated by their lifecycle stage, and descriptions make the differences explicit.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern such as create_subscription, refund_payment, and list_transactions. The naming convention is uniform and easy to predict.

    Tool Count5/5

    12 tools is a well-scoped set for a payment gateway server covering payments, transactions, orders, and subscriptions. Each tool adds distinct value without unnecessary redundancy.

    Completeness4/5

    The core payment lifecycle is covered: charge, auth, confirm, void, refund, and transaction lookup. Subscription workflows also have create, update, cancel, and list. Minor gaps exist such as no direct get_subscription endpoint or webhook-related tools.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables natural language interactions with SumUp payment services and APIs, allowing users to manage their SumUp account, process payments, and access payment data through LLM-powered conversations.
      8
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with PayBridgeNP payment gateway accounts through natural language. Provides read-only access to payments, refunds, analytics, and account data, with write capabilities planned for future versions.
      39 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language interaction with Stripe accounts to query customers, revenue, invoices, subscriptions, disputes, and issue refunds.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Razorpay payment gateway through natural language, allowing users to fetch payments, manage orders, issue refunds, and list settlements.
      MIT