code firewall mcp for Zed
io.github.egoughnour/code-firewall-mcp
Structural similarity-based code filter. Stops malicious code pattern reaching execution tools.
client:Zed
transport:stdio
runtime:pypi
Install code firewall mcp in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"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>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs