๐Ÿ“ก MCP Radar

sainitish1609/mcp-guard

๐Ÿ›ก๏ธ Ultra-fast local security firewall, secret sanitizer, and context token compressor for Claude Code, Cursor, and MCP AI agents.

โญ 3 stars
โ‘‚ 0 forks
Go
momentum โ–ฒ 6.0
created 2026-07-20
on radar since 2026-07-25
aiai-agentsclaude-codecontext-compressioncursordeveloper-toolsgoguardrailsllmmcpmcp-servermodel-context-protocolprivacysecurity
View on GitHub โ†—

About mcp-guard

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.

Maintaining this server?

Add the radar badge to your README โ€” it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/sainitish1609--mcp-guard.html)

Related MCP servers

replenhq/replen

Smarter AI Development Workflows

โญ 5TypeScript
menot-you/n-memory

Memory your agent can trust โ€” every answer carries its source; when it doesn't know, it says so. Hermetic, local, MCP.

โญ 5Rust
Smitner-Studio/facet

Render 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.

โญ 4Go
frangelbarrera/code-review-agent-mcp

AI 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.

โญ 5Python
rwnalds/engram

Self-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

โญ 4TypeScript
TeodorMCP/universal-connector-mcp

Universal MCP server: connect any OpenAPI/Swagger, GraphQL, gRPC or SOAP API to AI agents. Security-first, local, token-efficient. Any API. One server.

โญ 3Python

๐Ÿ“ฌ Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.