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
Docker MCP Gateway
MCP serverOne gateway process that runs and fronts many containerised MCP servers.
GitLab MCP Server
MCP serverGitLab's own remote server for issues, merge requests and pipelines.
Sourcegraph MCP Server
MCP serverCode search, cross-repository navigation and Deep Search on a Sourcegraph instance.
Comments(0)
Sign in to comment