SecureInput for Gemini CLI
io.github.r69shabh/secureinput
Type API keys into a native inline input instead of the chat; delivered to a local command or .env.
client:Gemini CLI
transport:stdio
runtime:npm
Install SecureInput in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"secureinput": {
"command": "npx",
"args": [
"-y",
"secureinput"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs