Git for Cursor
io.github.modelcontextprotocol/git
Reference server for reading, searching and manipulating local Git repositories: status, diffs, log, commits, branches and checkouts.
client:Cursor
transport:stdio
runtime:pypi
tools:12
Install Git in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"git": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs