Diffgate
Deterministic guardrail your coding agent runs on itself: diff-scoped findings, zero LLM tokens.
Connector by srbsa · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying Diffgate?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/srbsa-diffgate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 9 read · 1 write · 0 delete · 1 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 11
Read from the source code; the running server may list different tools.
Read 9 · Look things up without changing anything.
diffgate_analyzediffgate_capabilitiesdiffgate_check_stageddiffgate_deep_reviewdiffgate_explaindiffgate_guidelinesfind_referencesgrepread_file
Write 1 · Create, change, send or run things.
diffgate_feedback
Not yet classified 1 · We could not tell from the name and description.
git_blame
Files it touches
- Any path the agent passes to its tools
Tools (11)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
diffgate_analyzeAnalyze a fileread-onlyAnalyze a file for code review findings. Only flags risk on lines changed vs the git baseline (diff-aware). Pass `content` to analyze unsaved or generated code before it is written to disk. When a code graph is available, public-surface findings carry an `impact` field (caller count, suggested reviewers, test gaps) and may be tier-adjusted — fix high-blast-radius findings before surfacing the code.
diffgate_capabilitiesReport active capabilitiesread-onlyReport which DiffGate layers are active (core / code graph / LLM), which tools you can call right now without an error, and the agent autonomy budget (fix limit, escalation, trust source). Call this once up front so you know what's available instead of discovering it via thrown errors.
diffgate_check_stagedCheck staged or working diffread-onlyCheck all staged (or working-tree) changes in a git repo for DiffGate findings. Returns overall tier, counts, and per-file findings across the whole diff, plus a `verdict` block (the agent autonomy ladder: pass/review/blocked overall, with a rung — block/escalate/autofix/advisory — per finding) so you can decide whether to surface the diff without reimplementing the rules.
diffgate_deep_reviewDeep-review a findingread-onlyRun an agentic deep review on a single high-impact (orange) finding. The model uses real repo tools (grep, read_file, find_references, git_blame) to investigate blast radius before rendering a verdict.
diffgate_explainExplain a findingread-onlyGet a concise AI explanation for a DiffGate finding. Faster than diffgate_deep_review — a single LLM call with no tool loops.
diffgate_feedbackRecord a reviewer verdictRecord a reviewer's verdict on a finding so DiffGate learns. verdict 'dismiss' suppresses that same flagged code (ruleId + code) in future reviews (noise reduction); 'confirm' marks it as a real, valued catch. Stored in .diffgate/learnings.json at the repo root.
diffgate_guidelinesReview against repo guidelinesread-onlyReview the diff against the repo's own coding guideline files (AGENTS.md, CLAUDE.md, .cursorrules, etc.), scoped per directory (nearest file wins). IMPORTANT: if the result has mode='host', NO external model was used — this is a SELF-REVIEW, not an independent gate: YOU (the calling agent) evaluate each group's `hunks` against its `guidelines` text using your own model. Treat host-mode results as ADVISORY only — never block the change on them. If mode='model', findings were produced by the configured provider and are returned directly.
find_referencesFind references to a symbol name across the repository (whole-word search).
git_blameWho last changed a specific line (author, commit, summary).
grepSearch the repository with an extended-regex pattern. Returns matching file:line:text.
read_fileRead a file (optionally a line range, max 200 lines) from the repository.
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit
- Jul 27, 2026 (3 months ago)
- Last release
- Jul 28, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.srbsa/diffgate- Version
- 0.8.0
- Auth
- No auth
- Packages
- npm diffgate-review
- License
- Apache-2.0
- Repository
- github.com/srbsa/diffgate
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from srbsa
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Diffgate running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Diffgate MCP server. Agent Mart. https://agentmart.dev/connectors/srbsa-diffgate (last updated 2026-10-24)