Guardbee.ai
@guardbee/mcp-security-proxy

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

v1.42.0MIT · Open sourceNode.js · stdio
Install
$ npx -y @guardbee/mcp-security-proxy
Claude Desktop / Cursor config
{
  "mcpServers": {
    "security-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-security-proxy"
      ]
    }
  }
}
@guardbee/mcp-security-proxy

@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

FeatureDescription
Prompt injection defense16+ patterns including jailbreaks and hidden commands
PII maskingIDs, IBANs, emails, JWTs, API keys in responses
Block / warnPer-interceptor mode
Audit logConsole or file
Zero code changeLaunch the target after —

MCP tools

ToolDescription
proxy_statusActive interceptors and blocked-request stats
Target toolsDownstream MCP tools pass through transparently

Install with npm

Global install (handy for Claude Desktop / Cursor):

bash
<code class="language-bash">npm install -g @guardbee/mcp-security-proxy</code>

or via npx (recommended with -y in config):

bash
<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:

claude_desktop_config.json
<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

  1. “Show recent blocked requests via proxy_status”
  2. “List /tmp through this secured MCP”
  3. “Confirm emails are masked in responses”

Frequently asked questions

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.

See your security posture in minutes

Add your domain, run a read-only scan and get a prioritised list of fixes. No installation required.

Security Proxy & LLM Firewall MCP server (@guardbee/mcp-security-proxy) · GuardBee