# git-surgeon-mcp

> git-surgeon-mcp — mustafatekiinn-git-surgeon-mcp. Use this tool when you need to safely edit Git history without interactive prompts, to solve problems like messy commit messages or unnecessary commits. It provides non-interactive squashing, rewording, and reflog rescue capabilities, accepting Git repository data as input and producing cleaned-up commit histories as output. Ideal for automating Git history cleanup in continuous integration pipelines or automated development workflows.

Canonical page: https://skillsregistry.net/skills/mustafatekiinn-git-surgeon-mcp  
JSON: https://api.skillsregistry.net/v1/skills/mustafatekiinn-git-surgeon-mcp

## Description

An MCP server that gives AI agents safe, non-interactive Git history editing — squashing, rewording, and reflog rescue — without ever hanging on a Vim buffer.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-29

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-08-29

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/p403aufuue)
- **Repository:** <https://github.com/mustafatekiinn/git-surgeon-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "mustafatekiinn-git-surgeon-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mustafatekiinn-git-surgeon-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mustafatekiinn-git-surgeon-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
