code firewall mcp for Windsurf
io.github.egoughnour/code-firewall-mcp
Structural similarity-based code filter. Stops malicious code pattern reaching execution tools.
client:Windsurf
transport:stdio
runtime:pypi
Install code firewall mcp in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"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>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs