Comgate MCP by usefulapi

Read payments and bank transfers; create, cancel and refund payments in Comgate.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
90%
命名の品質
80%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~1,491トークン数(ツール定義)
~1.4 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.16%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "comgate": {
      "url": "https://comgate.usefulapi.io/mcp"
    }
  }
}

リモートエンドポイント

https://comgate.usefulapi.io/mcpstreamable-http

できること

ツール一覧

ツール(7)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢comgate_list_payment_methods

List the payment methods this merchant can offer (id, group, name). Use an id as the `method` value when creating a payment. Comgate API: GET /v2.0/method.json.

入力スキーマ

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢comgate_get_payment(transId)

Get one payment by transId: status (PENDING, PAID, CANCELLED or AUTHORIZED), amount, currency, refId, method, fee and the payer's contact fields. Comgate API: GET /v2.0/payment/transId/{transId}.json.

入力スキーマ

{
  "type": "object",
  "properties": {
    "transId": {
      "type": "string",
      "minLength": 1,
      "description": "Comgate transaction id (transId), e.g. AB12-CD34-EF56."
    }
  },
  "required": [
    "transId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢comgate_list_transfers(date)

List the bank transfers (payouts to the merchant account) recorded for one date. Use a transferId from the result with comgate_get_transfer. Comgate API: GET /v2.0/transferList/date/{date}.json.

入力スキーマ

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date as yyyy-mm-dd (Europe/Prague time)."
    }
  },
  "required": [
    "date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢comgate_get_transfer(transferId)

Get one bank transfer by transferId: its date, amount and the payments it contains. Comgate API: GET /v2.0/singleTransfer/transferId/{transferId}.json.

入力スキーマ

{
  "type": "object",
  "properties": {
    "transferId": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Comgate transferId from comgate_list_transfers."
    }
  },
  "required": [
    "transferId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴comgate_create_payment(price, curr, label, refId, fullName, ...)

Create a payment that a payer completes on the Comgate page. Returns transId and the redirect URL to send the payer to. Money moves only when the payer pays. Without `test: true` the payment is a live production payment. Comgate API: POST /v2.0/payment.json.

入力スキーマ

{
  "type": "object",
  "properties": {
    "price": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Amount in the smallest unit (cents or pennies). 1000 = 10.00 CZK."
    },
    "curr": {
      "type": "string",
      "enum": [
        "CZK",
        "EUR",
        "PLN",
        "HUF",
        "USD",
        "GBP",
        "RON",
        "HRK",
        "NOK",
        "SEK"
      ],
      "description": "ISO 4217 currency code."
    },
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16,
      "description": "Short product description, 1-16 characters. Used to filter payments in the portal."
    },
    "refId": {
      "type": "string",
      "minLength": 1,
      "description": "Your order or variable symbol. It does not have to be unique."
    },
    "fullName": {
      "type": "string",
      "minLength": 1,
      "description": "Payer's full name, e.g. Josef Novák."
    },
    "email": {
      "description": "Payer's email. Give email or phone (or both).",
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    },
    "phone": {
      "description": "Payer's phone in international format, e.g. +420777112233. Give email or phone (or both).",
      "type": "string"
    },
    "method": {
      "description": "Payment method id from comgate_list_payment_methods, or ALL to let the payer choose (default ALL).",
      "type": "string"
    },
    "country": {
      "description": "Country code limiting the methods, e.g. CZ (default CZ).",
      "type": "string"
    },
    "lang": {
      "description": "Payer page language, ISO 639-1, e.g. cs or en (default cs).",
      "type": "string"
    },
    "test": {
      "description": "true creates a test payment that no one is charged for. Default: production.",
      "type": "boolean"
    }
  },
  "required": [
    "price",
    "curr",
    "label",
    "refId",
    "fullName"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴comgate_cancel_payment(transId)

Cancel a payment that is still PENDING (the payer has not paid). A paid payment cannot be cancelled: use comgate_refund_payment. Comgate API: DELETE /v2.0/payment/transId/{transId}.json.

入力スキーマ

{
  "type": "object",
  "properties": {
    "transId": {
      "type": "string",
      "minLength": 1,
      "description": "Comgate transaction id (transId), e.g. AB12-CD34-EF56."
    }
  },
  "required": [
    "transId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴comgate_refund_payment(transId, amount, refId, test)

Refund all or part of a PAID payment. Money goes back to the payer, and the refund cannot be undone. Amount is in the smallest unit (cents or pennies). Comgate API: POST /v2.0/refund.json.

入力スキーマ

{
  "type": "object",
  "properties": {
    "transId": {
      "type": "string",
      "minLength": 1,
      "description": "Comgate transaction id (transId), e.g. AB12-CD34-EF56."
    },
    "amount": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Refund amount in cents or pennies. Full or partial refund, at most the paid amount."
    },
    "refId": {
      "description": "Your refund reference. It does not have to be unique.",
      "type": "string",
      "minLength": 1
    },
    "test": {
      "description": "true runs a test refund that moves no money. Default: production.",
      "type": "boolean"
    }
  },
  "required": [
    "transId",
    "amount"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 7 件