Skip to main content

Code Firewall MCP

io.github.egoughnour/code-firewall-mcp

v0.7.0Updated Jan 19, 2026stdio · MCPBstdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add code-firewall-mcp -- uvx code-firewall-mcp==0.7.0

Configuration

4 settings.

  • FIREWALL_DATA_DIR
    Env var· optional
    Directory for storing ChromaDB data
  • OLLAMA_URL
    Env var· optional
    URL for Ollama server (default: http://localhost:11434)
  • EMBEDDING_MODEL
    Env var· optional
    Ollama embedding model (default: nomic-embed-text)
  • SIMILARITY_THRESHOLD
    Env var· optional
    Block threshold 0-1 (default: 0.85)

Listed in the official MCP Registry since Jan 19, 2026. Mirrored daily; last checked Nov 26, 2026.