MCP server · Developer tools
Git
Reference MCP server for reading, searching and changing a local Git repository: status, diffs, log, commits, branches and checkouts.
Quick verdict
A small, well-scoped tool set that pairs naturally with the Filesystem server for an offline coding loop, maintained in the reference repository.
- MaintainerModel Context Protocol reference servers (reference)
- Security scopeRead-write
- Transportsstdio
- Install channelpypi · mcp-server-git
- EvidenceNot tested yet (sources checked)
- LicenseMIT · Open source
The Model Context Protocol reference server for Git. Pointed at a repository path (--repository, or a repo_path per call), it exposes read tools (git_status, diffs, git_log, git_show, git_branch) and mutating tools (git_add, git_commit, git_reset, git_create_branch, git_checkout). It is a Python package run with uvx. Upstream describes it as early in development, with tools subject to change.
Install Git
Runs with uvx (uv); pip install mcp-server-git + python -m mcp_server_git also works.
uvx mcp-server-git --repository
{
"mcpServers": {
"git": {
"command": "uvx",
"args": ["mcp-server-git", "--repository", "<PATH_TO_GIT_REPO>"]
}
}
}Credentials
No credentials required.
Verified configurations
Not run by us yet. This profile is Not tested yet (sources checked): the install channel, config entry, credentials and license were checked against the source and upstream metadata, but no configuration has been installed, discovered and executed in a recorded environment. When one is, it appears here with the eight scope dimensions below.
Best for
Local coding agents that need to inspect history and stage or commit changes in a repository on your machine.
Why use it
A small, well-scoped tool set that pairs naturally with the Filesystem server for an offline coding loop, maintained in the reference repository. Everything runs against a repository path you name.
Tradeoffs
Read-write: git_add, git_commit, git_reset (unstages everything) and git_checkout change repository state, so pair it with a client that shows each tool call for approval. Requires uv/uvx or Python 3. Upstream flags it as early development. Note that a copy of this server also sits in the archived reference repository; the actively maintained one is in modelcontextprotocol/servers.
Upstream state
pypi package published · repository active. Lifecycle is derived from a committed upstream snapshot at build time, never authored by hand.
Editorial details
Grade B: Not tested yet (sources checked). Re-review is due by 2027-02-16. Config entries, credential names and package status can change upstream; verify against the source repository before granting an agent access.
Sources
Related MCP servers
- GitHub MCP ServerGitHub's official MCP server: repositories, issues, pull requests, code search and Actions as tools, hosted remotely or run locally in Docker.
- GitLab MCPWork with GitLab projects, merge requests, issues, code and pipelines through the MCP server built into GitLab, using OAuth.
- LaunchDarkly MCP ServerLaunchDarkly's hosted server for flags, experiments, AgentControl configs and observability. Shown here: flag and experiment read tools only.