← Back to browse

code-firewall-mcp

Indexed by io.github.egoughnour

About

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

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsFIREWALL_DATA_DIR OLLAMA_URL EMBEDDING_MODEL SIMILARITY_THRESHOLD
Claude Code
claude mcp add --env FIREWALL_DATA_DIR= --env OLLAMA_URL= --env EMBEDDING_MODEL= --env SIMILARITY_THRESHOLD= code-firewall-mcp -- uvx code-firewall-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"code-firewall-mcp","command":"uvx","args":["code-firewall-mcp"],"env":{"FIREWALL_DATA_DIR":"","OLLAMA_URL":"","EMBEDDING_MODEL":"","SIMILARITY_THRESHOLD":""}}'
JSON
{
  "mcpServers": {
    "code-firewall-mcp": {
      "command": "uvx",
      "args": [
        "code-firewall-mcp"
      ],
      "env": {
        "FIREWALL_DATA_DIR": "",
        "OLLAMA_URL": "",
        "EMBEDDING_MODEL": "",
        "SIMILARITY_THRESHOLD": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.