totp mcp for Gemini CLI
io.github.mrfentmen/totp-mcp
Generate and verify TOTP codes offline: RFC 6238 with SHA-1/256/512 and fresh base32 secrets
client:Gemini CLI
transport:stdio
runtime:npm
Install totp mcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"totp-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/totp-mcp"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs