by Anthropic
Interact with Git repositories directly. Perform common Git operations including status, diff, log, commit, branch management, and more.
npx -y @modelcontextprotocol/server-git{
"mcpServers": {
"git": {
"command": "npx",
"args": [
"npx", "-y",
""@modelcontextprotocol/server-git"
]
}
}
}Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json