Git MCP Server
Read and write a local Git repository through MCP tools.
Add it to your client
Officialuvx mcp-server-git --repository /path/to/repo
{
"mcpServers": {
"git-mcp": {
"command": "uvx",
"args": [
"mcp-server-git",
"--repository",
"/path/to/repo"
]
}
}
}- Transport
- stdio
- Runtime
- Python
- Auth
- Not required
- Tools
- 12
- License
- MIT
A reference server from the MCP project that turns ordinary Git operations into agent tools. The model can check working tree status, read staged and unstaged diffs, stage files, commit, inspect history and single commits, and create or switch branches. It works on a repository path passed at startup, so nothing leaves the machine and no account or token is involved. Useful when an assistant should reason about repository state instead of shelling out to the git binary.
Similar MCP servers
GitHub MCP Server
MCP serverGitHub's own server for repos, issues, pull requests and workflow runs
GitMCP
MCP serverTurns any public GitHub repository into a documentation endpoint addressed by its own URL.
GistPad MCP
MCP serverTurns GitHub Gists into a personal knowledge base with daily notes, comments and reusable prompts.

Comments(0)
Sign in to comment