mcpbeat Sign in

AdversaryGate MCP Server

by sanflow10 Your server? Claim it
local only

AdversaryGate runs on your own machine — the client starts it, so there is no endpoint to ping. 1 085 installs a week from pypi. Last commit 28 Oct 2026.

Fail-closed merge gate an agent calls before saying done: MERGE, BLOCK or INCONCLUSIVE.

Installs per day peak 800 · avg 306 · -40% w/w
a month agotoday
1 085
Installs / week
pypi · adversary-gate-mcp
4
Stars
0 open issues
28 Oct 2026
Last commit
from GitHub
AGPL-3.0
License
Python

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add adversary-gate -- uvx adversary-gate-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "adversary-gate": {
      "command": "uvx",
      "args": [
        "adversary-gate-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.adversary-gate]
command = "uvx"
args = ["adversary-gate-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "adversary-gate": {
      "command": "uvx",
      "args": [
        "adversary-gate-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "adversary-gate": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "adversary-gate-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: ADVERSARY_GATE_BASE_REF (Baseline git ref (e.g. origin/main). Unset, the agent may pick it, and whoever picks the baseline picks the oracle), ADVERSARY_GATE_REQUIRE_PINNED_BASE (Set to 1 to refuse any run without ADVERSARY_GATE_BASE_REF, so the agent can never choose the baseline (the oracle)), ADVERSARY_GATE_PYTHON (Interpreter that runs the tests; must be one the agent cannot write to), ADVERSARY_GATE_POLICY (Extra gate flags set by the operator; evidence flags are refused).

Alternatives to AdversaryGate

same job, measured the same way
Verity MCP
by meloliva14

Fail-closed verify-before-you-act gate for AI agents. Signed receipts. Pay-per-call via x402.

105 installs/wk local only
Protect MCP
by scopeblind

Fail-closed Cedar policy gate + Ed25519 signed receipts for agent tool calls. Denies on any error.

local only
Tripwire
by bonesdefi

Security gateway for MCP agents: blocks prompt-injection-driven tool calls before they execute.

47 installs/wk local only
AETRE & The Governed Agent
by grayclayton

Decision-theoretic triage and fail-closed agent gating: 32 tools over stdio.

local only
SpendGate
by toolweather

Score a planned spend before an agent pays. Verdicts: approve, ask_human, or block.

4 tools answering
Kaval
by usekaval

Verify the facts an agent's action depends on before it acts — ALLOW, REVIEW, or BLOCK.

142 installs/wk local only
Kaval
by lufemc

Verify the facts an agent's action depends on before it acts — ALLOW, REVIEW, or BLOCK.

local only
IRL Gateway
by norve-labs

An AI agent's trading mandate it can't break: checked before every order, reasoning sealed in IRL.

142 installs/wk local only

AdversaryGate — questions

Answers built from our own checks of this server.

Why is there no uptime for AdversaryGate?
AdversaryGate runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package adversary-gate-mcp was installed 1 085 times last week.
How do I connect AdversaryGate?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls adversary-gate-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use AdversaryGate?
The pypi package adversary-gate-mcp was installed 1 085 times in the last week. Week over week that is -40%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is AdversaryGate open source?
Yes — it is published under the AGPL-3.0 licence, written in Python and 4 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.