mcp-server-trino

mcp-server-trino

14

The Trino MCP Server is a Model-Control-Protocol server designed to interact with Trino, allowing users to list, query, and read table contents using Python. It facilitates big data analytics through Trino's distributed SQL engine.

What is the purpose of the Trino MCP Server?

The Trino MCP Server is designed to facilitate the listing and querying of tables via Trino using the Model-Control-Protocol, enabling efficient data management and analytics.

What are the prerequisites for running the Trino MCP Server?

You need Python 3.9+, the Trino Python driver, and the MCP Python library. Additionally, Trino connection details must be configured via environment variables.

How do I configure the Trino MCP Server?

The server is configured using environment variables such as TRINO_HOST, TRINO_PORT, TRINO_USER, TRINO_CATALOG, and TRINO_SCHEMA.

Can I execute custom SQL queries using the Trino MCP Server?

Yes, the server includes a tool for executing arbitrary SQL queries against Trino, allowing for flexible data operations.

Is authentication required to connect to Trino?

Authentication depends on your Trino setup. You may need to provide a username and password, which can be configured via environment variables.