AdversaryGate MCP Server
by sanflow10io.github.Sanflow10/adversary-gatev2.14.0
Fail-closed merge gate an agent calls before saying done: MERGE, BLOCK or INCONCLUSIVE.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install AdversaryGate MCP server
Install in Claude Code
claude mcp add adversary-gate -- uvx adversary-gate-mcpInstall in Cursor
{
"mcpServers": {
"adversary-gate": {
"command": "uvx",
"args": [
"adversary-gate-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"adversary-gate": {
"command": "uvx",
"args": [
"adversary-gate-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"adversary-gate": {
"type": "stdio",
"command": "uvx",
"args": [
"adversary-gate-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"adversary-gate": {
"command": "uvx",
"args": [
"adversary-gate-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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_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 |
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 1d ago · GitHub
Latest release
2026-10-08 · 1d ago · GitHub · v2.14.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-08 · 1d ago · official registry · v2.14.0
FAQ
›How do I install the AdversaryGate MCP server in Claude Code?
Run: claude mcp add adversary-gate -- uvx adversary-gate-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does AdversaryGate require an API key?
No required environment variables are declared in its published metadata.
›Can I use AdversaryGate as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is AdversaryGate in the official MCP registry?
Yes, as io.github.Sanflow10/adversary-gate.