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: a commit id or a remote-tracking ref (origin/main); a local branch, tag or HEAD is refused unless ADVERSARY_GATE_ALLOW_LOCAL_PIN=1. 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.18

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.18
File Size Uploaded Provenance Actions
adversary_gate_mcp-3.0.18.tar.gz 2.5 kB With provenance Details for adversary_gate_mcp-3.0.18.tar.gz

Built distribution (wheel)

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

Total release size: 4.8 kB

Release files / adversary_gate_mcp-3.0.18.tar.gz

Download URL adversary_gate_mcp-3.0.18.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fad03dcf257ba20e5e87dc3849500d69850d493a87287fcab9ed7f6efe4ce48d
BLAKE2b-256 checksum
How to use checksums
7948c16c25884f09ea0a1013853e31696164a11e0bd02297c8ee479b0e2382f5
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 Nov 21, 2026.

Transparency log

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

Download URL adversary_gate_mcp-3.0.18-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77c1099833f3000100f1107e44d6a4d6be948d9506e0db0499c47c54b0f6b592
BLAKE2b-256 checksum
How to use checksums
d2bd8197fcca6270c20c26943e62eba2a999c8d72df2f4a3affa41a9f1896ae2
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 Nov 21, 2026.

Transparency log

Security for adversary-gate-mcp 3.0.18

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for adversary_gate_mcp-3.0.18.tar.gz

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 Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.18 This release

2 release files Full provenance

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