Skip to content
Gemini CLI

trino for Gemini CLI

io.github.magurelabs/trino

Run read-only SQL against Trino and browse its catalogs, schemas and tables.

client:Gemini CLI transport:stdio runtime:oci

Install trino 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": {
    "trino": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/magureai/mcp-trino: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

trino in other clients