Trino MCP Server
@MCP-Mirror
About Trino MCP Server
Mirror of
Basic information
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.
More Other MCP servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Codelf
unbugA search tool helps dev to solve the naming things problem.
Comments