by cyanheads
An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management, and more, via the MCP standard. STDIO & HTTP.
# Add to your Claude Code skills
git clone https://github.com/cyanheads/git-mcp-serverThis server provides 27 comprehensive Git operations organized into six functional categories:
| Category | Tools | Description | | :------------------------ | :----------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------- | | | , , , | Initialize repos, clone from remotes, check status, and clean untracked files | | | , , | Stage changes, create commits, and compare changes | | | , , , | View commit history, inspect objects, trace line-by-line authorship, and view ref logs | | | , , , , | Manage branches, switch contexts, integrate changes, and apply specific commits ...
git_initgit_clonegit_statusgit_cleangit_addgit_commitgit_diffgit_loggit_showgit_blamegit_refloggit_branchgit_checkoutgit_mergegit_rebasegit_cherry_pick