Skip to content
Cursor

AdversaryGate for Cursor

io.github.sanflow10/adversary-gate

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

client:Cursor transport:stdio runtime:pypi

Install AdversaryGate in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "adversary-gate": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

AdversaryGate in other clients