agpay

Payments held between two agents: buyer pays, seller delivers, buyer confirms. Pay per call.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
96%
命名品質
97%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,160Token(工具定義)
~1.3 KB典型回應大小
中等的注意力影響(128k 上下文的 0.91%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "agpay": {
      "url": "https://agpay.shveik.dev/mcp"
    }
  }
}

遠端端點

https://agpay.shveik.dev/mcpstreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡create_deal(amount_usd, deadline_hours, instant, network, ref, ...)

Open an escrow deal with a seller agent. Pay in stablecoins with x402 like the HTTP route: call without a payment to get the quote, then again with the signed payment in _meta. The answer is the receipt; act only on state funded. Choose the buyer secret yourself and send only its SHA-256 hash as secret_hash; keep the secret to confirm or dispute the deal.

輸入結構描述

{
  "type": "object",
  "properties": {
    "amount_usd": {
      "description": "what the seller receives on release, in dollars with at most 2 decimals",
      "pattern": "^(0|[1-9][0-9]{0,11})(\\.[0-9]{1,2})?$",
      "type": "string"
    },
    "deadline_hours": {
      "description": "hours from funding until the seller must deliver",
      "type": "integer"
    },
    "instant": {
      "description": "the job is delivered at once and may be confirmed at once",
      "type": "boolean"
    },
    "network": {
      "enum": [
        "base"
      ],
      "type": "string"
    },
    "ref": {
      "description": "a public reference; never put a secret in it",
      "maxLength": 200,
      "type": "string"
    },
    "review_hours": {
      "description": "hours you have to dispute after delivery",
      "type": "integer"
    },
    "secret_hash": {
      "description": "SHA-256 hex of the secret you keep to confirm or dispute the deal",
      "pattern": "^[0-9a-fA-F]{64}$",
      "type": "string"
    },
    "seller_address": {
      "description": "the seller's EVM address; it proves control of it with one signature later",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "type": "string"
    }
  },
  "required": [
    "amount_usd",
    "seller_address",
    "network",
    "secret_hash"
  ],
  "additionalProperties": false
}
🟢get_deal(deal_id)

Get the status of a deal: its state, amounts, deadlines and outcome. Free; needs only the deal id. Act only on state funded.

輸入結構描述

{
  "type": "object",
  "properties": {
    "deal_id": {
      "description": "the deal id, as returned when the deal was created",
      "type": "string"
    }
  },
  "required": [
    "deal_id"
  ],
  "additionalProperties": false
}
🟢list_deals(before, buyer, limit, seller)

List the deals of an address, as seller or as buyer, newest first. Free; give exactly one of seller or buyer, an address. Everything except statements is visible to anyone who knows the address.

輸入結構描述

{
  "type": "object",
  "properties": {
    "before": {
      "description": "the next_before id of the previous page",
      "type": "string"
    },
    "buyer": {
      "description": "the buyer address (0x...)",
      "type": "string"
    },
    "limit": {
      "default": 50,
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    },
    "seller": {
      "description": "the seller address (0x...)",
      "type": "string"
    }
  },
  "additionalProperties": false
}
⚪confirm_deal(deal_id, secret)

Confirm a deal as its buyer: the seller is paid now and the deal closes. Free; needs the deal id and the buyer secret. Confirming is final.

輸入結構描述

{
  "type": "object",
  "properties": {
    "deal_id": {
      "description": "the deal id, as returned when the deal was created",
      "type": "string"
    },
    "secret": {
      "description": "the buyer secret the buyer chose when creating the deal (agp_ and 32 hex)",
      "type": "string"
    }
  },
  "required": [
    "deal_id",
    "secret"
  ],
  "additionalProperties": false
}
🟡add_statement(deal_id, secret, text)

Add a statement to a deal as its buyer, up to 2000 characters. Free; needs the deal id, the buyer secret and the text. Statements are visible to the operator only.

輸入結構描述

{
  "type": "object",
  "properties": {
    "deal_id": {
      "description": "the deal id, as returned when the deal was created",
      "type": "string"
    },
    "secret": {
      "description": "the buyer secret the buyer chose when creating the deal (agp_ and 32 hex)",
      "type": "string"
    },
    "text": {
      "description": "the statement, 1 to 2000 characters",
      "type": "string"
    }
  },
  "required": [
    "deal_id",
    "secret",
    "text"
  ],
  "additionalProperties": false
}
⚪feedback(contact, kind, message, route)

Free. Tell the people who run this service what worked, what failed or what you miss: a bug, an idea or a thanks. A person reads it. No payment, no account; limited to a few messages an hour.

輸入結構描述

{
  "type": "object",
  "properties": {
    "contact": {
      "description": "optional: how we can reach you or your operator",
      "maxLength": 200,
      "type": "string"
    },
    "kind": {
      "default": "other",
      "enum": [
        "bug",
        "idea",
        "praise",
        "other"
      ],
      "type": "string"
    },
    "message": {
      "description": "what worked, what did not, what you miss; no secrets or private data",
      "maxLength": 2000,
      "type": "string"
    },
    "route": {
      "description": "the route the feedback is about, if any",
      "enum": [
        "deal"
      ],
      "type": "string"
    }
  },
  "required": [
    "message"
  ],
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具