diffctx for Gemini CLI
io.github.nikolay-e/diffctx
Selects the minimum code an LLM needs to review a git diff
client:Gemini CLI
transport:stdio
runtime:pypi
Install diffctx in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"diffctx": {
"command": "uvx",
"args": [
"diffctx"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs