Trino MCP Server

execute_query

Execute a SQL query against Trino. Args: sql: The SQL query to execute. catalog: Optional catalog name to use for the query. schema: Optional schema name to use for the query. Returns: Dict[str, Any]: Query results including metadata.

Input Schema

NameRequiredDescriptionDefault
catalogNo
schemaNo
sqlYes

Input Schema (JSON Schema)

{ "properties": { "catalog": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Catalog" }, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Schema" }, "sql": { "title": "Sql", "type": "string" } }, "required": [ "sql" ], "title": "execute_queryArguments", "type": "object" }

You must be authenticated.

Other Tools