Skip to content
Gemini CLI

GoModel for Gemini CLI

io.github.enterpilot/gomodel

Self-hosted gateway aggregating upstream MCP servers behind one authenticated HTTP endpoint.

client:Gemini CLI transport:stdio runtime:oci

Install GoModel 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": {
    "gomodel": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/enterpilot/gomodel:0.1.97"
      ],
      "env": {
        "GOMODEL_MASTER_KEY": "<GOMODEL_MASTER_KEY>",
        "MCP_SERVERS": "<MCP_SERVERS>"
      }
    }
  }
}

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

GoModel in other clients