mcp-server-trino logo

mcp-server-trino为Trino提供的MCP服务

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

为Trino提供的MCP服务仓库提供了一种模型、控制、协议(MCP)服务,使用户能够使用Python通过Trino列出和查询表。MCp是连接AI模型、数据和工具的通信协议。该服务使用户能够将Trino表列为MCP资源、读取表内容通过MCP并对Trino执行任意SQL命令。它使用Trino的Python客户端(trino.dbapi)连接到Trino主机、目录和模式。 该服务要求Python 3.9+和Trino和MCP Python库。通过环境变量进行配置,用于Trino连接详细信息,包括主机、端口、用户、密码、目录和模式。该仓库使用MIT许可证进行开源。

主要功能

  • Trino表列表显示
  • 表内容读取
  • 执行任意SQL命令
  • MCP协议支持
  • Trino Python客户端集成

价格

模型
Free
评分
暂无评价

使用场景

统计分果统计

将MCP服务用于数据分析目的

给计器给计统计统计

将MCP服务集成到其他工具中,执行SQL命令并检索Trino的结果

优点 & 缺点

优点

  • 使用户能够使用MCP协议查询Trino表
  • 支持将Trino表列为MCP资源
  • 允许用户执行Trino上任意SQL命令

缺点

  • 要求Python 3.9+和兼容的库
  • Trino连接详细信息必须作为环境变量提供

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

Is the project open source and free to use?

Yes, it is licensed under the MIT license, making it free and permissive for commercial or personal use.

Asked by Mustafa Yilmaz · Apr 22, 2026

What are the language and library prerequisites?

The server requires Python 3.9+ and the "trino" Python driver (trino.dbapi) plus the "mcp" protocol library. All dependencies are listed in requirements.txt.

Asked by Devin Walker · Apr 6, 2026

What can the MCP Server for Trino do with my tables?

It lists all tables in the specified catalog/schema as MCP resources, allows reading table contents via MCP, and lets you execute arbitrary SQL queries against Trino through the MCP interface.

Asked by Yuki Mori · Mar 16, 2026

How do I configure the MCP Server for Trino to connect to my Trino instance?

Set the required environment variables: TRINO_HOST, TRINO_PORT (default 8080), TRINO_USER, optional TRINO_PASSWORD, TRINO_CATALOG, and TRINO_SCHEMA. These are read by the server on startup.

Asked by Jasper Vermeer · Feb 6, 2026

提问

服务配缩器 的替代品