@theyahia/cloudpayments-mcp
@theyahia/cloudpayments-mcp
CloudPayments API 用の MCP サーバー -- ワンステップ・ツーステップ決済、返金、サブスクリプション、注文(請求書リンク)、取引履歴。12 のツール。
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-mcpCursor / 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
認証
変数 | 必須 | 説明 |
| はい | 公開 ID(HTTP Basic 認証のユーザー名) |
| はい | API シークレット(HTTP Basic 認証のパスワード) |
テストには、CloudPayments テスト用ターミナル を使用してください。
ツール(12)
決済(5)
ツール | API エンドポイント | 説明 |
| POST /payments/charge | ワンステップ決済(即時請求) |
| POST /payments/auth | ツーステップ決済(承認/保留) |
| POST /payments/confirm | 承認済み決済の確定(全額または一部) |
| POST /payments/void | 承認済み決済の無効化(保留の解除) |
| POST /payments/find | ID で取引を検索 |
返金(1)
ツール | API エンドポイント | 説明 |
| POST /payments/refund | 取引 ID による全額または一部返金 |
サブスクリプション(4)
ツール | API エンドポイント | 説明 |
| POST /subscriptions/create | トークンを使って定期サブスクリプションを作成 |
| POST /subscriptions/update | 金額、間隔、期間を更新 |
| POST /subscriptions/cancel | アクティブなサブスクリプションをキャンセル |
| POST /subscriptions/find | ユーザーのサブスクリプション一覧を取得 |
注文(1)
ツール | API エンドポイント | 説明 |
| POST /orders/create | 支払い注文(請求書リンク)を作成 |
取引(1)
ツール | API エンドポイント | 説明 |
| 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 1stShow me all transactions for yesterday and refund 2500 RUB on transaction 123456Russian API MCP シリーズの一部
MCP | ステータス | 説明 |
利用可能 | 住所、企業、銀行、電話番号 | |
利用可能 | 為替レート、キーレート | |
利用可能 | 決済、返金、レシート、出金、ウェブフック | |
利用可能 | 決済、サブスクリプション、注文 | |
... | +46 サーバー -- 全一覧 |
ライセンス
MIT
Available Tools
12 toolsauth_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
Scored across 12 tools
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.
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.
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.
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
Run a CoinsPay crypto shop from your AI assistant: invoices, payments, balances, payout requests.
Manage GoCardless payments, mandates, subscriptions, refunds and payouts via AI assistants.
Stripe payments for AI agents. Create links, verify, manage customers.
Issue, deduct, refund and sell credits: checkout, subscriptions, saved cards, escrow and wallets.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceEnables 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.8Apache 2.0- AlicenseNot gradedqualityDmaintenanceEnables 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 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with Stripe accounts to query customers, revenue, invoices, subscriptions, disputes, and issue refunds.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Razorpay payment gateway through natural language, allowing users to fetch payments, manage orders, issue refunds, and list settlements.MIT