Skip to content
Agentmart
Submit a tool

Git Courer

Full git MCP server for LLM agents — 17 tools, AST annotator, auto-backups, real plumbing.

Connector by Alejandro-M-P · GitHub account verified by the MCP Registry

IndexedMIT★ 44
Write a review

Install

Pick your client. Read the repository before you give any tool access to your data.

No install instructions from the source yet. Check the repository for setup steps.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Full git MCP server for LLM agents — 17 tools, AST annotator, auto-backups, real plumbing.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.

Tools
4 read · 1 write · 7 delete · 1 not yet classified
Secrets
None asked for
Install scripts
None found

Tools by what they do 13

Read from the source code; the running server may list different tools.

Read 4 · Look things up without changing anything.

  • diff
  • history
  • pr-review
  • status

Write 1 · Create, change, send or run things.

  • backup

Delete 7 · Delete, drop, revoke or wipe things.

  • branch
  • commit
  • integrate
  • rewrite
  • stage
  • stash
  • sync

Not yet classified 1 · We could not tell from the name and description.

  • session

Network hosts it talks to 6

  • api.github.com · found in code
  • github.com · found in code
  • gitlab.com · found in code
  • invalid-host-that-does-not-exist.local · found in code
  • ollama.com · found in code
  • registry.ollama.com · found in code

Files it touches

  • ~/.claude/settings.json
  • /dev/null
  • /dev/tty
  • /home/alejandro/Descargas/nvim-treesitter-main/runtime/queries
  • /opt/homebrew/bin/git-courer
  • /opt/ollama/bin/ollama
  • /tmp/config.json
  • /tmp/dynamic
  • /tmp/dynamic-dir
  • /tmp/log
  • /tmp/override
  • /tmp/static-dir
  • /tmp/task.log
  • /tmp/test
  • /tmp/worktree
  • /tmp/wt
  • /usr/local/opt/git-courer/bin/git-courer
  • Your home directory (~)
  • ~/.codex/hooks.json
  • ~/.config
  • ~/.gemini/antigravity-cli/settings.json

Tools (13)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • backup

    Raw git has NO undo. Auto-backup before every mutation — RESTORE or LIST backups. Use RESTORE to undo a mistaken amend/merge/rebase/revert. Use LIST to see available backups.

  • branchcan change or delete data

    Structured git branch / git switch / git checkout. Branch lifecycle — CREATE, SWITCH, DELETE, RENAME, LIST. Lifecycle safety, auto-stash, structured JSON output. DELETE requires confirmed=true. SWITCH auto-stashes dirty tree. DELETE with filter=REMOTE deletes remote branch. Do NOT use for merging — use integrate instead.

  • commitcan change or delete data

    IMPOSSIBLE with raw git. LLM-powered 3-phase commit pipeline: PREVIEW parses AST and groups files by dependency graph into atomic commits, APPLY executes them. PREVIEW requires a 'why' parameter — the REAL reason for the change (problem/symptom/limitation), NOT what the code does. APPLY supports two paths: 1) With job_id: creates a single atomic commit from the PREVIEW snapshot via plumbing (CommitTree + UpdateRef), 2) Without job_id: executes the pending plan from ConfirmStore. APPLY accepts an optional 'type' parameter to override the commit type prefix. Workflow: 1) PREVIEW → get plan, 2) R…

  • diffread-only

    IMPOSSIBLE with raw git. Returns AST-labeled diffs — hunks marked [NEW_FUNC], [MOD_SIG ⚠BREAKING], [DEPS], [DEL]. Raw git diff only shows text lines. This tells you WHAT changed semantically. Paginated — no pager hangs. Call before push or PR. Use 'branch' param to compare against another branch directly by name (symmetric diff; dot prefixes like '..' or '...' are not supported).

  • historyread-only

    Structured git log / git reflog / git blame. Show commit history (LOG), reflog (REFLOG), or line-by-line attribution (BLAME) with pagination and filtering. Structured JSON — no pager hangs, no unstructured text. Do NOT use raw git log. BLAME requires target_paths.

  • integratecan change or delete data

    Structured git integration. MERGE (merge a branch), UPDATE (rebase onto a branch), PICK (cherry-pick a commit), CONTINUE (continue after resolving conflicts), ABORT (abort in-progress operation). Structured conflict detection — returns conflict file list instead of raw >>>>>> text. Creates backup BEFORE executing; undo with backup RESTORE.

  • pr-reviewread-only

    IMPOSSIBLE with raw git. Pre-PR gate: runs tests, detects conflicts, shows diff stats, and checks branch divergence in ONE call. Raw git needs 4+ separate commands. Call BEFORE creating ANY PR — no exceptions. Returns test results, conflict files with AST-annotated hunks, and divergence info.

  • rewritecan change or delete data

    Structured git history rewrite. AMEND (fix last commit), REVERT (undo a commit), SOFT (move HEAD only), HARD (discard everything). Creates backup BEFORE executing; undo with backup RESTORE. HARD requires confirmed=true. Do NOT use AMEND for new changes — use commit instead.

  • session

    Description is built at runtime.

  • stagecan change or delete data

    Structured git add / git restore / git clean. Stage, unstage, restore, or clean files with structured JSON, safety gates, and binary-file interception. CLEAN requires confirmed=true. Do NOT use for committing — use commit instead.

  • stashcan change or delete data

    Structured git stash. Save, restore, or inspect stashed changes. SAVE stores working tree changes. POP restores them. SHOW previews stash diff as structured JSON — no parsing git stash list text. Use before switching branches with dirty tree.

  • statusread-only

    IMPOSSIBLE with raw git. Returns COMPLETE repo state in ONE call — branch, ahead/behind, staged, unstaged, untracked, conflicted files, stash count, in-progress operations, last commit, user.name, user.email, test_command, and remotes. Raw git status needs 5+ separate commands for this data. Call BEFORE any write operation.

  • synccan change or delete data

    Structured git push / git pull / git fetch. PUSH is IRREVERSIBLE and requires confirmed=true. PULL and FETCH create a backup before executing. Use FETCH to check remote changes without merging (safer than PULL). When branch is specified, the operation targets that specific branch regardless of the current branch — any remote branch can be pulled or pushed, not just the checked-out one. Always call diff before pushing.

Signals

Stars
44
Forks
5
Open issues
0
Last commit
Sep 9, 2026 (1 month ago)
Last release
Sep 9, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.Alejandro-M-P/git-courer
Version
2.0.4
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026
Cite this page

Git Courer MCP server. Agent Mart. https://agentmart.dev/connectors/alejandro-m-p-git-courer (last updated 2026-10-25)