Skip to content
Cursor

git for Cursor

io.github.dave-london/git

Structured git operations (status, log, diff, branch, show) as typed JSON.

client:Cursor transport:stdio runtime:npm

Install git in Cursor

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

{
  "mcpServers": {
    "git": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@paretools/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