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:
| Variable | What it sets |
|---|---|
ADVERSARY_GATE_BASE_REF |
the baseline (e.g. origin/main). Unset, the agent may pick it, and whoever picks the baseline picks the oracle |
ADVERSARY_GATE_PYTHON |
the interpreter that runs the tests; one the agent cannot write to |
ADVERSARY_GATE_POLICY |
extra 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.
Metadata
Release files for adversary-gate-mcp 2.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adversary_gate_mcp-2.9.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adversary_gate_mcp-2.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / adversary_gate_mcp-2.9.0.tar.gz
| Download URL | adversary_gate_mcp-2.9.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28a22d3aff535f3cac2d878b6f9e766a5c60a569f79e42d0db5b5b54b4ec292a
|
|
BLAKE2b-256 checksum How to use checksums |
d04e2d5c9c00ac911a4bb4d1b8223e64050c7dceff7bfd27b3cdccd7b7d6d9d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logRelease files / adversary_gate_mcp-2.9.0-py3-none-any.whl
| Download URL | adversary_gate_mcp-2.9.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a30bf1fd1e5230def42f0452b46277ebf0340abf5de0534f273ee3f67692fe4e
|
|
BLAKE2b-256 checksum How to use checksums |
798efcee2f08b83b706d16b5cc9c174a3844be6a7f093bfb7eb5f6dcb95f337c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency log