Zn Gate MCP server
io.github.usezn/zn-gate·v1.14.1·2 starsThe local security layer for coding agents: secret redaction, injection checks and an MCP proxy.
not scanned yet
2 stars180 downloads/wk
Reviews
Write oneNobody has reviewed Zn Gate yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Zn Gate tools
No tool declarations could be read from the package source. They show once the server is installed.
How Zn Gate compares
Against every graded Security MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 66% of 918 Security servers
- GitHub stars
- 2
- more than 75% of 585 Security servers
- Downloads a week
- 180
- more than 74% of 240 Security servers with a package
Release history: 10 versions in the registry since 2026-10-12, latest 2026-10-28, typically one every 1 day.
Install Zn Gate in Claude Code, Cursor or VS Code
Runs npx -y zn-gate on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add zn-gate -- npx -y zn-gate
What the publisher says
From the Zn Gate repository's README, as published. We do not edit it. Read it on GitHub
zn-gate
Use AI coding agents without exposing your secrets, your data or your systems. An open-source security layer that runs on your machine, between your agent and the tools and content it touches.
Docs · npm package · Python package · Security · Discord
For: developers using Claude Code, Codex CLI, Cursor, OpenCode or any MCP client, and teams building agents with MCP, LangChain, CrewAI or LlamaIndex.
What it does: keeps secret values out of what your agent sends to its model, checks what your agent reads and calls for prompt injection, and audits prompts, skills and configs. Everything runs on your machine, is MIT-licensed and needs no account. The Python package has no runtime dependencies; the npm package's only one is age-encryption (with its @noble/@scure dependencies) for the secret vault, bundled in the package.
Install
Keep secrets out of your agent's context. The secrets scrubber and broker for coding agents keeps real values in an encrypted vault on your machine, and your agent works with markers such as ZNSTRIPEKEY.
npm install -g zn-gate # Node.js 18+
zn unlock # create or unlock the local vault
zn env shadow .env # move .env values into the vault, leave markers
zn hooks install claude-code # or: codex, cursor, opencodeCursor support is partial: zn-gate can only rewrite the output of MCP tools there, not of shell commands or file reads.
Five-minute walkthrough: docs/secrets.md. What each agent supports: docs/compat.md. Limits: docs/threat-model.md.
Add zn-gate as an MCP server. Pick your agent. Each command adds zn-gate as an MCP server (Node.js 18+).
Claude Code
claude mcp add zn-gate -- npx -y zn-gate mcpCodex CLI
codex mcp add zn-gate -- npx -y zn-gate mcpCursor: add to ~/.cursor/mcp.json
{ "mcpServers": { "zn-gate": { "command": "npx", "args": ["-y", "zn-gate", "mcp"] } } }OpenCode: add to ~/.config/opencode/opencode.json
{ "mcp": { "zn-gate": { "type": "local", "command": ["npx", "-y", "zn-gate", "mcp"], "enabled": true } } }Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Zn Gate: common questions
- Is Zn Gate MCP server safe?
- Mostly: it is graded B (82/100). Read the Zn Gate safety report
- How do I install Zn Gate?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Zn Gate need an API key?
- Yes. The registry entry asks for
ZN_API_KEY. - Is Zn Gate maintained?
- The last commit was 21 days ago (2026-10-12). The latest release is v1.14.1.
- What can I use instead of Zn Gate?
- Servers from other publishers that do the same job: Jikida MCP server, Safeinstall MCP server and Phantom Secrets MCP server. Compare all Zn Gate alternatives.
- How does Zn Gate compare with other Security MCP servers?
- safety score 82/100 (higher than 66% of 918 Security servers); github stars 2 (more than 75% of 585 Security servers); downloads a week 180 (more than 74% of 240 Security servers with a package). Full comparison.
Alternatives to Zn Gate
Same job from other publishers: the closest match first, then the best rated.
- JikidaSecurity tools for your AI: scan, pentest, check headers, guard code and scan repos for secrets.not reviewedGrowingA
- SafeinstallLocal-first supply-chain security gate for npm/pnpm/bun: typosquat, release age, provenance checksnot reviewedGrowingA
- Phantom SecretsValue-blind secret metadata and gated workflows for AI coding agents through Phantom's local proxy.not reviewedGrowingC
- SkylosDead code, security, secrets detection and code quality for Python, TypeScript, Go.not reviewedEstablishedC
- MCPProxyLocal-first MCP proxy with BM25 tool discovery, security scanning, quarantine & ~99% token savingsnot reviewedGrowingB