Diffpilot logo

Diffpilot

Reviews local Git changes, generates commit and PR text, suggests tests, scans secrets, and reports diff statistics through MCP.

Install Diffpilot

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for diffpilot, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The diffpilot MCP server reviews local Git changes and prepares development text before code is pushed. It exposes nine MCP tools for diffs, PR reviews, titles and descriptions, commit messages, changelogs, secret scans, statistics, and test suggestions. Branch comparisons can detect main, master, or develop automatically, while configuration can set a preferred base branch and writing styles. Reach for it when you want local review workflows in VS Code, including air-gapped or Azure DevOps and TFS environments.

Use cases

  • Review local changes before opening a pull request
  • Generate conventional commit messages from staged changes
  • Scan changes for exposed credentials before committing
  • Create pull request descriptions and changelogs
  • Suggest tests for modified code

Key features

  • Automatic base branch detection
  • Nine MCP tools for Git review and developer workflows
  • Secret detection with output redaction
  • Diff statistics and file-type breakdowns
  • Conventional commit and pull request text generation
  • Input validation, rate limiting, and security logging

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit9mo agoMost recent push to the default branch.

How Diffpilot works

What diffpilot MCP server does

The diffpilot MCP server provides nine MCP tools for working with a local Git workspace. It can compare the current branch with a base branch, review the resulting changes, produce pull request text, and summarize repository changes. Other tools generate commit messages and changelogs, identify possible secrets, calculate diff statistics, and recommend tests.

The project is intended for review before a pull request is created, as well as for reviewers who have checked out a feature branch locally. Its Git operations use the workspace folder, so the repository must be available in the environment where the server runs.

How it works

DiffPilot examines local branch and change information rather than sending the work to a hosted review service. Base branch discovery can select main, master, or develop; the default can also be configured. Review prompts may include a requested focus, such as security or error handling.

The tools return generated review or development content to the MCP client. Secret scanning checks changes for items such as API keys, passwords, tokens, JWTs, private keys, and connection strings. Tool output is designed to redact detected secret patterns. The implementation also validates inputs, protects against command injection and path traversal, limits requests to 120 per minute, and records security events to stderr.

Setup and configuration

Installation is available through the VS Code Marketplace, the global .NET tool, or a manual clone and build. The documented commands are:

  • VS Code: ext install BurakKalafat.diffpilot
  • .NET tool: dotnet tool install -g DiffPilot
  • Manual setup: clone the repository and run a .NET build

The documented requirements are the .NET 9 SDK, VS Code 1.101 or newer, and Git. VS Code users can invoke the tools through GitHub Copilot with workspace tool prompts.

Optional settings include diffpilot.defaultBaseBranch, diffpilot.prTitleStyle, and diffpilot.commitMessageStyle. The example configuration uses main and the conventional style for both pull request titles and commit messages.

Tools and capabilities

The nine tools are grouped into two practical sets:

  • get_pr_diff compares the current work with a base branch.
  • review_pr_changes analyzes changes and accepts a review focus.
  • generate_pr_title creates a pull request title.
  • generate_pr_description creates a pull request description with a checklist.
  • generate_commit_message prepares a message for staged changes.
  • scan_secrets checks changes for exposed credentials and related patterns.
  • diff_stats reports additions, removals, and file-type breakdowns.
  • suggest_tests recommends test cases using code patterns.
  • generate_changelog creates changelog content from commits.

These capabilities make the diffpilot MCP server suitable for pre-push review, local reviewer workflows, pre-commit secret checks, and generating routine repository documentation.

Limitations and notes

That makes the server relevant to Azure DevOps, TFS, and air-gapped environments, but it also means the required Git workspace and local runtime must be available.

Review, generated text, and recommendations depend on the local repository state and the changes available to the tools. Secret scanning is a detection aid, and the documented redaction behavior applies to recognized patterns rather than guaranteeing that every sensitive value will be found.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Diffpilot

diffpilot is an MCP server that connects to local Git workspaces and provides tools for comparing branches, reviewing changes, creating commit and PR text, scanning secrets, calculating diff statistics, suggesting tests, and generating changelogs. It runs through the VS Code extension or .NET tool without cloud or external APIs.

Install it from the VS Code Marketplace or as the global .NET tool with `dotnet tool install -g DiffPilot`. Manual installation is also documented through cloning the repository and building it. The requirements are .NET 9 SDK, Git, and VS Code 1.101 or newer for the VS Code option.

It documents VS Code and GitHub Copilot usage, including installation through the VS Code Marketplace and workspace tool prompts.

DiffPilot can look for `main`, `master`, or `develop` automatically when determining the comparison base. You can override that behavior with the `diffpilot.defaultBaseBranch` setting, such as setting it to `main`.

Yes. The `scan_secrets` tool checks changes for patterns including API keys, passwords, tokens, JWTs, private keys, and connection strings. The server also documents automatic redaction of recognized secrets in tool output.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDiffpilot AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/diffpilot?style=directory)](https://allmcps.com/mcp/diffpilot)
HTML Embed
<a href="https://allmcps.com/mcp/diffpilot"><img src="https://allmcps.com/api/badge/diffpilot?style=directory" alt="Diffpilot on AllMCPs" /></a>