# git-courer

Give an AI agent structured access to Git operations, with automatic backups before writes. Useful for isolated work sessions and agent-managed commits.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 44
- Author: blak0p
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/blak0p/git-courer
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/git-courer

## What it does

git-courer is an MCP server that returns structured JSON to an agent. Its Git tools cover status, diffs, branches, stashes, history, and sync. For isolated work, `session start` creates a worktree and branch; `session finish` closes the session and cleans up the worktree.

Before a commit, the server examines the AST and dependency graph. Go rules determine the commit type, while an enabled LLM writes the message. With the LLM disabled, the agent writes the message itself, but release is unavailable. That restriction matters if your workflow needs releases without an LLM. Install with `go install github.com/blak0p/git-courer@latest`, then run `git-courer mcp setup` to configure the agent.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- inspect a repository’s status and diff through MCP
- isolate an agent task in its own worktree and branch
- preview a commit whose type is classified by Go
- restore changes using an automatic backup

## Example prompts
- Check this repository’s status and diff with git-courer.
- Start an isolated session for this task.
- Prepare a commit and show me the preview before applying it.

## Similar
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [GitDiagram](https://affpapa.org/en/nevibecode/mcp/gitdiagram.md) — MCP server · ★ 18446
- [Repowise](https://affpapa.org/en/nevibecode/mcp/repowise.md) — MCP server · ★ 7891
- [sem](https://affpapa.org/en/nevibecode/mcp/sem.md) — MCP server · ★ 3422
- [GitLab MCP Server](https://affpapa.org/en/nevibecode/mcp/gitlab-mcp-server.md) — MCP server · ★ 2065
- [Octocode MCP - AI Context Platform](https://affpapa.org/en/nevibecode/mcp/octocode-mcp-ai-context-platform.md) — MCP server · ★ 955

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
