Skip to content
Claude Code

code firewall mcp for Claude Code

io.github.egoughnour/code-firewall-mcp

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

client:Claude Code transport:stdio runtime:pypi

Install code firewall mcp in Claude Code

run in your project directory

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

claude mcp add code-firewall-mcp -e FIREWALL_DATA_DIR=<FIREWALL_DATA_DIR> -e OLLAMA_URL=<OLLAMA_URL> -e EMBEDDING_MODEL=<EMBEDDING_MODEL> -e SIMILARITY_THRESHOLD=<SIMILARITY_THRESHOLD> -- uvx code-firewall-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

code firewall mcp in other clients