agent-escrow
Trustless escrow & settlement for A2A transactions: exactly-once state machine, frozen fees, tamper-
我该使用它吗
质量与安全性
发现(1)
- LOW在 describe_agent 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agent-escrow": {
"url": "https://viridis-agent-stable.fly.dev/escrow/mcp"
}
}
}远程端点
https://viridis-agent-stable.fly.dev/escrow/mcpstreamable-httphttps://mcp.viridisconservation.com/escrow/mcpstreamable-http它能做什么
工具清单
工具(9)
⚪open_escrow(payer, payee, amount_minor, currency, terms, ...)
Open an escrow between payer and payee. amount_minor is a positive integer in minor units (cents). The platform fee is computed and FROZEN at open (ceil bps). Returns the escrow_id (state OPEN). RETRY-SAFE: pass open_ref=<your job id> and a replayed open returns the ORIGINAL escrow (duplicate=true) instead of minting another one (E10).
输入模式
{
"type": "object",
"properties": {
"payer": {
"title": "Payer",
"type": "string"
},
"payee": {
"title": "Payee",
"type": "string"
},
"amount_minor": {
"title": "Amount Minor",
"type": "integer"
},
"currency": {
"default": "USD",
"title": "Currency",
"type": "string"
},
"terms": {
"default": "",
"title": "Terms",
"type": "string"
},
"deadline": {
"default": "",
"title": "Deadline",
"type": "string"
},
"fee_bps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Fee Bps"
},
"open_ref": {
"default": "",
"title": "Open Ref",
"type": "string"
}
},
"required": [
"payer",
"payee",
"amount_minor"
],
"title": "open_escrowArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "open_escrowOutput"
}⚪fund_escrow(escrow_id, payment_ref)
Mark an OPEN escrow as FUNDED (idempotent). payment_ref links the payment-rail transaction.
输入模式
{
"type": "object",
"properties": {
"escrow_id": {
"title": "Escrow Id",
"type": "string"
},
"payment_ref": {
"default": "",
"title": "Payment Ref",
"type": "string"
}
},
"required": [
"escrow_id"
],
"title": "fund_escrowArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "fund_escrowOutput"
}⚪release_escrow(escrow_id, delivery_proof)
Release a FUNDED/DISPUTED escrow to the payee (exactly-once — a repeat release returns the existing terminal record, never a double payout).
输入模式
{
"type": "object",
"properties": {
"escrow_id": {
"title": "Escrow Id",
"type": "string"
},
"delivery_proof": {
"default": "",
"title": "Delivery Proof",
"type": "string"
}
},
"required": [
"escrow_id"
],
"title": "release_escrowArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "release_escrowOutput"
}⚪refund_escrow(escrow_id, reason)
Refund an OPEN/FUNDED/DISPUTED escrow to the payer (exactly-once). Refunding an OPEN escrow is a cancel.
输入模式
{
"type": "object",
"properties": {
"escrow_id": {
"title": "Escrow Id",
"type": "string"
},
"reason": {
"default": "",
"title": "Reason",
"type": "string"
}
},
"required": [
"escrow_id"
],
"title": "refund_escrowArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "refund_escrowOutput"
}⚪dispute_escrow(escrow_id, reason)
Move a FUNDED escrow to DISPUTED. An arbiter (agent-arbitration-agent) then resolves it to release or refund.
输入模式
{
"type": "object",
"properties": {
"escrow_id": {
"title": "Escrow Id",
"type": "string"
},
"reason": {
"default": "",
"title": "Reason",
"type": "string"
}
},
"required": [
"escrow_id"
],
"title": "dispute_escrowArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "dispute_escrowOutput"
}⚪escrow_status(escrow_id)
Current record for an escrow.
输入模式
{
"type": "object",
"properties": {
"escrow_id": {
"title": "Escrow Id",
"type": "string"
}
},
"required": [
"escrow_id"
],
"title": "escrow_statusArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "escrow_statusOutput"
}🟢list_escrows(state)
List escrows, optionally filtered by state (OPEN|FUNDED|RELEASED|REFUNDED|DISPUTED).
输入模式
{
"type": "object",
"properties": {
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "State"
}
},
"title": "list_escrowsArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_escrowsOutput"
}⚪verify_audit(escrow_id)
Validate the tamper-evident audit hash chain for an escrow.
输入模式
{
"type": "object",
"properties": {
"escrow_id": {
"title": "Escrow Id",
"type": "string"
}
},
"required": [
"escrow_id"
],
"title": "verify_auditArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "verify_auditOutput"
}🟢describe_agent
Fleet-standard self-description.
输入模式
{
"type": "object",
"properties": {},
"title": "describe_agentArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "describe_agentOutput"
}社区
证据