Safely edit Git history without interactive editors.
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "git-surgeon-mcp" yet — see the docs or source repo.
Use git-surgeon-mcp to safely squash the last few commits into one while keeping history tidy.
A non-interactive Git squash result.
Use git-surgeon-mcp to reword the latest commit message without opening Vim or any interactive editor.
An updated commit message and adjusted history.
Use git-surgeon-mcp to recover a mistakenly deleted commit from the reflog and restore it safely.
A recoverable commit reference or restored Git state.
Developers can use it before merging to squash and reword messy commits. It automates Git history editing in a safe, non-interactive way.
When a commit is lost after a reset or deletion, it can help recover it via reflog. It reduces manual investigation time.
In automation or agent-driven environments, interactive buffers like Vim can block workflows. This MCP server provides non-interactive Git history editing.
It is an MCP server that lets AI agents safely edit Git history in a non-interactive way. It supports squashing, rewording, and reflog rescue, without getting stuck in a Vim buffer.
According to the description, it mainly squashes commits, rewords commit messages, and rescues commits from reflog. Its focus is safe Git history editing.
No. Its goal is to provide non-interactive Git history editing and avoid getting stuck in interactive flows like a Vim buffer.
Use AI to safely handle full Git operations and advanced workflows.
Connect GitHub repos so AI can analyze and build from real code.
Safely manage Git worktrees for parallel branches and AI-assisted development.
Create conventional Git commits, update changelogs, and optionally push repository changes.
Run local Git workflows with enforced commit and branch naming conventions.
Connect AI assistants to GitHub and GitLab for issue-to-PR automation.