kapyn
MCP serversDev tools ยท MCP server

Git MCP server

Run git operations on a local repository. A reference server exposing git commands, status, diff, log, commit , so an assistant can inspect and manage version history directly.

Category
Dev tools
Maintained by
Official
Protocol
Model Context Protocol
Source
modelcontextprotocol/servers
View on GitHubBrowse all MCP servers

Installing Git

A Python server. Needs uv installed (uvx ships with it).

Claude Code
claude mcp add git -- uvx mcp-server-git --repository /path/to/repo
Claude Desktop ยท Cursor ยท VS Code ยท Windsurf
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/path/to/repo"
      ]
    }
  }
}

Not sure where the config file lives, or it isn't picking the server up? Config paths for every client.

What it does

A reference server exposing git commands, status, diff, log, commit , so an assistant can inspect and manage version history directly.

Like any MCP server, Git plugs into MCP-compatible assistants (such as Claude and other clients) so the model can use it as a tool , no custom integration code required.

Related Dev tools MCP servers