Skip to content
Zed

GEO Shield for Zed

io.github.krishnagauss/geo-shield

Detects hidden AI prompt injection, AI recommendation poisoning, sneaky redirects and hidden spam.

client:Zed transport:stdio runtime:npm

Install GEO Shield in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "geo-shield": {
      "command": "npx",
      "args": [
        "-y",
        "geo-shield-mcp"
      ],
      "env": {
        "GEO_SHIELD_DB_PATH": "<GEO_SHIELD_DB_PATH>",
        "GEO_SHIELD_RETENTION_DAYS": "<GEO_SHIELD_RETENTION_DAYS>",
        "GEO_SHIELD_ALLOWED_PORTS": "<GEO_SHIELD_ALLOWED_PORTS>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

GEO Shield in other clients