mcp-server-trino
If you are the rightful owner of mcp-server-trino and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Trino MCP Server allows users to list and query tables via Trino using Python, leveraging the Model-Control-Protocol.
The Trino MCP Server is designed to facilitate the interaction between AI models, data, and tools using the Model-Control-Protocol (MCP). It provides a mechanism to list Trino tables as MCP resources and enables reading table contents through MCP. Additionally, it offers a tool for executing arbitrary SQL queries against Trino. Trino is a fast, distributed SQL query engine ideal for big data analytics, and this server utilizes Trino's Python client (trino.dbapi) to connect to a specified Trino host, catalog, and schema. The server requires Python 3.9+ and the necessary libraries such as trino and mcp. Configuration is managed through environment variables that specify connection details to the Trino server, including host, port, user credentials, and default catalog and schema.
Features
- Lists Trino tables as MCP resources.
- Reads table contents through MCP.
- Executes arbitrary SQL queries against Trino.
- Utilizes Trino's Python client for connectivity.
- Configurable via environment variables.