mcp-trino-python MCP
An MCP server that allows AI assistants to interact with Trino databases. It enables exploring catalogs, schemas, tables, and columns; running SQL queries and retrieving results as JSON; and inspecting or maintaining Iceberg tables including snapshots, manifests, partitions, and files. It supports various clients like Claude Code, VS Code, and Cursor.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Explore Trino catalogs, schemas, and tables
- Run SQL queries and get results as JSON
- Inspect Iceberg table snapshots and history
- Maintain Iceberg tables by compacting files
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-trino-python 0.8.1
{
"version": "0.8.1",
"transport": "stdio",
"identifier": "mcp-trino-python",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "TRINO_HOST",
"default": "localhost",
"isRequired": true,
"description": "Trino server hostname"
},
{
"name": "TRINO_PORT",
"format": "number",
"default": "8080",
"description": "Trino server port"
},
{
"name": "TRINO_USER",
"default": "trino",
"isRequired": true,
"description": "Trino username"
},
{
"name": "TRINO_PASSWORD",
"description": "Trino password (enables basic auth; use with https)"
},
{
"name": "TRINO_HTTP_SCHEME",
"choices": [
"http",
"https"
],
"default": "http",
"description": "http or https"
},
{
"name": "TRINO_CATALOG",
"description": "Default catalog"
},
{
"name": "TRINO_SCHEMA",
"description": "Default schema"
},
{
"name": "TRINO_READ_ONLY",
"format": "boolean",
"default": "false",
"description": "Allow only read statements and hide maintenance tools"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-trino-python-mcp": {
"command": "uvx",
"args": [
"mcp-trino-python==0.8.1"
],
"env": {
"TRINO_HOST": "<YOUR_TRINO_HOST>",
"TRINO_PORT": "<YOUR_TRINO_PORT>",
"TRINO_USER": "<YOUR_TRINO_USER>",
"TRINO_PASSWORD": "<YOUR_TRINO_PASSWORD>",
"TRINO_HTTP_SCHEME": "<YOUR_TRINO_HTTP_SCHEME>",
"TRINO_CATALOG": "<YOUR_TRINO_CATALOG>",
"TRINO_SCHEMA": "<YOUR_TRINO_SCHEMA>",
"TRINO_READ_ONLY": "<YOUR_TRINO_READ_ONLY>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-trino-python-mcp": {
"command": "uvx",
"args": [
"mcp-trino-python==0.8.1"
],
"env": {
"TRINO_HOST": "<YOUR_TRINO_HOST>",
"TRINO_PORT": "<YOUR_TRINO_PORT>",
"TRINO_USER": "<YOUR_TRINO_USER>",
"TRINO_PASSWORD": "<YOUR_TRINO_PASSWORD>",
"TRINO_HTTP_SCHEME": "<YOUR_TRINO_HTTP_SCHEME>",
"TRINO_CATALOG": "<YOUR_TRINO_CATALOG>",
"TRINO_SCHEMA": "<YOUR_TRINO_SCHEMA>",
"TRINO_READ_ONLY": "<YOUR_TRINO_READ_ONLY>"
}
}
}
}VS Code
{
"servers": {
"mcp-trino-python-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-trino-python==0.8.1"
],
"env": {
"TRINO_HOST": "<YOUR_TRINO_HOST>",
"TRINO_PORT": "<YOUR_TRINO_PORT>",
"TRINO_USER": "<YOUR_TRINO_USER>",
"TRINO_PASSWORD": "<YOUR_TRINO_PASSWORD>",
"TRINO_HTTP_SCHEME": "<YOUR_TRINO_HTTP_SCHEME>",
"TRINO_CATALOG": "<YOUR_TRINO_CATALOG>",
"TRINO_SCHEMA": "<YOUR_TRINO_SCHEMA>",
"TRINO_READ_ONLY": "<YOUR_TRINO_READ_ONLY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-trino-python-mcp": {
"command": "uvx",
"args": [
"mcp-trino-python==0.8.1"
],
"env": {
"TRINO_HOST": "<YOUR_TRINO_HOST>",
"TRINO_PORT": "<YOUR_TRINO_PORT>",
"TRINO_USER": "<YOUR_TRINO_USER>",
"TRINO_PASSWORD": "<YOUR_TRINO_PASSWORD>",
"TRINO_HTTP_SCHEME": "<YOUR_TRINO_HTTP_SCHEME>",
"TRINO_CATALOG": "<YOUR_TRINO_CATALOG>",
"TRINO_SCHEMA": "<YOUR_TRINO_SCHEMA>",
"TRINO_READ_ONLY": "<YOUR_TRINO_READ_ONLY>"
}
}
}
}Let your agent find its tools
Find servers like mcp-trino-python MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.