Skip to content
MCP server

Git Courer

Git MCP server giving AI agents structured, auto-backed-up access to repositories

Pricing
Open source
Platforms
CLI, macOS, Linux
Version
2.0.4
Listing updated
today

Similar MCP servers

About Git Courer

Git Courer is an open-source MCP server for developer tools. It is available on CLI, macOS, Linux and self-hosted.

The README says git-courer is an MCP server that exposes most of Git's day-to-day surface to coding agents, from status and diff through branches, stashes, history and remote sync. Every write operation is backed up before it runs, and the project states that commands do not route through Bash, so agents don't run raw commands like hard resets on the side.

Results come back as structured JSON rather than raw Git text. Agents work in isolated worktrees created by a session command, and commit messages are drafted by a local LLM through Ollama when that option is enabled. Commit type classification is handled by the Go code using AST analysis, with the agent able to override it.

The README describes it as aimed at developers who run coding agents against their own repositories and want more control over what those agents change. It also notes an LLM-free mode for machines without a GPU, in which the agent writes commit messages itself.

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

status
Full repository state including branch, changes, conflicts and stash.
diff
Diff output annotated with AST tags.
commit
Three-phase preview, review and apply commit pipeline.
branch
Create, switch, delete, rename and list branches.
stage
Remove, restore and clean staging area entries.
stash
Save, pop and show stashes.
history
Log, reflog and blame inspection.
sync
Push, pull and fetch against remotes.
pr-review
Tests, conflicts, diff stats and divergence in one call.
backup
Restore or list automatic backups.
rewrite
Amend, revert, soft and hard reset operations.
integrate
Merge, update, pick, continue and abort integration operations.
session
Start, finish, status, select and discard isolated worktree sessions.

What it does

Structured Git tool surface
Thirteen MCP tools cover status, diff, branch, stash, history, sync, rewrite and integration operations.
Automatic backups
Every mutating operation is backed up before it executes, and a restore command can undo it.
Isolated agent worktrees
Session commands create a separate worktree and branch per agent, then clean them up on finish or discard.
Deterministic commit typing
Commit type is decided by AST and dependency analysis, with an override parameter for the agent.
Optional local LLM messages
Commit messages can be written by a local model through Ollama, or by the agent when the LLM toggle is off.
Client setup and diagnostics
A setup command configures supported agent clients and a doctor command reports their configuration state.

Good for

  • Letting a coding agent commit, branch and sync without running raw git commands
  • Isolating parallel agent sessions in separate worktrees
  • Recovering from an agent's history rewrite through backup restore
  • Running pull request checks that combine tests, conflicts and diff stats
  • Generating release changelogs from commit history with a local model

Pricing

Open source

Free and open source; the README does not state a licence.

More servers for the same service

Git Courer FAQ

Does it need a GPU or a local LLM?

No. The README says the LLM toggle can be turned off, in which case the agent writes commit messages directly. Release is not available without an LLM.

Does code leave my machine?

The README says everything runs locally, including git-courer and Ollama.

Which agent clients are supported?

The README lists OpenCode, Claude Code, Codex, pi and Antigravity as auto-configured by the setup command.

How is a breaking change marked?

Using feat! or a BREAKING CHANGE line in the commit body, which the README says is detected automatically.

Is Git Courer free?

Yes. Git Courer is open source, so you can use and self-host it for free.

What are the best alternatives to Git Courer?

The closest alternatives to Git Courer are Git MCP, Git MCP Server, GitEasy MCP, Coding Tools MCP and Agentic MCP.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.

How AIPoweredBot checks servers