Skip to content
Gemini CLI

Trino for Gemini CLI

io.github.alaturqua/mcp-trino-python

Query Trino and inspect or maintain Iceberg tables: catalogs, schemas, SQL, snapshots.

client:Gemini CLI transport:stdio runtime:pypi

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": {
    "mcp-trino-python": {
      "command": "uvx",
      "args": [
        "mcp-trino-python"
      ],
      "env": {
        "TRINO_HOST": "<TRINO_HOST>",
        "TRINO_PORT": "<TRINO_PORT>",
        "TRINO_USER": "<TRINO_USER>",
        "TRINO_PASSWORD": "<TRINO_PASSWORD>",
        "TRINO_HTTP_SCHEME": "<TRINO_HTTP_SCHEME>",
        "TRINO_CATALOG": "<TRINO_CATALOG>",
        "TRINO_SCHEMA": "<TRINO_SCHEMA>",
        "TRINO_READ_ONLY": "<TRINO_READ_ONLY>"
      }
    }
  }
}

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