Skip to content
Gemini CLI

Switch402 for Gemini CLI

dev.fly.switch402/switch402

Keyless x402 agent switch: LLM inference, web search, Base token reports

client:Gemini CLI transport:streamable-http tools:25

Install Switch402 in Gemini CLI

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

{
  "mcpServers": {
    "switch402": {
      "httpUrl": "https://switch402.fly.dev/mcp"
    }
  }
}

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

What Gemini CLI can do once it is connected

All 25 tools →

Switch402 in other clients