Skip to content
Windsurf

MCP-Bastion for Windsurf

io.github.vaquarkhan/mcp-bastion

Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.

client:Windsurf transport:stdio runtime:pypi

Install MCP-Bastion in Windsurf

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

{
  "mcpServers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}

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

MCP-Bastion in other clients