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"
}社群
證據