L'Agora
MCPLocal

Trino

io.github.alaturqua/mcp-trino-python

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

Repository
github.com/alaturqua/mcp-trino-python
Website
github.com/alaturqua/mcp-trino-python
Version
0.8.2
Author
alaturqua (namespace verified by the registry)
Source
Official MCP registry (updated Nov 26, 2026)

How to install it

Variables to fill in: TRINO_HOST, TRINO_PORT, TRINO_USER, TRINO_PASSWORD, TRINO_HTTP_SCHEME, TRINO_CATALOG, TRINO_SCHEMA, TRINO_READ_ONLY.

On your machine

Claude Code

The server runs on your machine (pypi package). In a terminal:

claude mcp add mcp-trino-python -e TRINO_HOST=YOUR_TRINO_HOST -e TRINO_PORT=YOUR_TRINO_PORT -e TRINO_USER=YOUR_TRINO_USER -e TRINO_PASSWORD=YOUR_TRINO_PASSWORD -e TRINO_HTTP_SCHEME=YOUR_TRINO_HTTP_SCHEME -e TRINO_CATALOG=YOUR_TRINO_CATALOG -e TRINO_SCHEMA=YOUR_TRINO_SCHEMA -e TRINO_READ_ONLY=YOUR_TRINO_READ_ONLY -- uvx [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "mcp-trino-python": {
      "command": "uvx",
      "args": [
        "[email protected]"
      ],
      "env": {
        "TRINO_HOST": "YOUR_TRINO_HOST",
        "TRINO_PORT": "YOUR_TRINO_PORT",
        "TRINO_USER": "YOUR_TRINO_USER",
        "TRINO_PASSWORD": "YOUR_TRINO_PASSWORD",
        "TRINO_HTTP_SCHEME": "YOUR_TRINO_HTTP_SCHEME",
        "TRINO_CATALOG": "YOUR_TRINO_CATALOG",
        "TRINO_SCHEMA": "YOUR_TRINO_SCHEMA",
        "TRINO_READ_ONLY": "YOUR_TRINO_READ_ONLY"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mcp-trino-python": {
      "command": "uvx",
      "args": [
        "[email protected]"
      ],
      "env": {
        "TRINO_HOST": "YOUR_TRINO_HOST",
        "TRINO_PORT": "YOUR_TRINO_PORT",
        "TRINO_USER": "YOUR_TRINO_USER",
        "TRINO_PASSWORD": "YOUR_TRINO_PASSWORD",
        "TRINO_HTTP_SCHEME": "YOUR_TRINO_HTTP_SCHEME",
        "TRINO_CATALOG": "YOUR_TRINO_CATALOG",
        "TRINO_SCHEMA": "YOUR_TRINO_SCHEMA",
        "TRINO_READ_ONLY": "YOUR_TRINO_READ_ONLY"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "mcp-trino-python": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "[email protected]"
      ],
      "env": {
        "TRINO_HOST": "YOUR_TRINO_HOST",
        "TRINO_PORT": "YOUR_TRINO_PORT",
        "TRINO_USER": "YOUR_TRINO_USER",
        "TRINO_PASSWORD": "YOUR_TRINO_PASSWORD",
        "TRINO_HTTP_SCHEME": "YOUR_TRINO_HTTP_SCHEME",
        "TRINO_CATALOG": "YOUR_TRINO_CATALOG",
        "TRINO_SCHEMA": "YOUR_TRINO_SCHEMA",
        "TRINO_READ_ONLY": "YOUR_TRINO_READ_ONLY"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.alaturqua/mcp-trino-python on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.alaturqua/mcp-trino-python on L’Agora](https://lagora.dev/badge/io.github.alaturqua/mcp-trino-python.svg?lang=en)](https://lagora.dev/en/entry/io.github.alaturqua/mcp-trino-python)

HTML

<a href="https://lagora.dev/en/entry/io.github.alaturqua/mcp-trino-python"><img src="https://lagora.dev/badge/io.github.alaturqua/mcp-trino-python.svg?lang=en" alt="io.github.alaturqua/mcp-trino-python on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry