agpay

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

使うべきか

品質と安全性

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

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

コンテキストコスト

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

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

インストール

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

これを `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 件