bkalafat avatar

Diffpilot

bkalafat/diffpilot

A local code review assistant that wraps git diff operations into MCP tools. It exposes nine commands for PR workflows: get_pr_diff, review_pr_changes, generate_pr_title, generate_pr_description, generate_commit_message, scan_secrets, diff_stats, suggest_tests, and generate_changelog. Auto-detects your base branch (main, master, develop) so you don't need to specify it manually. The secret scanning catches API keys, AWS credentials, JWTs, and private keys before you commit. Built in .NET 9, works entirely offline, which makes it suitable for air-gapped environments or Azure DevOps setups. Reach for this when you want AI code review on local changes before pushing, or when reviewing a colleague's branch after checkout.

GitHub stars
6
tools
9
transport
STDIO
last updated
Dec 7, 2025

Tools

9 tools

Public tool metadata for what this MCP can expose to an agent.

get_pr_diffShow diff between my branch and main

Show diff between my branch and main

No parameter schema in public metadata yet.

review_pr_changesReview my PR for security issues

Review my PR for security issues

No parameter schema in public metadata yet.

generate_pr_titleGenerate a conventional PR title

Generate a conventional PR title

No parameter schema in public metadata yet.

generate_pr_descriptionCreate PR description with checklist

Create PR description with checklist

No parameter schema in public metadata yet.

generate_commit_messageGenerate commit message for staged changes

Generate commit message for staged changes

No parameter schema in public metadata yet.

scan_secretsCheck for API keys in my changes

Check for API keys in my changes

No parameter schema in public metadata yet.

diff_statsShow change statistics

Show change statistics

No parameter schema in public metadata yet.

suggest_testsWhat tests should I write?

What tests should I write?

No parameter schema in public metadata yet.

generate_changelogGenerate changelog from commits

Generate changelog from commits

No parameter schema in public metadata yet.

Sponsors

Readme

πŸ” DiffPilot

Local AI Code Review Before You Push

.NET 9 VS Code MCP License: MIT


πŸ’‘ Why DiffPilot?

Review your code locally before creating a PR. DiffPilot is an MCP server that lets you:

  1. Self-Review Before PR - Run AI code review on your local changes after your last commit, before pushing
  2. Reviewer Workflow - As a code reviewer, checkout the source branch locally and get AI-assisted review
  3. Auto Branch Detection - No need to specify main - DiffPilot finds your base branch automatically

πŸ”’ 100% Local - No cloud, no external APIs. Works with Azure DevOps, TFS, air-gapped environments.


πŸš€ Quick Start


View the full README on GitHub

Details

Repository
github.com/bkalafat/diffpilot
Package
DiffPilot
Transport
STDIO
Registry
MCP registry, active