Skip to content
Gemini CLI

portkey for Gemini CLI

io.usefulapi/portkey

Read AI-gateway analytics, configs, virtual keys, workspaces and users; log request feedback.

client:Gemini CLI transport:streamable-http

Install portkey in Gemini CLI

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

{
  "mcpServers": {
    "portkey": {
      "httpUrl": "https://portkey.usefulapi.io/mcp"
    }
  }
}

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

portkey in other clients