Skip to content
Grok

AdversaryGate for Grok

io.github.sanflow10/adversary-gate

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

client:Grok transport:stdio runtime:pypi

Install AdversaryGate in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

AdversaryGate in other clients