RCO-A2A - Record of Cleared Orders

io.github.Agentic-Private-Office由 GitHub 账号 Agentic-Private-Office 发布v2.0.0更新于 Oct 29, 2026

Signed receipt per cleared agentic order, by decision id. Two tools: write_receipt, verify_receipt.

发布方自己的服务:Family Office Knowledge Graph

已验证Streamable HTTP可网页运行安全与监控商业与电商

概览

AI 生成的概览

用于“已清算订单记录”的远程 MCP 服务器:为已通过闸门清算的代理订单写入带签名、哈希链式的回执,并按 decision id 校验回执。

可以做什么
  • 使用写入方 bearer 令牌为已清算的代理订单写入一条回执,返回 decision id,并对该 id 幂等
  • 按 decision id 校验回执,取回回执本身、其在链中的位置、签名以及用于验证的公钥
  • 读取类型化错误结果,例如 not_authorised、invalid_receipt、not_found 或 chain_contention
适用场景
当助手或代理流程需要记录某闸门已清算一笔代理订单,并在之后向他人证明该记录(例如核对回执的签名与链上位置)时使用。
运行要求
远程 streamable HTTP 端点,无需本地包或运行时。写入回执需要 Authorization bearer 令牌,每个写入方一个。校验为公开操作,无需凭据。需要能访问该端点的网络。
安装前请注意
write_receipt 会追加永久记录:账本为只追加,拒绝更新和删除,写错无法更正。写入方 bearer 令牌属于凭据,应妥善保密。回执由第三方办公室持有,且可按 decision id 公开校验。

安装

在 SourceWeft 中

  1. 打开 控制台中的 RCO-A2A - Record of Cleared Orders,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Agentic-Private-Office%2Frco-a2a/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "rco-a2a-record-of-cleared-orders": {
      "type": "http",
      "url": "https://mcp.rco-a2a.ai/mcp"
    }
  }
}

README

RCO-A2A — Record of Cleared Orders

RCO is the Record of Cleared Orders. A receipt is written when a gate clears an agentic order:

{decision_id, gtin, market, actor_class, rule_version, cleared_at, writer, prev_hash, hash, sig, kid}

Each receipt is hash-chained to the one before it and signed by the office key. Two tools, nothing else:

  • write_receipt — authenticated (Authorization: Bearer <writer token>, one token per writer), returns decision_id. Idempotent on decision_id.
  • verify_receipt(decision_id) — public, returns the receipt, its chain position, its signature and the key to check it.

Door: https://mcp.rco-a2a.ai/mcp (Model Context Protocol, streamable HTTP, stateless, JSON-RPC 2.0). Page and kit: https://rco-a2a.ai/. Verify URL: https://rco-a2a.ai/receipts/{decision_id}. Ledger held by the Agentic Private Office.

The chain

  • hash = sha256: + hex of SHA-256 over the canonical JSON of {actor_class, cleared_at, decision_id, gtin, market, prev_hash, rule_version, writer} — keys sorted, no whitespace, nulls kept.
  • The first receipt's prev_hash is sha256: + 64 zeros.
  • sig = Ed25519 (EdDSA) over the UTF-8 bytes of the hash string, base64url. kid names the key on https://rco-a2a.ai/.well-known/jwks.json (rco-office-2026-10).
  • Receipts loaded from the ledger era (2026-10-15 → 2026-10-27) carry kid gsc-rco-2026-08, sig null, and the Azure Confidential Ledger transaction that holds their original hash. Fields the ledger never held are null.

Connect

MCP client configuration (any client that speaks streamable HTTP):

json
{ "mcpServers": { "rco-a2a": { "type": "streamable-http", "url": "https://mcp.rco-a2a.ai/mcp" } } }

Verify one receipt from a shell:

bash
curl -s https://mcp.rco-a2a.ai/mcp -H 'content-type: application/json' -H 'accept: application/json' \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"verify_receipt","arguments":{"decision_id":"dec_b73fe75bff87ef889d8ca304"}}}'

or GET https://rco-a2a.ai/receipts/dec_b73fe75bff87ef889d8ca304.

Check a signature (Python):

python
import json, base64, requestsfrom cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKeyr = requests.get("https://rco-a2a.ai/receipts/" + DECISION_ID).json()k = next(k for k in requests.get("https://rco-a2a.ai/.well-known/jwks.json").json()["keys"] if k["kid"] == r["receipt"]["kid"])pad = lambda s: s + "=" * (-len(s) % 4)Ed25519PublicKey.from_public_bytes(base64.urlsafe_b64decode(pad(k["x"]))).verify(base64.urlsafe_b64decode(pad(r["receipt"]["sig"])), r["receipt"]["hash"].encode())

Errors

Typed, inside the tool result (isError: true): not_authorised · invalid_receipt · invalid_decision_id · not_found · store_unavailable · store_error · chain_contention.

Source

worker/ — the Cloudflare Worker (index.js routes and kit, mcp.js the two tools, chain.js the record and its chain, export.js the nightly copy to the office's S3 bucket). schema.sql — the D1 table, append-only (triggers refuse UPDATE and DELETE). public/ — the office page and the five record pages. rails/ — the history loader and the D1 rail. No secret is in this repository.

MIT. © 2026 Agentic KG Holdings.

来源:README.md,提交 f1d7f04

工具

2

write_receipt

Write one receipt for an agentic order a gate has cleared. Authenticated: Authorization: Bearer <writer token>. Returns the decision_id; idempotent on decision_id.

输入参数gtin必填marketcleared_atactor_class必填decision_idrule_version必填

verify_receipt

Return one receipt by decision_id with its chain position, its signature and the public key (JWK) that checks it. Public.

输入参数decision_id必填

版本历史

3
  1. v2.0.0最新Oct 29, 2026
  2. v1.0.4Oct 24, 2026
  3. v1.0.3Oct 23, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Familyofficeknowledgegraph 集成