Comgate MCP by usefulapi

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

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
90%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,491token 数(工具定义)
~1.4 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.16%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `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 个工具