1. Conduid
  2. Data
  3. tuannvm/mcp-trino
MCP server · Data

tuannvm/mcp-trino

A high-performance Model Context Protocol (MCP) server for Trino implemented in Go.

Unclaimed MIT mcp-serveraitrinomcp
72Good

Scored 7 hours ago · breakdown

About tuannvm/mcp-trino

tuannvm/mcp-trino is an MCP server published by tuannvm in the Data category: a high-performance Model Context Protocol (MCP) server for Trino implemented in Go. Conduid read 6 tools from its source: execute_query, explain_query, get_table_schema, list_catalogs, list_schemas and list_tables. No package is published for it, so it installs from a source checkout.

The repository has 125 stars and 61 forks, is licensed MIT, and its last commit was on 1 Jul 2026. The latest release is v4.3.1 (1 Apr 2026): Changelog 0826355c686b50820e652333279422a318fc1562 fix: address CodeRabbit review comments post-merge 128a0bf8596984e1a6e20074a7957696ddf8e28c fix: move sanitization of… It follows v4.3.0 (26 Mar 2026), and the 5 most recent releases go back to v4.2.0 (13 Dec 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include trino.

Install

From source
git clone https://github.com/tuannvm/mcp-trino

Tools (6)

execute_queryExecute SQL queries on Trino's fast distributed query engine for big data analytics. By default, only read-only queries (SELECT, SHOW, DESCRIBE, EXPLAIN) are allowed for security. When TRINO_ALLOW_WRITE_QUERIES=true is set, supports all SQL statements including INSERT, UPDATE, DELETE, CREATE, DROP, and other DML/DDL operations. Perfect for complex analytics, aggregations, joins, and cross-system data exploration on large datasets.
ParameterTypeDescription
query *stringSQL query to execute. By default read-only queries only; DML/DDL requires TRINO_ALLOW_WRITE_QUERIES=true
explain_queryAnalyze Trino query execution plans without running expensive queries. Shows distributed execution stages, data movement between nodes, and resource estimates. Essential for query optimization and performance tuning.
ParameterTypeDescription
formatstringPlan type: LOGICAL, DISTRIBUTED, VALIDATE, or IO (optional)
query *stringSQL query to analyze (SELECT, JOIN, aggregations, etc.)
get_table_schemaInspect table structure and column metadata from Trino's distributed data sources. Shows column names, data types, nullability, and constraints. Critical for understanding data before writing analytical queries.
ParameterTypeDescription
catalogstringTrino catalog containing the table (optional)
schemastringSchema containing the table (optional)
table *stringTable name to inspect
list_catalogsDiscover available Trino catalogs - each catalog represents a connector to different data systems (PostgreSQL, MySQL, S3, HDFS, Kafka, etc.). Catalogs are your entry point to querying data across heterogeneous systems in a single SQL query.
list_schemasBrowse schemas (databases/namespaces) within a Trino catalog. Each schema contains related tables and views. Use this to navigate the data hierarchy before querying specific datasets.
ParameterTypeDescription
catalogstringTrino catalog name (optional; defaults to server configuration if omitted)
list_tablesDiscover tables and views available for querying in Trino schemas. Essential for finding datasets to analyze. Can scope to specific catalog/schema or browse all available data across the distributed system.
ParameterTypeDescription
catalogstringTrino catalog name (optional)
schemastringSchema name within catalog (optional)

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.6K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum.
  • ✓No dynamic code executionScanned 11 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPcmd/main.go:147, internal/mcp/server.go:78
Starts other programs
4 calls.claude-plugin/install-binary.mjs:122, .claude-plugin/install-binary.mjs:133, .claude-plugin/install-binary.mjs:159
Outbound network calls
4 callsinternal/trino/client.go:135, .claude-plugin/install-binary.mjs:79, .claude-plugin/install-binary.mjs:91
Writes or deletes files
2 callsinternal/cli/config.go:180, internal/cli/config.go:200
Lockfile
go.sum

Pattern matches on the source text of 11 files: places to read, not proof of what the code does at run time.

Releases

v4.3.1mcp-trino v4.3.1 · 1 Apr 2026Changelog 0826355c686b50820e652333279422a318fc1562 fix: address CodeRabbit review comments post-merge 128a0bf8596984e1a6e20074a7957696ddf8e28c fix: move sanitization of queries to before newlines are removed
v4.3.0mcp-trino v4.3.0 · 26 Mar 2026Changelog 704031307e5c6d55759a7d766d7accc3deceacd9 feat(cli): add dual-purpose CLI mode to mcp-trino (#168)
v4.2.2mcp-trino v4.2.2 · 13 Mar 2026Changelog 860c39667315a291d65c3b60d7fdbc0837faec54 perf: add row limiting, precompile regexes, increase default timeout (#162)
v4.2.1mcp-trino v4.2.1 · 6 Jan 2026Changelog a74a3a36341243a4b3fbbbcf2184454680769047 docs(auth): add programmatic authentication guide using mcp-remote token 0a77a278e8d0e9347960addceca92d79899598f6 feat(claude-plugin): add binary installer and plugin configs…
v4.2.0mcp-trino v4.2.0 · 13 Dec 2025Changelog 8acc5c3c41ab5395bdd71aeb532d1ce7be981b08 Pr/tommynguyen vungle/142 (#143)

README

The repository's README runs to about 1.6K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About tuannvm/mcp-trino

How do I install tuannvm/mcp-trino?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is tuannvm/mcp-trino safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 11 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (4 calls), makes outbound network calls (4 calls) and writes or deletes files (2 calls). Its dependencies are pinned by go.sum. It has no ConduID identity yet, so agent calls to it are not receipted.

Is tuannvm/mcp-trino still maintained?

Yes — the last commit was 5 months ago. The repository has 125 stars and 61 forks and 28 open issues.

What tools does tuannvm/mcp-trino provide?

Conduid read 6 tools from the source: execute_query, explain_query, get_table_schema, list_catalogs, list_schemas and list_tables. 5 of them publish their parameters, listed under Tools above.

What license is tuannvm/mcp-trino released under?

The repository declares the MIT license. That applies to the latest release, v4.3.1, as well.