MCP directory
A

AdversaryGate

by github.com/Sanflow10 · v3.0.18 · updated Nov 21, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx adversary-gate-mcp==3.0.18

Environment variables

  • ADVERSARY_GATE_BASE_REF

    Baseline git ref (e.g. origin/main). Unset, the agent may pick it, and whoever picks the baseline picks the oracle

  • ADVERSARY_GATE_REQUIRE_PINNED_BASE

    Set to 1 to refuse any run without ADVERSARY_GATE_BASE_REF, so the agent can never choose the baseline (the oracle)

  • ADVERSARY_GATE_PYTHON

    Interpreter that runs the tests; must be one the agent cannot write to

  • ADVERSARY_GATE_POLICY

    Extra gate flags set by the operator; evidence flags are refused

More MCP servers