Trino icon

Trino

Enables listing and querying Trino tables via the Model-Control-Protocol (MCP) using Python.

About

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

  • Utilizes the Trino Python driver for connectivity.
  • Configurable via environment variables.
  • Lists Trino tables as MCP resources.
  • Reads Trino table contents through MCP.
  • Executes arbitrary SQL queries against Trino.

Use Cases

  • Integrating Trino with AI model workflows using MCP.
  • Querying and managing data in Trino from MCP-compatible applications.
  • Providing a standardized interface for accessing Trino data.