agenticrail-mcp
agenticrail-mcp
一个 Model Context Protocol 服务器,将实时的 AgenticRail 执行门以两个工具的形式暴露给任何 MCP 客户端。
AgenticRail 是面向 AI 代理的确定性执行层:它让代理严格遵守其声明的步骤顺序,拒绝重放和跳过的步骤,并用签名回执封存每个已完成的序列。本服务器就是它前面的 MCP 适配器。
端点: https://mcp.agenticrail.nz/(Streamable HTTP,无状态)
协议: 2026-07-28 — 该修订版废弃了 initialize 交换和 Mcp-Session-Id。本服务器以无状态方式构建,两者均未使用,因此无需迁移。对于较旧的客户端,initialize 仍会得到响应。
注册表: 官方 MCP 注册表 上的 nz.agenticrail/gate
工具
工具 | 作用 | 调用 |
| 在单个代理步骤运行前给出 ALLOW/DENY;封存签名回执 |
|
| 获取序列的验证报告;确认回执链完整 |
|
在运行序列的每个步骤之前调用 evaluate_step,并且不要运行门拒绝(DENY)的步骤。
DENY 会告诉你如何修复
每次拒绝都会在响应信封中携带其自身的补救措施——未签名、仅限 DENY,因为它描述的是序列当前的状态,而非已做出的决定:
拒绝类型 | 返回内容 |
|
|
|
|
|
|
|
|
action_type 是一个包含八个值的枚举,每个步骤只接受其中一部分——合规的客户端无法构造出无效值。step_order 在首次调用时被锁定,且至少需要一个条目;省略它会选择内置的 MSMD 主干,而不是清除锁定,因此要更改计划,请启动一个新的 sequence_id。
Related MCP server: Proof Layer MCP
连接
# zero config — uses the public demo key
claude mcp add --transport http agenticrail https://mcp.agenticrail.nz/
# with your own key
claude mcp add --transport http agenticrail https://mcp.agenticrail.nz/ \
--header "Authorization: Bearer <your-agenticrail-key>"任何 Streamable-HTTP MCP 客户端都可以使用——将其指向该 URL 即可。
无需安装任何东西即可试用
BASE=https://mcp.agenticrail.nz/
curl -s -X POST "$BASE" -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | jq .
# ⚠️ Use a sequence_id nobody else will pick. On the shared demo key the id is
# GLOBAL and sealing is PERMANENT — a fixed one in an example works once for one
# person on earth and returns SEALED_SEQUENCE for everyone after.
SEQ="mcp-smoke-$(date +%s)-$RANDOM"
curl -s -X POST "$BASE" -H 'content-type: application/json' \
-d "{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/call\",\"params\":{
\"name\":\"evaluate_step\",
\"arguments\":{\"sequence_id\":\"$SEQ\",\"step\":\"intake\",
\"action_type\":\"CHECK_STATE\"}}}" | jq .在没有 Authorization 头的情况下,会使用公共演示密钥,你的 sequence_id 会被重写为 demo-mcp-<your id>——demo- 标记公共通道,mcp- 标记其为匿名 MCP 流量。此后请使用响应中返回的 id;你发送的那个将无法解析。 这是有意为之,并非泄露。
demo- 序列的报告无需密钥即可读取,因此请将你在其上发送的任何内容视为公开信息。
设计——修改前请阅读
仅协议适配器。 此 worker 不持有任何内部机密,也没有通往执行核心的特权路径。它调用与外部调用者相同的公共 API,因此工具逻辑与 AgenticRail 的内部实现以及 MCP 传输版本解耦。
服务绑定,而非 fetch。
mcp.agenticrail.nz与api.和report.位于同一区域,因此普通的fetch()将是同区域回环(Cloudflare 错误 1002)。绑定访问的是相同的公共处理器——它们不是内部绕过。无状态 Streamable HTTP。 不签发也不要求
Mcp-Session-Id;每个 POST 都是自包含的。传输外壳是handleRpc+fetch处理器——这是规范修订唯一会触及的部分。承载价值的调用(callEvaluate/callVerify)是普通 HTTPS,不会改变。GET /提供发现卡片;所有其他 GET 路径返回 404。POST有意保持宽松,以便在端点 URL 后附加路径的客户端仍然可以工作。/.well-known/oauth-*返回 404 是正确的——这是 MCP 服务器表示无需认证的方式。agent.json、agent-card.json、x402和ai-plugin.json是本服务器未实现的协议;响应它们将是一种声明。
部署
npx wrangler deploy链接
自行验证序列 — https://report.agenticrail.nz/report
OpenAPI — https://agenticrail.nz/openapi.json
执行规范 — https://agenticrail.nz/spec/
由 TUARA KURI LIMITED(NZBN 9429053582867)运营,Hokianga,Aotearoa 新西兰。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides tools to issue, verify, and export cryptographically signed receipts for AI agent actions, enabling tamper-proof audit trails for compliance with regulations like the EU AI Act.4641MIT
- AlicenseNot gradedqualityDmaintenanceProvides cryptographic governance receipts for AI agents, enabling pre-execution evaluation and signed verdicts (EXECUTE/BLOCK/REVIEW/SHADOW) with offline-verifiable audit trails.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to create cryptographically verifiable receipts of their delegated work, with capabilities for multi-party approval and offline verification.346Apache 2.0
- AlicenseAqualityAmaintenancePost-quantum, tamper-evident receipts for consequential agent actions. Provides tools for auditing, gating decisions, and egress classification with quantum-hardened security.7Apache 2.0
Related MCP Connectors
Runtime permission, approval, and audit layer for AI agent tool execution.
Issue signed receipts for AI agent actions; verify any receipt offline - free, no account.
Preflight, approve, and prove consequential agent actions with signed evidence and x402 tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MSMD-RUA/agenticrail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server