Dokimo Mcp

io.github.ypratap11由 GitHub 账号 ypratap11 发布v0.1.0更新于 Nov 2, 2026

Verify AI-agent revenue: recompute a Merkle proof and check it against an on-chain anchor.

已验证Streamable HTTP可网页运行金融安全与监控

概览

AI 生成的概览

Dokimo MCP 让助手在本地重算 Merkle 根,并将证据包的承诺与 Base 链上锚定进行核对。

可以做什么
  • 根据叶子与证明路径在本地重算 dokimo-merkle-v1 根,不发起网络请求
  • 通过 Dokimo 公开的 A2A 端点,将证据包中的单条记录与 Base 链上锚定进行核对
  • 获取 Dokimo 公开的 A2A agent card,了解其可验证的内容
适用场景
当助手需要确认某个 AI 智能体的收入或支付数字是否有防篡改、链上锚定的承诺支撑,或在采信某个声称的数值前独立重算 Merkle 根时适用。
运行要求
远程端点为 dokimo.augaster.com;README 另提供本地 Python 包(pip install dokimo-mcp),以 stdio 运行,或通过 MCP_TRANSPORT=http 与 PORT 以 HTTP 模式运行。未声明账号、API 密钥或请求头。验证与 agent card 工具需要网络,本地重算不需要。
安装前请注意
验证工具会把证据包发送到 Dokimo 公开的 A2A 端点,包内容会离开本机;README 建议发送前先征得同意。返回的结论是 Dokimo 自己的答复且未签名,不应视为独立证明。它只核对单条记录,也不评价业务数字本身好坏。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Dokimo Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "dokimo": {
      "type": "http",
      "url": "https://dokimo.augaster.com/mcp"
    }
  }
}

README

dokimo-mcp

Give an AI agent the ability to verify another agent's revenue claims.

An MCP server exposing Dokimo's evidence checks as tools any MCP client (Claude Desktop, IDE agents, custom agents) can call. It's the "agent that audits agents" — as tools.

Live, clickable version of what these tools do: https://dokimo.augaster.com/agent-audits-agents.html

This is a thin, self-contained client: it calls Dokimo's public endpoints and implements the public dokimo-merkle-v1 hashing scheme. It contains no proprietary code. MIT-licensed.

Tools

ToolWhat it doesNetwork?
recompute_merkle_root(leaf, proof_path)Local recompute — hash a leaf under dokimo-merkle-v1 and replay the proof path to a root, in this process, with no network call. Compare it to a package's claimed root yourself. It does not check the on-chain anchor.none
verify_evidence_package(package)Dokimo's check of one record, via its public A2A endpoint: recompute and check the anchored commitment (root + rule version, plus the close summary for v2 closes) against the on-chain anchor on Base. Returns verified: true only if both hold. The verdict is Dokimo's answer and is not signed — to avoid relying on it, recompute locally and read the anchor yourself (e.g. /verify.html).Dokimo A2A
dokimo_agent_card()Fetch Dokimo's public A2A agent card — what it can verify.Dokimo

Verification model: there is no path to verified: true without (1) the caller's (leaf, proof_path) recomputing to the claimed root, and (2) the commitment of (root, rule_version_commitment) — and, for a dokimo-anchor-v2 close, its summary — being anchored on-chain. Tamper one byte → recompute fails. Swap the rule version → the commitment changes → not anchored. A package without summary and binding is checked as legacy v1, which verifies only closes anchored before the v2 cutover.

Honest scope: for one record, checks that its proof reaches the root and that the commitment is anchored on-chain. It does not recompute the close's figures from all its records (that needs the full package, e.g. in /verify.html), and it says nothing about whether a business number is "good." Non-custodial; reads public on-chain state only.

Install & run

bash
pip install dokimo-mcpdokimo-mcp                 # runs over stdio# or, from a clone:pip install .python -m dokimo_mcp

Add to an MCP client

Claude Desktop — add to claude_desktop_config.json:

json
{  "mcpServers": {    "dokimo": {      "command": "dokimo-mcp"    }  }}

If dokimo-mcp isn't on PATH, use the module form:

json
{  "mcpServers": {    "dokimo": {      "command": "python",      "args": ["-m", "dokimo_mcp"]    }  }}

Then ask the agent: "Use Dokimo to verify this evidence package" (paste one), or "recompute this Merkle root and tell me if it matches."

Agent skill

skills/dokimo-verify/SKILL.md tells an agent when and how to use these tools: check the package shape, recompute locally first, ask before sending anything to Dokimo, and report the result for one record without overstating it. Drop the dokimo-verify folder into your agent's skills directory (e.g. ~/.claude/skills/ for Claude Code). It is also listed, free, on Agensi.

Try it

The live demo page embeds a real, anchored evidence package. Fetch it and verify:

python
import re, json, urllib.requestimport dokimo_mcp as dhtml = urllib.request.urlopen(urllib.request.Request(    "https://dokimo.augaster.com/agent-audits-agents.html",    headers={"User-Agent": d._UA})).read().decode()pkg = json.loads(re.search(r"const PKG\s*=\s*(\{.*?\})\s*;", html, re.S).group(1))print(d.verify_evidence_package(pkg)["verified"])   # True# tamper one unit -> Falsepkg["leaf"] = pkg["leaf"].replace("1001190933933115", "1001190933933116")print(d.verify_evidence_package(pkg)["verified"])   # False

Hosted / HTTP mode

The default transport is stdio (local use). Set MCP_TRANSPORT=http to serve MCP Streamable HTTP at /mcp on $PORT (default 8081) with CORS — the shape hosted platforms like Smithery require. The included Dockerfile + smithery.yaml (runtime: container) are set up for exactly this, so Smithery can build and host it from this repo.

bash
MCP_TRANSPORT=http PORT=8081 dokimo-mcp     # or: docker run -p 8081:8081 <image>

What is Dokimo?

Verifiable revenue infrastructure for autonomous commerce — audit-ready, independently reproducible books for AI-agent machine payments (x402 / AP2 / Stripe), with each figure tamper-evidently committed and anchored on-chain. https://dokimo.augaster.com

License

MIT — see LICENSE.

来源:README.md,提交 25683a1

工具

3

recompute_merkle_root

Recompute Merkle root (local)

Recompute a dokimo-merkle-v1 root locally — no network call, no anchor check. Hash ``leaf`` in the leaf domain (H(0x00 ‖ leaf)) and replay ``proof_path`` — a list of ``[sibling_hash, side]`` where side is "L" or "R" — hashing internal nodes as H(0x01 ‖ left ‖ right). Compare the returned root to the ``root`` in an evidence package yourself; if it differs, the package was tampered with. Returns ``{recomputed_root, merkle_scheme, steps}``.

输入参数leaf必填proof_path必填

verify_evidence_package

Verify evidence package (on-chain)

Ask Dokimo to check one record of an evidence package against the on-chain anchor. Sends the package to Dokimo's public A2A endpoint, which recomputes the Merkle proof AND checks the anchored commitment (root + rule version, plus the close summary for v2) against the anchor on Base. The verdict is Dokimo's answer and is not signed. ``package`` must contain: ``leaf`` (str), ``root`` (str), ``proof_path`` (list of [sibling_hash, "L"|"R"]), and ``rule_version_commitment`` (str); for a v2 close also ``summary`` and ``binding``; ``close_id`` is optional/echoed. Returns the verdict: ``{verified, checks:{recompute, onchain_anchor, rule_version_bound}, ...}``. ``verified`` is true only if the proof recomputes AND the commitment is anchored on-chain. It covers this one record only.

输入参数package必填

dokimo_agent_card

Fetch Dokimo agent card

Fetch Dokimo's public A2A agent card — the discovery document describing what it can verify (skills, endpoints, supported A2A versions).

无需输入参数。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

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

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