Skip to content
Windsurf

prompt-protection for Windsurf

io.github.mughalhere/prompt-protection

Scan prompts, tool definitions and model output for injection, and guard agent tool calls.

client:Windsurf transport:stdio runtime:npm

Install prompt-protection in Windsurf

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

{
  "mcpServers": {
    "prompt-protection": {
      "command": "npx",
      "args": [
        "-y",
        "prompt-protection"
      ]
    }
  }
}

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

prompt-protection in other clients