Trino MCP Server
@MCP-Mirror
About Trino MCP Server
Mirror of
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Trino MCP Server?
This server provides an MCP (Model-Control-Protocol) interface for listing and querying tables via Trino using Python. It connects to a Trino host using the trino.dbapi Python client and exposes tables as MCP resources, allows reading table contents, and provides a tool to execute arbitrary SQL queries. It is intended for AI models and MCP clients that need to interact with Trino data sources.
How to use Trino MCP Server?
Configure the required Trino connection details via environment variables (TRINO_HOST, TRINO_PORT, TRINO_USER, TRINO_CATALOG, TRINO_SCHEMA, optionally TRINO_PASSWORD). Then run the server by adding it to your MCP client configuration using uv with the command uv --directory <path_to_server> run mcp_server_trino and the necessary environment variables.
Key features of Trino MCP Server
- List Trino tables as MCP resources.
- Read table contents through MCP.
- Execute arbitrary SQL queries via a tool.
- Connects using Trino’s Python client (
trino.dbapi). - Fully configurable via environment variables.
Use cases of Trino MCP Server
- AI assistants exploring and querying Trino data catalogs.
- Listing available tables in a Trino schema from an MCP client.
- Running ad‑hoc SQL queries against Trino through AI tools.
- Integrating big data analytics with conversational AI workflows.
FAQ from Trino MCP Server
What is MCP?
MCP (Model-Control-Protocol) is a protocol for bridging AI models, data, and tools. This server implements MCP to expose Trino tables and query capabilities.
What environment variables are required?
You must set TRINO_HOST, TRINO_PORT, TRINO_USER, TRINO_CATALOG, and TRINO_SCHEMA. TRINO_PASSWORD is optional and depends on your Trino authentication setup.
What dependencies does the server need?
Python 3.9+ along with the trino and mcp Python packages.
Can I run SQL queries other than SELECT?
Yes, the server includes a tool for executing arbitrary SQL queries against Trino, subject to Trino’s permissions.
How does the server connect to Trino?
It uses the trino.dbapi Python client and requires a host, port, user, catalog, and schema. Password authentication is optional.
Frequently asked questions
What is MCP?
MCP (Model-Control-Protocol) is a protocol for bridging AI models, data, and tools. This server implements MCP to expose Trino tables and query capabilities.
What environment variables are required?
You must set `TRINO_HOST`, `TRINO_PORT`, `TRINO_USER`, `TRINO_CATALOG`, and `TRINO_SCHEMA`. `TRINO_PASSWORD` is optional and depends on your Trino authentication setup.
What dependencies does the server need?
Python 3.9+ along with the `trino` and `mcp` Python packages.
Can I run SQL queries other than SELECT?
Yes, the server includes a tool for executing arbitrary SQL queries against Trino, subject to Trino’s permissions.
How does the server connect to Trino?
It uses the `trino.dbapi` Python client and requires a host, port, user, catalog, and schema. Password authentication is optional.
Basic information
More Other MCP servers
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
ICSS
chokcoco不止于 CSS
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Comments