Skip to content
Claude Desktop

code firewall mcp for Claude Desktop

io.github.egoughnour/code-firewall-mcp

Structural similarity-based code filter. Stops malicious code pattern reaching execution tools.

client:Claude Desktop transport:stdio runtime:pypi

Install code firewall mcp in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "code-firewall-mcp": {
      "command": "uvx",
      "args": [
        "code-firewall-mcp"
      ],
      "env": {
        "FIREWALL_DATA_DIR": "<FIREWALL_DATA_DIR>",
        "OLLAMA_URL": "<OLLAMA_URL>",
        "EMBEDDING_MODEL": "<EMBEDDING_MODEL>",
        "SIMILARITY_THRESHOLD": "<SIMILARITY_THRESHOLD>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

code firewall mcp in other clients