Git MCP Server
Read commit history, diffs, and repository metadata from local Git repos.
claude_desktop_config.json
{
"mcpServers": {
"server-git": {
"command": "uvx",
"args": [
"mcp-server-git",
"--repository",
"/Users/you/my-repo"
]
}
}
} Setup Instructions
- Ensure Node.js 18+ is installed on your system.
-
Copy the config block above into your
claude_desktop_config.jsonfile (typically at~/.config/claude/claude_desktop_config.jsonon macOS/Linux or%APPDATA%\Claude\claude_desktop_config.jsonon Windows). - Restart your AI client to apply the config.