Skip to content
Gemini CLI

otp verification for Gemini CLI

io.github.magurelabs/otp-verification

Generate and verify one-time passcodes backed by your own database.

client:Gemini CLI transport:stdio runtime:oci

Install otp verification in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "otp-verification": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/magureai/mcp-otp-verification:2.0.0"
      ],
      "env": {
        "MCP_MODE": "<MCP_MODE>",
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

otp verification in other clients