Skip to content
Windsurf

injectshield for Windsurf

io.github.bch1212/injectshield

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

client:Windsurf transport:stdio runtime:npm

Install injectshield in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

{
  "mcpServers": {
    "injectshield": {
      "command": "npx",
      "args": [
        "-y",
        "@injectshield/mcp"
      ],
      "env": {
        "INJECTSHIELD_API_KEY": "<INJECTSHIELD_API_KEY>",
        "INJECTSHIELD_API_BASE": "<INJECTSHIELD_API_BASE>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

injectshield in other clients