Security Proxy & LLM Firewall
MCP security gateway and LLM firewall: masks PII and secrets, blocks prompt injection and toxic flows (lethal trifecta), approves risky calls and keeps a hash-chained audit log, for MCP servers and LLM APIs

@guardbee/mcp-security-proxy is a transparent security layer in front of any MCP server. It catches prompt-injection patterns, masks PII in responses, and audits every hop — no code changes in the target server.
What does it do?
Use it before exposing filesystem, DB, or third-party MCP tools to Claude/Cursor. Requests pass the proxy first; hostile instructions are blocked or warned.
Who is it for?
- Teams connecting multiple MCP servers to Claude or Cursor
- Security owners reducing prompt-injection risk
- Product teams preventing PII leakage in tool responses
What it is not
- Acting as a business-logic MCP by itself (it wraps another server)
- Replacing a network WAF or API gateway
Features
| Feature | Description |
|---|---|
| Prompt injection defense | 16+ patterns including jailbreaks and hidden commands |
| PII masking | IDs, IBANs, emails, JWTs, API keys in responses |
| Block / warn | Per-interceptor mode |
| Audit log | Console or file |
| Zero code change | Launch the target after — |
MCP tools
| Tool | Description |
|---|---|
proxy_status | Active interceptors and blocked-request stats |
Target tools | Downstream MCP tools pass through transparently |
Install with npm
Global install (handy for Claude Desktop / Cursor):
<code class="language-bash">npm install -g @guardbee/mcp-security-proxy</code>or via npx (recommended with -y in config):
<code class="language-bash">npx -y @guardbee/mcp-security-proxy</code>npm: @guardbee/mcp-security-proxy
The proxy runs the command after -- as the target MCP — e.g. wrap the filesystem server.
Claude Desktop configuration
Config file paths:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Merge this block, then restart Claude Desktop:
<code class="language-json">{
"mcpServers": {
"secure-filesystem": {
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-security-proxy",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-filesystem",
"/tmp"
]
}
}
}</code>Cursor and other MCP clients
In Cursor, add the same command / args / env under Settings → MCP. stdio MCP servers use the same contract as Claude Desktop.
Example prompts in Claude
- “Show recent blocked requests via proxy_status”
- “List /tmp through this secured MCP”
- “Confirm emails are masked in responses”
常见问题
Which MCP servers work?+
Most stdio-launched MCP servers; you supply the command after –.
Block or warn?+
Configure per interceptor — prefer block in sensitive environments.
Performance?+
Pattern checks are cheap; watch audit file I/O at high volume.
同类服务器
@guardbee/mcp-db-gateway
Database Gateway
KVKK/GDPR-compliant MCP server gateway between LLMs and databases
了解更多@guardbee/security-suite
Security Suite
MCP security suite: every GuardBee scanner from one install, one MCP server with the tools you pick (OWASP MCP Top 10, secrets, prompt injection, toxic flows, supply chain, TLS/DNS) and a CLI that runs any of them
了解更多@guardbee/mcp-threat-rules
Threat Rules
GuardBee MCP bridge to Agent Threat Rules (ATR) — evaluate agent/MCP events against the open Sigma-like detection standard for prompt injection, tool poisoning, context exfiltration, and MCP attacks
了解更多