Git
Reference server for reading and committing in local git repositories.
- Checks
- 8 of 8 passed
- License
- Apache-2.0 and MIT
- Last commit
- today
- GitHub stars
- 93k
- Reviewed at
b502fd9· Dec 4, 2026
Install
PyPI · mcp-server-git
claude mcp add git -- uvx mcp-server-git{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Tools
14 tools and 2 prompts listed by mcp-git 2026.11.27 in our sandbox on Dec 4, 2026.
git_statusRead-onlyShows the working tree status
git_diff_unstagedRead-onlyShows changes in the working directory that are not yet staged
git_diff_stagedRead-onlyShows changes that are staged for commit
git_diffRead-onlyShows differences between branches or commits, or across a revision range (main..feature, main...feature)
git_commitRecords changes to the repository
git_addAdds file contents to the staging area
git_resetDestructiveUnstages all staged changes
git_logRead-onlyShows the commit log, newest commit first.
git_create_branchCreates a new branch from an optional base branch or commit
git_checkoutSwitches branches
git_mergeMerges a branch into the current branch.
git_showRead-onlyShows the contents of a commit, or of a file or directory given as <revision>:<path>
git_branchRead-onlyList Git branches
git_remoteRead-onlyLists the repository's remotes with their fetch and push URLs, like `git remote -v`.
Related MCP servers
More reference serversFetch
Reference server that fetches a URL and returns it as markdown.
Filesystem
Reference server for reading, writing and searching files inside folders you allow.
Memory
Reference server for a persistent knowledge graph of entities and relations.
Sequential Thinking
Reference server that gives the model a scratchpad for step-by-step reasoning.