LocalFree

Diffgate MCP server

srbsa/diffgate

Deterministic guardrail for AI-written diffs: AST-based checks for SQLi, SSRF, XXE, hardcoded secrets and over-abstraction, scoped to the changed lines.

5 GitHub stars280 npm downloads / month

Install Diffgate in Claude Code

Claude Code
claude mcp add diffgate -- npx -y diffgate-review
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "diffgate": {
      "command": "npx",
      "args": [
        "-y",
        "diffgate-review"
      ]
    }
  }
}

Frequently asked questions

What does the Diffgate MCP server do?

Deterministic guardrail for AI-written diffs: AST-based checks for SQLi, SSRF, XXE, hardcoded secrets and over-abstraction, scoped to the changed lines.

Is the Diffgate MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Diffgate run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Diffgate to Claude Code?

Run: claude mcp add diffgate -- npx -y diffgate-review

More developer tools MCP servers

View all