Skip to content
Cursor

diffctx for Cursor

io.github.nikolay-e/diffctx

Selects the minimum code an LLM needs to review a git diff

client:Cursor transport:stdio runtime:pypi

Install diffctx in Cursor

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

{
  "mcpServers": {
    "diffctx": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "diffctx"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

diffctx in other clients