diffgate for VS Code
io.github.srbsa/diffgate
Deterministic guardrail your coding agent runs on itself: diff-scoped findings, zero LLM tokens.
client:VS Code
transport:stdio
runtime:npm
Install diffgate in VS Code
.vscode/mcp.json
{
"servers": {
"diffgate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"diffgate-review"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs