What are the prerequisites to run MCP Trino Server?
You need Python 3.12 or higher and a running Trino server (Docker Compose is available for local development). Docker is optional but recommended for containerized deployment.
@alaturqua
Basic information
MCP Server for Trino developed via MCP Python SDK
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-trino-python": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@alaturqua/mcp-trino-python",
"--client",
"claude"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
MCP Trino Server is a Model Context Protocol (MCP) server that provides seamless integration with Trino and Iceberg, enabling advanced data exploration, querying, and table maintenance through a standard interface. It is designed for developers and data engineers building AI‑powered tools that interact with Trino databases.
Install via uv, pip, or Docker, then configure using environment variables (TRINO_HOST, TRINO_PORT, TRINO_USER, etc.). Run the server with python src/server.py (or the Docker equivalent) using one of three transport modes: stdio (default), streamable‑http, or sse. Connect an MCP client (e.g., VS Code or Claude Desktop) by providing the server’s command and configuration.
.env fileYou need Python 3.12 or higher and a running Trino server (Docker Compose is available for local development). Docker is optional but recommended for containerized deployment.
The server supports `stdio` (default, for local MCP clients like VS Code and Claude Desktop), `streamable‑http` (for remote or web access), and `sse` (Server‑Sent Events, legacy HTTP transport).
Configure via environment variables: `TRINO_HOST`, `TRINO_PORT`, `TRINO_USER`, `TRINO_CATALOG`, `TRINO_SCHEMA`, `TRINO_HTTP_SCHEME`, and optionally `TRINO_PASSWORD`. You can also use a `.env` file.
Yes, you can set the `TRINO_PASSWORD` environment variable to provide a password for authentication to the Trino server.
Yes. Build the Docker image with `docker build -t mcp-trino-python .` and run it with either `stdio` or `streamable‑http` transport. Docker Compose profiles are also provided for quick start.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
🚀 The fast, Pythonic way to build MCP servers and clients.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Hindsight: Agent Memory That Learns
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea
Comments