๐ก๏ธ Ultra-fast local security firewall, secret sanitizer, and context token compressor for Claude Code, Cursor, and MCP AI agents.
The local privacy firewall, prompt-injection shield, secret sanitizer, and token compressor for AI coding agents.
A zero-dependency security proxy for Model Context Protocol (MCP) servers.
mcp-guard is an ultra-fast, zero-dependency Go binary that sits transparently between your editor (Claude Code, Cursor, VS Code, Copilot) and any Model Context Protocol (MCP) server โ over stdio or HTTP/SSE.
It ensures your API keys, database credentials, and protected paths (~/.ssh, .env, .git) are never leaked to cloud LLMs, that malicious content cannot hijack your agent, and that autonomous tool execution cannot touch what it shouldn't โ all while trimming token spend.
When AI agents run tools like @modelcontextprotocol/server-filesystem or postgres-mcp, they read raw files and query results straight off your machine. Three things go wrong:
1. Secrets leak. A file with AWS keys, JWTs, or DB passwords gets shipped verbatim to a cloud LLM. 2. Agents get hijacked. A file or web page can carry hidden instructions โ invisible Unicode or "ignore all previous instructions" โ that the model obeys (prompt injection / tool poisoning). 3. Agents overreach. An autonomous agent overwrites ~/.ssh/authorizedkeys, pipes curl โฆ bash, or reads 100 files in a burst.
mcp-guard runs locally and fixes all three without breaking agent execution:
- ๐ Zero-Trust I/O Inspection โ intercepts both requests and responses on every transport. - โก Zero-Dependency Go Binary โ pure standard library, sub-millisecond overhead. - ๐ Recoverable Guardrail Errors โ returns structured isError: true results so agents s
From the project README.
Add the radar badge to your README โ it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/sainitish1609--mcp-guard.html)
Smarter AI Development Workflows
menot-you/n-memoryMemory your agent can trust โ every answer carries its source; when it doesn't know, it says so. Hermetic, local, MCP.
Smitner-Studio/facetRender agent-written Markdown as a live local page, and send the human's click back to the agent as typed data. Human-in-the-loop approval gates for coding agents.
frangelbarrera/code-review-agent-mcpAI code review agent MCP server. Reviews code like a kernel maintainer: blunt, technical, no sugarcoating. Detects bugs + OWASP Top 10 security vulnerabilities. 4 harshness levels. Anti-RLHF.
rwnalds/engramSelf-hosted MCP server + dashboard giving Claude Code, Cursor & Hermes agents shared long-term memory over a git-backed markdown vault. Agent-native, Obsidian-compatible second brain โ markdown RAG, n
TeodorMCP/universal-connector-mcpUniversal MCP server: connect any OpenAPI/Swagger, GraphQL, gRPC or SOAP API to AI agents. Security-first, local, token-efficient. Any API. One server.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.