python for Gemini CLI
io.github.dave-london/python
Structured Python tool output (ruff, mypy, pip-audit, pip-install) as typed JSON.
client:Gemini CLI
transport:stdio
runtime:npm
Install python in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"python": {
"command": "npx",
"args": [
"-y",
"@paretools/python"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs