Skip to main content

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. 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_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 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adversary-gate-mcp 3.0.0
File Size Uploaded
adversary_gate_mcp-3.0.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adversary-gate-mcp 3.0.0
File Interpreter ABI Platform
adversary_gate_mcp-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / adversary_gate_mcp-3.0.0.tar.gz

Download URL adversary_gate_mcp-3.0.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a3ab1dbbe701416447efa02424a41e1182fdc1cfea436769838c340e0e4a35d3
BLAKE2b-256 checksum
How to use checksums
3c799bfc7bee5b1f94f88395484bd6fd10efdf9c304fad159899f25beec1974d
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 11, 2026.

Transparency log

Release files / adversary_gate_mcp-3.0.0-py3-none-any.whl

Download URL adversary_gate_mcp-3.0.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb0bf2a9c3734d78f2f20f744d83d6d44a1a7aaba79235edb7c30391cd06ea02
BLAKE2b-256 checksum
How to use checksums
1189c1209d947f9c8afdba2cd802175b5be8527691106985be74707f78265d00
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 11, 2026.

Transparency log

Release history Release notifications | RSS feed

3.0.4

2 release files

This release

3.0.0 This release

2 release files

2.14.2

2 release files

2.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page