关于 HiveAttest
HiveAttest 是面向自主 Agent 的证明 MCP 服务,将一组签名与验证原语通过 19 个工具提供给 Agent 和开发者。它使用 Ed25519、规范化 JSON 与 SHA-256,并定位为规范线格式的参考实现。
主要功能
- 01签发与验证预行动证明清单
- 02追加并验证保管链及 Merkle 证明
- 03注册、校验和快照货物类型
- 04签发、查询与报告保修违约
- 05门控评估并返回签名回执
- 06构建和验证非成员证明
适用场景
- 01为 Agent 行动生成可验证的事前证明
- 02追踪保管链并验证数据完整性
- 03校验负载模式并固定注册版本
- 04评估门控并记录签名结果
MCP 相关
MCP 服务通过 Streamable-HTTP 暴露 19 个证明工具,并代理到 hivemorph 后端。工具涵盖清单、保管链、货物校验、门控评估和 Merkle 证明。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://hive-mcp-attest.onrender.com/mcpclaude mcp add --transport http srotzin-hive-mcp-attest https://hive-mcp-attest.onrender.com/mcp{"mcpServers":{"srotzin-hive-mcp-attest":{"type":"http","url":"https://hive-mcp-attest.onrender.com/mcp"}}}在 Cursor 中打开{"servers":{"srotzin-hive-mcp-attest":{"type":"http","url":"https://hive-mcp-attest.onrender.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"srotzin-hive-mcp-attest":{"type":"http","url":"https://hive-mcp-attest.onrender.com/mcp"}}}{"mcpServers":{"srotzin-hive-mcp-attest":{"serverUrl":"https://hive-mcp-attest.onrender.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
18| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| inputs | object | 否 | 声明的输入(将进行哈希处理) |
| action_id | string | 是 | 由调用方提供的操作关联 ID |
| agent_did | string | 是 | 证明 Agent 的 DID |
| intended_op | string | 是 | 操作名称,例如 "tool_invocation" |
| ttl_seconds | integer | 否 | 有效期(秒,默认值为 300) |
| target_resource | string | 是 | 目标资源的 URI 或标识符 |
详细介绍
hive-mcp-attest
自主 Agent 的 HiveAttest 边界 — C8/C12/C13/C15-C20
https://hive-mcp-attest.onrender.com/mcp
C 层 — 参考级
这是 HiveAttest 声明系列的参考实现。线缆格式为规范性标准。生产级(B 层)是未来经过加固的部署版本。
USPTO 临时专利 64/055,601 的参考实现 — HiveAttest 声明 C8/C12/C13/C15-C20。
发明人: Stephen A. Rotzin
简介
hive-mcp-attest 是一个模型上下文协议(MCP)服务,将完整的 HiveAttest 边界作为 19 个工具公开,并代理至实时 hivemorph 后端。
- 协议: 通过 Streamable-HTTP / JSON-RPC 2.0 实现的 MCP 2024-11-05
- 传输:
POST /mcp - 发现:
GET /.well-known/mcp.json - 健康状态:
GET /health - 后端:
https://hivemorph.onrender.com - 加密: Ed25519、RFC 8785 JCS、SHA-256 — 使用真实签名,无模拟
- 品牌金色:
#FFB800
工具
| 工具 | 声明 | 描述 |
|---|---|---|
attest_passport_issue | C15 | 签发操作前证明清单(Ed25519 签名) |
attest_passport_verify | C15 | 验证通行证清单(签名 + 时间 + 输入哈希) |
attest_custody_append | C16 | 向保管链追加已签名节点(污点传播) |
attest_custody_verify | C16 | 验证哈希关联、签名和污点传播 |
attest_custody_proof | C16 | 获取保管节点的 Merkle 包含证明 |
attest_cargo_register | C17 | 注册带版本的货物类型(固定 definition_hash) |
attest_cargo_validate | C17 | 根据已注册的货物架构验证载荷 |
attest_cargo_snapshot | C17 | 带 Merkle 根的注册表快照,用于固定版本 |
attest_warranty_issue | C18 | 签发已签名保修,承诺 Agent 将履行一项声明 |
attest_warranty_breach | C18 | 报告违约 — 返回已签名的违约记录 |
attest_warranty_get | C18 | 按 ID 检索保修 |
attest_gate_evaluate | C19 | 重点工具 — 带已签名 C18 回执的门控评估 |
attest_inspect_sample | C20 | 概率性二次检查,生成已签名的检查记录 |
attest_smsh_verify | C8/C12 | 验证 SMSH-Stamp v1 回执 |
attest_absence_build | C13 | 构建排序的 Merkle 树,以证明成员不存在 |
attest_absence_prove | C13 | 证明某事件不存在于审计时间窗口中 |
attest_absence_verify | C13 | 根据根验证非成员证明 |
attest_meta | — | 返回所有声明的层级/规范/专利元数据 |
端点
| 工具 | 后端 URL |
|---|---|
attest_passport_issue | POST https://hivemorph.onrender.com/v1/attest/passport/issue |
attest_passport_verify | POST https://hivemorph.onrender.com/v1/attest/passport/verify |
attest_custody_append | POST https://hivemorph.onrender.com/v1/attest/custody/append |
attest_custody_verify | POST https://hivemorph.onrender.com/v1/attest/custody/verify |
attest_custody_proof | GET https://hivemorph.onrender.com/v1/attest/custody/{chain_id}/proof/{index} |
attest_cargo_register | POST https://hivemorph.onrender.com/v1/attest/cargo/register |
attest_cargo_validate | POST https://hivemorph.onrender.com/v1/attest/cargo/validate |
attest_cargo_snapshot | GET https://hivemorph.onrender.com/v1/attest/cargo/snapshot |
attest_warranty_issue | POST https://hivemorph.onrender.com/v1/attest/warranty/issue |
attest_warranty_breach | POST https://hivemorph.onrender.com/v1/attest/warranty/breach |
attest_warranty_get | GET https://hivemorph.onrender.com/v1/attest/warranty/{id} |
attest_gate_evaluate | POST https://hivemorph.onrender.com/v1/attest/gate/evaluate |
attest_inspect_sample | POST https://hivemorph.onrender.com/v1/attest/inspect/sample |
attest_smsh_verify | POST https://hivemorph.onrender.com/v1/attest/smsh/verify |
attest_absence_build | POST https://hivemorph.onrender.com/v1/attest/absence/build |
attest_absence_prove | POST https://hivemorph.onrender.com/v1/attest/absence/prove |
attest_absence_verify | POST https://hivemorph.onrender.com/v1/attest/absence/verify |
attest_meta | (本地 — 不调用后端) |
连接(Claude Desktop)
将以下内容添加到 claude_desktop_config.json:
{
"mcpServers": {
"hive-mcp-attest": {
"command": "node",
"args": ["/path/to/hive-mcp-attest/server.js"],
"env": {
"HIVE_BASE": "https://hivemorph.onrender.com"
}
}
}
}
或通过 Streamable-HTTP(MCP 2024-11-05)连接:
{
"mcpServers": {
"hive-mcp-attest": {
"url": "https://hive-mcp-attest.onrender.com/mcp",
"transport": "streamable-http"
}
}
}
环境变量
| 变量 | 默认值 | 说明 |
|---|---|---|
HIVE_BASE | https://hivemorph.onrender.com | 后端 hivemorph URL |
PORT | 3000 | 服务端口 |
密码学保证
所有证明原语均使用:
- Ed25519 — 在后端启动时生成签名密钥(或从
HIVE_ATTEST_PRIVATE_KEY_B64URL加载) - RFC 8785 JCS — 对所有签名操作进行确定性规范化
- SHA-256 — 负载哈希、Merkle 树节点
- 无模拟签名 — 每个签名都是真实的 64 字节 Ed25519 输出
专利
USPTO 临时专利申请 64/055,601 的参考实现 — HiveAttest 权利要求 C8/C12/C13/C15-C20。
发明人:Stephen A. Rotzin。提交日期:2026 年 5 月 2 日。
层级
C 层 — 参考级。 线路格式为规范标准。生产级为 B 层。
每个工具说明均以以下内容结尾:“参考级实现。线路格式为规范标准;生产级为 B 层。”
许可证
MIT © 2026 Stephen A. Rotzin / Hive Civilization
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。