Skip to content
Cursor

Trino for Cursor

io.github.alaturqua/mcp-trino-python

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

client:Cursor transport:stdio runtime:pypi

Install Trino in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-trino-python": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Trino in other clients