This server acts as a bridge, allowing interaction with Trino, a fast, distributed SQL query engine, through the Model-Control-Protocol (MCP). It provides the ability to list Trino tables as MCP resources, read table contents, and execute arbitrary SQL queries against Trino. It leverages Trino’s Python client (trino.dbapi) to connect to a Trino host, catalog, and schema, making it a valuable tool for integrating Trino with MCP-driven workflows.
Key Features
01Utilizes the Trino Python driver for connectivity.
02Configurable via environment variables.
03Lists Trino tables as MCP resources.
04Reads Trino table contents through MCP.
05Executes arbitrary SQL queries against Trino.