
DOC Model Safety Gate
io.github.laceykes由 GitHub 帳號 laceykes 發布v0.1.2更新於 Nov 20, 2026
AI agents propose content changes; a human reviews them; only reviewed work can publish.
概覽
本機 MCP 伺服器,將 AI 提出的內容變更暫存待人工審核,只有審核通過的執行才能發布。
- 可以做什麼
- 列出並檢視仍有待處理 AI 輸出的審核執行,含欄位、原值與 AI 值
- 接受、拒絕或編輯單筆輸出,或對一次執行中所有待處理輸出批次接受/拒絕
- 在審核執行通過後正式發布工作流程執行,並回滾已發布的執行
- 透過其他 Safety Gate API 工具檢查工作流程與圖結構
- 適用情境
- 適用於 AI 代理在 CMS 或 Operations 層起草內容變更、且希望在上線前由人工決定的情境,且此限制由後端強制執行而非僅靠慣例。
- 執行需求
- 透過 npx(Node.js)以 stdio 方式在本機執行,需要一個可連線的 Safety Gate GraphQL API 端點。必要環境變數:DOCMODEL_API_ENDPOINT、DOCMODEL_API_TOKEN 與 DOCMODEL_USER_ID;成員存取另需 DOCMODEL_PROJECT_ID,DOCMODEL_USER_ROLE 為選用。此版本不含託管端點。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 DOC Model Safety Gate,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
DOC Model Safety Gate
An AI can draft the change. It cannot publish it.
The DOC Model builds software in three layers — Data, Operations, Components. This MCP server enforces the DOC rule for AI agents working in the Operations layer: an agent can propose changes to your content, but every proposal is staged for human review, and only reviewed work can go live.
AI agents can write to your CMS the moment you connect them to it. This server puts a gate in between: everything an agent produces is staged for review, a human decides, and only reviewed work can go live. If an output is still pending, the publish call itself is refused — the gate is enforced by the backend, not by a warning label.
The rule
- Propose — a workflow runs in dry-run mode. Nothing can publish from a dry run.
- Stage — AI outputs land in the Safety Gate with their original and proposed values, field by field.
- Review — a human accepts, rejects, or edits each output. Bulk review is available for whole runs.
- Publish — a live run is only permitted once its review run has no pending or rejected outputs. Attempting to publish early returns an error: "Node … has pending AI output. Review all outputs before LIVE run."
- Roll back — a published run can be rolled back when snapshots exist.
Tools
The server also includes workflow inspection and graph tools for the Safety Gate API; the gate tools above are the supported launch surface (see Status).
Quickstart
The server is a stdio MCP server that talks to a Safety Gate GraphQL API endpoint.
Or from source:
Configuration
The older STRATA_* spellings of all five variables still work as fallback aliases.
Claude Desktop / Cursor
Claude Code
See it work
The loop at the top of this page is the real behavior, captured from a working local demo: an AI summary is proposed, staged in the Gate, and a publish attempted before review is refused by the backend; after the reviewer accepts, the identical call succeeds. The full build story — including the blocked publish, caught live — is told at thedocmodel.com.
The demo environment (Postgres + PostgREST + a mock CMS + the Safety Gate API) is not part of this repository; the server requires a Safety Gate API endpoint (see Status).
Status
Pre-1.0 and under active packaging. Verified end-to-end against a local Safety Gate API on 2026-11-12: pending reviews list and open correctly, human review flips output status, unreviewed publishes are refused by the backend, and reviewed publishes execute. The server requires a Safety Gate API endpoint; a hosted endpoint is not part of this release.
License
MIT — see LICENSE. Use it, build on it, ship it commercially if you like; the hosted layer and the DOC Model name stay ours.
Built by Lacey Kesler. The DOC Model Safety Gate is the enforcement layer of the DOC Model (Data · Operations · Components) — taught at thedocmodel.com: AI proposes, humans decide, and the audit trail shows both.
來源:README.md,提交 18ad4a3
工具
0版本歷史
1- v0.1.2最新Nov 20, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Model 整合

model.tools — Zero-Auth Agent Utilities
tools.model官方發布者
零認證遠端工具伺服器,讓代理程式讀取一次性信箱驗證碼、保存檢查點、接收 Webhook、排定喚醒、取得任務回執,並把網頁轉成 Markdown。
NLP.COM.AI Open Model Catalog
ai.com.nlp官方發布者
搜尋精選的開放權重AI模型發布、授權條款、架構和原始來源。AI 翻譯

Hologram Model Hub
foundation.uor.hub官方發布者
一個遠端 MCP 伺服器,讓助理搜尋開放模型索引,並取得附有 SHA-256 校驗值的下載連結。

MCPShelf Model Context Protocol Registry, Search & Security Auditor
由 GitHub 帳號 RitualDev-Lab 發布
本機 MCP 登錄目錄瀏覽工具,讓助理搜尋、比較 400 多個 MCP 伺服器的信任評分並取得安裝設定片段。

ModelPick
由 GitHub 帳號 Leizhidong-creator 發布
本機 stdio MCP 伺服器,為每個任務節點推薦應使用的 AI 模型,並提供每個已解決任務的成本與接入方式。