Catalog PyPI
PACKAGE EXPLORERView in registry

adversary-gate-mcp

PyPI

AdversaryGate as an MCP server: a fail-closed merge gate an agent calls before saying done

Versions collected1
Direct dependencies1From release 3.0.14
Last observed20 Oct, 20:03 UTC

README

Version 3.0.14 documentation

adversary-gate-mcp

The MCP server of AdversaryGate, packaged so it runs with one command:

uvx adversary-gate-mcp

It is the same server as pip install "adversary-gate[mcp]" followed by adversary-gate-mcp; this package ships no code of its own and pins adversary-gate[mcp] at its own version.

AdversaryGate runs your tests on the baseline and on the patch and answers MERGE, BLOCK or INCONCLUSIVE. The server gives a coding agent two tools, verify_repo and gate_policy, so it can check its change before saying it is done. The agent only names evidence; the operator sets the rest through the environment:

VariableWhat it sets
ADVERSARY_GATE_BASE_REFthe baseline (e.g. origin/main). Unset, the agent may pick it, and whoever picks the baseline picks the oracle. Pinning names the baseline; it is not a defence against an agent that can write the repository's .git (its refs, objects or configuration) — run such an agent where it cannot, as with any code that runs with your privileges.
ADVERSARY_GATE_PYTHONthe interpreter that runs the tests; one the agent cannot write to
ADVERSARY_GATE_POLICYextra gate flags; evidence flags are refused

Measurement covers Python/pytest today; other languages get INCONCLUSIVE, not a false MERGE. Documentation, limits and the bug ledger: https://github.com/Sanflow10/adversary-gate.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
3.0.1419 Oct 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
sanflow10/adversary-gate

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:03 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:7579a46ed5b6a5ab72792ebfbc2214eeba28e8de6f0cb70a32750391fc22a501