Skip to content
Windsurf

AdversaryGate for Windsurf

io.github.sanflow10/adversary-gate

Fail-closed merge gate an agent calls before saying done: MERGE, BLOCK or INCONCLUSIVE.

client:Windsurf transport:stdio runtime:pypi

Install AdversaryGate 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": {
    "adversary-gate": {
      "command": "uvx",
      "args": [
        "adversary-gate-mcp"
      ],
      "env": {
        "ADVERSARY_GATE_BASE_REF": "<ADVERSARY_GATE_BASE_REF>",
        "ADVERSARY_GATE_PYTHON": "<ADVERSARY_GATE_PYTHON>",
        "ADVERSARY_GATE_POLICY": "<ADVERSARY_GATE_POLICY>"
      }
    }
  }
}

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

AdversaryGate in other clients