Skip to content
Zed

injectshield for Zed

io.github.bch1212/injectshield

Prompt-injection firewall for AI agents — scan untrusted text before LLM calls.

client:Zed transport:stdio runtime:npm

Install injectshield 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": {
    "injectshield": {
      "command": "npx",
      "args": [
        "-y",
        "@injectshield/mcp"
      ],
      "env": {
        "INJECTSHIELD_API_KEY": "<INJECTSHIELD_API_KEY>",
        "INJECTSHIELD_API_BASE": "<INJECTSHIELD_API_BASE>"
      }
    }
  }
}

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

injectshield in other clients