mcp-server-trino MCP Server

This repository provides an MCP (Model-Control-Protocol) server that allows you to list and query tables via Trino using Python.

Local serverstdio

What is the mcp-server-trino MCP Server?

mcp-server-trino is an MCP project maintained in the dataring-engineering/mcp-server-trino repository. The maintainer describes its purpose as “This repository provides an MCP (Model-Control-Protocol) server that allows you to list and query tables via Trino using Python”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares TRINO_HOST, TRINO_PORT, TRINO_USER, TRINO_PASSWORD, TRINO_CATALOG, TRINO_SCHEMA. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the mcp-server-trino MCP Server

{
  "mcpServers": {
    "trino": {
      "command": "uv",
      "args": [
        "--directory",
        "<path_to_mcp_server_trino>",
        "run",
        "mcp_server_trino"
      ],
      "env": {
        "TRINO_HOST": "<host>",
        "TRINO_PORT": "<port>",
        "TRINO_USER": "<user>",
        "TRINO_PASSWORD": "YOUR_TRINO_PASSWORD",
        "TRINO_CATALOG": "<catalog>",
        "TRINO_SCHEMA": "<schema>"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
TRINO_HOSTDeclared in the maintainer’s client configuration.Check documentation
TRINO_PORTDeclared in the maintainer’s client configuration.Check documentation
TRINO_USERDeclared in the maintainer’s client configuration.Check documentation
TRINO_PASSWORDDeclared in the maintainer’s client configuration.Optional
TRINO_CATALOGDeclared in the maintainer’s client configuration.Check documentation
TRINO_SCHEMADeclared in the maintainer’s client configuration.Check documentation