Trino MCP Server API Reference¶
Production-ready Trino MCP server for secure querying of distributed data sources with configurable access controls, authentication, and read-only mode using FastMCP and SQLAlchemy
This reference provides detailed information about all available tools and their parameters.
Available Tools¶
list_catalogs¶
Description: List all accessible Trino catalogs
Parameters: No parameters required
Example Usage:
list_schemas¶
Description: List schemas in a specific catalog
Parameters:
catalog(string) (required): Catalog name to list schemas from
Example Usage:
list_tables¶
Description: List tables in a specific schema
Parameters:
catalog(string) (required): Catalog name containing the schemaschema(string) (required): Schema name to list tables from
Example Usage:
describe_table¶
Description: Get detailed schema information for a table
Parameters:
catalog(string) (required): Catalog name containing the tableschema(string) (required): Schema name containing the tabletable(string) (required): Table name to describe
Example Usage:
execute_query¶
Description: Execute a SQL query against Trino (subject to read-only restrictions)
Parameters:
query(string) (required): SQL query to executecatalog(string) (optional): Default catalog for the query (optional)schema(string) (optional): Default schema for the query (optional)
Example Usage:
get_query_status¶
Description: Get status of a running query
Parameters:
query_id(string) (required): Trino query ID to check
Example Usage:
cancel_query¶
Description: Cancel a running query
Parameters:
query_id(string) (required): Trino query ID to cancel
Example Usage:
get_cluster_info¶
Description: Get information about the Trino cluster
Parameters: No parameters required
Example Usage:
Integration Examples¶
For more integration examples and usage patterns, see the Usage Guide.
Support¶
For questions and issues related to the Trino MCP Server, please refer to: - Usage Guide for comprehensive examples - Template Overview for setup and configuration - MCP Platform Documentation for general platform usage