# security-proxy MCP server

> Acts as a transparent security gateway for MCP servers to prevent prompt injection, mask PII, and enforce access policies.

- Repository: https://github.com/GuardBee/guardbee-mcp
- Page: https://hostedmcp.org/servers/guardbee/security-proxy-fa4790
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 1.39.0

## Install

### Claude Code

```sh
claude mcp add security-proxy-fa4790 -- npx -y @guardbee/mcp-security-proxy
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "security-proxy-fa4790": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-security-proxy"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "security-proxy-fa4790": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-security-proxy"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"security-proxy-fa4790","type":"stdio","command":"npx","args":["-y","@guardbee/mcp-security-proxy"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "security-proxy-fa4790": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-security-proxy"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add security-proxy-fa4790 -- npx -y @guardbee/mcp-security-proxy
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.security-proxy-fa4790]
command = "npx"
args = ["-y", "@guardbee/mcp-security-proxy"]
```

### Gemini CLI

```sh
gemini mcp add -s user security-proxy-fa4790 npx -- -y @guardbee/mcp-security-proxy
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "security-proxy-fa4790": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-security-proxy"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `OTEL_EXPORTER_OTLP_ENDPOINT` | no | no |  |
| `OTEL_EXPORTER_OTLP_HEADERS` | no | no |  |
| `OTEL_SERVICE_NAME` | no | no |  |

## FAQ

### What does the security proxy protect against?

It protects against prompt injection attacks, tool-result injection, and the leaking of PII or secrets.

### Can I use this with existing MCP servers?

Yes, it attaches in front of any existing MCP server with zero code changes required.

### How does the gateway mode work?

It allows you to manage several MCP servers behind a single proxy using one YAML policy for allowing, denying, masking, or warning.

### Is telemetry enabled by default?

No, telemetry is turned off by default.
