agenticrail-mcp
agenticrail-mcp
ライブの AgenticRail 執行ゲートを、任意の MCP クライアントに2つのツールとして公開する Model Context Protocol サーバーです。
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 は 8つの値からなる enum であり、各ステップはサブセットのみを受け入れます。準拠したクライアントは無効なものを構築できません。step_order は最初の呼び出しでロックされ、少なくとも1つのエントリが必要です。省略するとロックをクリアするのではなく、組み込みの 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 を使用してください。送信した ID は解決されません。 これは意図的なものであり、漏洩ではありません。
demo- シーケンスのレポートは読むのにキーを必要としないため、それに送信したものはすべて公開として扱ってください。
設計 — 変更前に読んでください
プロトコルアダプターのみ。 このワーカーは 内部シークレットを保持せず、執行コアへの特権パスもありません。外部呼び出し元が使用するのと同じ 公開 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://agenticrail.nz/docs/
シーケンスを自分で検証 — https://report.agenticrail.nz/report
OpenAPI — https://agenticrail.nz/openapi.json
執行仕様 — https://agenticrail.nz/spec/
運営: TUARA KURI LIMITED (NZBN 9429053582867)、ホキアンガ、アオテアロア・ニュージーランド。
This server cannot be deployed
Maintenance
Related MCP Connectors
Pre-execution governance for AI agents. Deterministic PASS/FAIL/REVIEW verdicts, replayable proof.
Checks AI agent actions before they run. Signed, RFC 3161 timestamped evidence for audits.
Owner-signed permissions for AI agent actions; ALLOW/BLOCK/REVIEW with request-bound receipts.
Check, limit, record and prove AI agent actions with 2-of-3 validators and onchain proofs.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides 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.426 npm1MIT
- 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 gradedqualityBmaintenanceIssue and verify signed receipts for agent actions, enabling durable, independently checkable proof of policy decisions. Supports offline verification via get_keyset and verify_receipt tools without an account.0Inno Setup
- AlicenseNot gradedqualityBmaintenanceProvides permission gates and tamper-evident audit logging for AI agent tool executions, with declarative policies, consent ladders, and hash-chained verification.MIT