Server data from the Official MCP Registry
AI agents propose content changes; a human reviews them; only reviewed work can publish.
About
AI agents propose content changes; a human reviews them; only reviewed work can publish.
Security Report
This is a small, mostly well-scoped MCP server that proxies a Safety Gate GraphQL API and reads its credentials from environment variables, with no hardcoded secrets or shell execution. The main concern is that the generic runWorkflow tool can run LIVE without a review run ID, so the human-review gate depends entirely on the backend enforcing it, which the code does not verify. Remaining issues are low-severity: the bearer token can be sent over plain HTTP if misconfigured, identity headers are trusted from local config, and input validation is minimal. Supply chain analysis found 7 known vulnerabilities in dependencies (1 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 13 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: DOCMODEL_API_ENDPOINT
Environment variable: DOCMODEL_API_TOKEN
Environment variable: DOCMODEL_USER_ID
Environment variable: DOCMODEL_PROJECT_ID
Environment variable: DOCMODEL_USER_ROLE
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"doc-model-safety-gate": {
"command": "npx",
"args": [
"-y",
"doc-model-safety-gate@0.1.2"
],
"env": {
"DOCMODEL_USER_ID": "your-docmodel-user-id-here",
"DOCMODEL_API_TOKEN": "your-docmodel-api-token-here",
"DOCMODEL_USER_ROLE": "your-docmodel-user-role-here",
"DOCMODEL_PROJECT_ID": "your-docmodel-project-id-here",
"DOCMODEL_API_ENDPOINT": "your-docmodel-api-endpoint-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub 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
| Tool | What it does |
|---|---|
listPendingReviews | List gate runs that still have outputs waiting for a decision. |
getGateReview | Read one gate run's outputs: field, original value, AI value, status. |
reviewOutput | Accept, reject, or edit a single output. |
bulkReviewOutputs | Accept or reject every pending output in a run at once. |
publishReviewedRun | Run a workflow live, gated on its review run. The review run ID is required — there is no way to call this "around" the gate. |
rollbackRun | Roll a published workflow run back. |
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.
npx doc-model-safety-gate
Or from source:
npm install
npm run build
node dist/index.js
Configuration
| Environment variable | Required | Purpose |
|---|---|---|
DOCMODEL_API_ENDPOINT | yes | GraphQL endpoint of the Safety Gate API, e.g. http://localhost:4001/graphql |
DOCMODEL_API_TOKEN | yes | Bearer token sent to the API |
DOCMODEL_USER_ID | yes | Identity the server acts as (sent as the x-user-id header) |
DOCMODEL_PROJECT_ID | for member access | Project the server is scoped to (x-project-id) |
DOCMODEL_USER_ROLE | no | member (default) or admin |
The older STRATA_* spellings of all five variables still work as fallback aliases.
Claude Desktop / Cursor
{
"mcpServers": {
"doc-model-safety-gate": {
"command": "npx",
"args": ["-y", "doc-model-safety-gate"],
"env": {
"DOCMODEL_API_ENDPOINT": "http://localhost:4001/graphql",
"DOCMODEL_API_TOKEN": "your-token",
"DOCMODEL_USER_ID": "your-user-id",
"DOCMODEL_PROJECT_ID": "your-project-id",
"DOCMODEL_USER_ROLE": "member"
}
}
}
}
Claude Code
claude mcp add doc-model-safety-gate \
-e DOCMODEL_API_ENDPOINT=http://localhost:4001/graphql \
-e DOCMODEL_API_TOKEN=your-token \
-e DOCMODEL_USER_ID=your-user-id \
-e DOCMODEL_PROJECT_ID=your-project-id \
-- npx -y doc-model-safety-gate
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.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
