
Irontrellis Gateway
io.github.zerohourzulu由 GitHub 帳號 zerohourzulu 發布v1.0.0-rc.2更新於 Oct 30, 2026
Local MCP gateway: approved tools behind a signed authority check, per call or as exactly-once jobs
概覽
本機 stdio MCP 閘道,把已核准的上游工具置於簽章授權歷程之後,支援逐次呼叫檢查或恰好一次作業。
- 可以做什麼
- 讓已核准的上游 MCP 工具經由閘道轉送,每次呼叫都重新讀取簽章授權歷程
- 執行恰好一次作業,重複請求只與原始保留結果對帳,不再轉送
- 執行逐次呼叫工具,每次呼叫都檢查目前授權與已設定的工具定義
- 拒絕工具定義已變更、授權已撤銷或參數衝突的呼叫
- 回傳 RESPONSE_RETAINED、RECONCILIATION_ONLY、DENIED、OUTCOME_UNKNOWN 等記錄結果
- 透過獨立的維運命令列與程式子路徑進行檢查、撤銷與復原
- 適用情境
- 當助理呼叫的上游 MCP 工具需要遵守可撤銷的授權,且遺失回覆後不能重複執行有副作用的請求時適用。適合能把歷程、簽署者、時鐘與上游設定置於模型控制之外的維運人員。
- 執行需求
- 需要本機 Node.js 執行環境,並全域安裝該 npm 套件,以取得閘道與維運指令。需要由 setup 指令產生的閘道設定檔,以及存放歷程與磁碟嘗試狀態的私有目錄。服務透過 stdio 通訊並等待 MCP 用戶端;未宣告任何環境變數或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Irontrellis Gateway,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
IronTrellis MCP Gateway
@ramex-labs/irontrellis-mcp-gateway 1.0.0-rc.2.3 puts the MCP tools you approve behind IronTrellis (formerly Continuity), which keeps a signed, replayable history of what each AI agent may do. Before a call reaches an upstream tool, the gateway checks the agent's current authority in that history (format 2); for exactly-once jobs and recorded calls, it also keeps the state of the attempt on disk. MCP client and server dependencies are pinned to 2.2.0.
What it is for
An agent that calls its tools directly can act on authority that was taken away a minute ago, or send the same request twice after a lost reply. The gateway sits between your MCP client and the upstream MCP servers you approve, and handles these cases:
Try it on a synthetic case
Install from the next tag, or use a verified packed installation; the 1.0.0-rc.2 build is not claimed publicly released.
setup creates a format-2 history with one worker agent, two local upstream servers (documents and tickets) and two jobs, read_incident and create_incident_ticket (two tools of the same names in per-call mode). The worker's grants and session expire after an hour. From your MCP client:
The server speaks stdio and waits for an MCP client. The setup is a disposable case with local credentials and synthetic tools. Protect its private directory and never reuse its credentials in production. An unknown outcome needs investigation of the original business key, not a new key to force a retry.
Choose an execution mode
The profile name is not a guarantee of exactly-once effects inside an arbitrary upstream service. A query-only ALLOW is not a dispatch permit.
enforceFromReadOnlyHistory (set by hand) keeps enforcing from a never-migrated legacy or format-1 history read-only: every open warns, and it serves only calls that need no record: a call that must be recorded is refused (FORMAT_READ_ONLY with a remedy) before anything is dispatched. Migrate to write.
Keep the authenticated history ID/domain, agent, runtime session, signers, role/tenure, trusted clock, upstream executable, business mapping and storage outside agent control. A model supplies only the bounded business arguments permitted by the fixed schema. Retiring or revoking authority cannot undo an effect already sent.
Public imports
The four subpaths in bold are separate capabilities; importing one does not enable another or establish a secure public deployment. Public HTTPS deployment is not part of this release. Each subpath has its compiled runtime and declaration exports and a default export key.
The loopback HTTP helper is an evaluation profile. The router/backend profile requires its explicit TLS/mTLS configuration, pinned private peer, channel-bound assertions, nonce storage and independent bearer/Core checks. Trusted isActive and current-access guards must remain effective across asynchronous work. A token or authenticated transport is not native authority to perform an operation. HTTP and Tasks do not turn an uncertain effect into a new attempt.
Records and results
A refusal decided by the history is returned with its recording status; a recording failure cannot turn a refusal into ALLOW. Core and budget refusals are distinguished from connector reports. Upstream effect or receipt fields are assertions under the connector/counterparty profile; replay does not prove an external business outcome. Replies retain externalOutcome: NOT_PROVEN where applicable.
Every message from the agent is checked before the MCP layer sees it: at most 16 KiB, strict JSON, and no more than 1,024 messages within any 60 seconds. A flood ends the gateway (INPUT_REFUSED); a long session of ordinary calls does not. Upstream servers are bounded the same way, and one that stops or floods is disconnected and started again, with its tool definition checked, on the next governed call to it.
Access is checked again after the attempt is durably retained and immediately before the call enters the upstream tool. A revocation at that point prevents the new effect, while an attempt already admitted keeps its uncertain state. No callback, old approval or retained result can replace that check.
Use operations, recovery and access-policy for operator procedures. Snapshot contents are sensitive; protect them as credentials/evidence until the chosen profile's exclusions are verified. Never clear a live lock or recovery journal to make a stuck operation run again.
Optional anchoring barrier
Privileged hosts can configure the live anchoring barrier through the programmatic API. It retains an admitted request while waiting for eligible protected reports, checks a stop latch, and resumes only while no dispatch start exists. The CLI setup does not enable anchoring.
Know its limits in 1.0.0-rc.2. This build includes no qualified report producer, and nothing in it verifies a chain anchor: verifyAnchor returns no report, irontrellis verify takes none, and the diagnostic connector reports cannot release this barrier. A production-profile barrier therefore never opens unless an external producer supplies reports, and it takes the mode a report declares, CONSENSUS_VERIFIED included, on that producer's word. No consensus-verified anchoring is claimed; the separate tools used for the demonstration anchoring records report TRUSTED_NODE only, never consensus-verified.
Established and not established
The package's tests cover the real engine, crash and retry, transport, strict declarations and a packed install. The source tests are src/http-test.test.mjs, src/cooperative-test.test.mjs and src/http-twohop-test.test.mjs; the packed verifier is src/http-verify-install.py with the selected offline dependencies. These are the package's own tests; no separate review of the transport subpaths is claimed here.
This is not a hostile-code sandbox, distributed transaction manager, proof of downstream success or production chain/finality implementation. Upstreams share the configured host trust boundary. Cooperating destinations need their own checkpoint, fencing and deduplication contract. Whole-directory rollback, compromised administrators, a destination's unseen revocation and irreversible effects after dispatch remain distinct risks.
What the gateway records (admissions, refusals, effects, receipts) is signed with runtime session keys, not the owner key, so it stays unattested and unwitnessed until the next owner write; see operations. The attestation policy for PHL, Proof of Human Lineage (ATTESTED), ships in the 1.0.0-rc.2 core; transport test success does not establish every such policy combination.
Dependencies: @ramex-labs/irontrellis, @ramex-labs/irontrellis-remote, jose, @modelcontextprotocol/server and @modelcontextprotocol/client (jose 6.2.12 and the MCP SDK 2.2.0, pinned exactly). Apache-2.0.
Last reviewed: 24 October 2026. This page is revisited at each release.
來源:packages/mcp-gateway/README.md,提交 cd34ad7
工具
0版本歷史
1- v1.0.0-rc.2最新Oct 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分