Zn Gate
Local MCP security layer that checks prompt injection, redacts secrets, and audits agent access to tools and content.
Install Zn Gate
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"zn-gate": {
"command": "npx",
"args": [
"-y",
"zn-gate"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Protect Claude Code sessions from secret exposure
- Check MCP and tool content for prompt injection
- Move .env values into a local encrypted vault
- Add redaction and policy checks to LangChain tools
- Audit which local resources coding agents can reach
Key features
- Prompt-injection checks
- Secret redaction and blocking
- Local vault for environment values
- Hooks for Codex CLI, Cursor, and OpenCode
- Claude Code plugin
- MCP server mode
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 8d ago via OSV.dev · zn-gate (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Zn Gate works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Zn Gate
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/zn-gate)<a href="https://allmcps.com/mcp/zn-gate"><img src="https://allmcps.com/api/badge/zn-gate?style=directory" alt="Zn Gate on AllMCPs" /></a>