Full git MCP server for LLM agents — 17 tools, AST annotator, auto-backups, real plumbing.
Git MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Full git MCP server for LLM agents — 17 tools, AST annotator, auto-backups, real plumbing.
An MCP server that gives AI agents a full, safe interface to Git — not just commits, the whole surface: status, diff, branch, stash, history, sync. Every mutation backs itself up automatically. Nothing routes through Bash, so there's no git reset --hard happening behind your back.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Once Git is connected, these are the calls the assistant has available:
status — —diff — —commit — PREVIEW → APPLYbranch — CREATE / SWITCH / DELETE / RENAME / LISTstage — RM / RESTORE / CLEANstash — SAVE / POP / SHOWhistory — LOG / REFLOG / BLAMEsync — PUSH / PULL / FETCHpr-review — —backup — RESTORE / LISTrewrite — AMEND / REVERT / SOFT / HARDintegrate — MERGE / UPDATE / PICK / CONTINUE / ABORTPlenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Git's toolset — status, diff, commit and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Alejandro-M-P; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| status | — |
| diff | — |
| commit | PREVIEW → APPLY |
| branch | CREATE / SWITCH / DELETE / RENAME / LIST |
| stage | RM / RESTORE / CLEAN |
| stash | SAVE / POP / SHOW |
| history | LOG / REFLOG / BLAME |
| sync | PUSH / PULL / FETCH |
| pr-review | — |
| backup | RESTORE / LIST |
| rewrite | AMEND / REVERT / SOFT / HARD |
| integrate | MERGE / UPDATE / PICK / CONTINUE / ABORT |
| session | start / finish / status / select / discard |
| Session | session start → isolated worktree + branch. All MCP tools redirect there. session finish closes and cleans up. session discard throws it away. |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.