Trino MCP Server
by weijie-tan3
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TRINO_HOST | No | Trino server hostname | localhost |
| TRINO_PORT | No | Trino server port (auto-set to 443 for OAuth2/Azure SPN) | 8080 |
| TRINO_USER | No | Username | trino |
| AUTH_METHOD | No | Authentication method: NONE, PASSWORD, OAUTH2, or AZURE_SPN | NONE |
| AZURE_SCOPE | No | Azure token scope for AZURE_SPN auth | |
| TRINO_SCHEMA | No | Default schema | |
| TRINO_CATALOG | No | Default catalog | |
| TRINO_PASSWORD | No | Password for PASSWORD auth | |
| AZURE_CLIENT_ID | No | Azure client ID for AZURE_SPN auth | |
| AZURE_TENANT_ID | No | Azure tenant ID for AZURE_SPN auth | |
| TRINO_HTTP_SCHEME | No | http or https (auto-set to https for OAuth2/Azure SPN) | http |
| ALLOW_WRITE_QUERIES | No | Enable write operations (true, 1, or yes) | false |
| AZURE_CLIENT_SECRET | No | Azure client secret for AZURE_SPN auth | |
| QUERY_TIMEOUT_MINUTES | No | Client-side query timeout in minutes (0 to disable) | 5 |
| MAX_CONCURRENT_QUERIES | No | Max concurrent tool calls | 1 |
| TRINO_SESSION_PROPERTIES | No | JSON object of Trino session properties | |
| TRINO_MCP_CUSTOM_WATERMARK | No | JSON object for custom query watermark |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/weijie-tan3/trino-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server