Skip to content
Cursor

Git for Cursor

io.github.modelcontextprotocol/server-git

Read, search and manipulate Git repositories: status, diff, log, commit, branch and more

client:Cursor transport:stdio runtime:pypi

Install Git in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "server-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

Git in other clients