Git MCP Server
Read commit history, diffs, and repository metadata from local Git repos.
Installation
uvx mcp-server-git --repository /path/to/repo claude_desktop_config.json
{
"mcpServers": {
"server-git": {
"command": "uvx",
"args": [
"mcp-server-git",
"--repository",
"/Users/you/my-repo"
]
}
}
} Prerequisites
- Node.js 18 or later
-
Python 3.10+ with
uvinstalled (pip install uv)
Common Errors
- Server not found / spawn error — ensure Node.js is on your PATH and the package is accessible via npx.
- Permission denied — check that the path in args is readable by the process running your AI client.