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.4

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.4
File Size Uploaded
adversary_gate_mcp-3.0.4.tar.gz 2.3 kB Details

Built distribution (wheel)

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

Total release size: 4.6 kB

Release files / adversary_gate_mcp-3.0.4.tar.gz

Download URL adversary_gate_mcp-3.0.4.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ae7a7cd39edc8d8e6e9693be2afaf19f4bbe21a57d7faa814295f0e3bb177a46
BLAKE2b-256 checksum
How to use checksums
f8e2583c471b56c4639ff3d82104d651df682275a49b30fdba09db2a43c29d37
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 13, 2026.

Transparency log

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

Download URL adversary_gate_mcp-3.0.4-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e18f51c227bdeff6aebcbbc67a3d4c5134d74ccaacb0b76cc44fefb09bc1118
BLAKE2b-256 checksum
How to use checksums
f52ae73a4414e7ea4c07f75470a3fb7970c357fba18a71841f670ea4b566096a
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 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.0.4 This release

2 release files

3.0.0

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