Polarity for Zed
io.github.radar989/polarity-mcp
Real-time threat intelligence lookups and IOC parsing from your self-hosted Polarity instance.
client:Zed
transport:stdio
runtime:npm
Install Polarity in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"polarity-mcp": {
"command": "npx",
"args": [
"-y",
"@polarityio/mcp-connector"
],
"env": {
"POLARITY_SERVER_URL": "<POLARITY_SERVER_URL>",
"POLARITY_TOKEN": "<POLARITY_TOKEN>",
"POLARITY_IGNORE_SSL": "<POLARITY_IGNORE_SSL>",
"POLARITY_TIMEOUT_MS": "<POLARITY_TIMEOUT_MS>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs