A
securityF
licenseA
qualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
Last updated -
39
25
Mentioned as a possible catalog type that can be used with Trino through the MCP server
Mentioned as a possible catalog type that can be used with Trino through the MCP server
Allows users to list tables, read table contents, and execute arbitrary SQL queries against a Trino database through an MCP server
该存储库提供了一个 MCP(模型控制协议)服务器,允许您使用 Python 通过 Trino 列出和查询表。
服务器从环境变量中读取 Trino 连接详细信息:
多变的 | 描述 | 默认 |
---|---|---|
TRINO_HOST | Trino 服务器主机名或 IP | localhost |
TRINO_PORT | Trino 服务器端口 | 8080 |
TRINO_USER | Trino 用户名 | 必需的 |
TRINO_PASSWORD | Trino 密码(可选,取决于您的身份验证设置) | (空的) |
TRINO_CATALOG | 使用的默认目录(例如, hive 、 tpch 、 postgresql 等) | 必需的 |
TRINO_SCHEMA | 要使用的默认架构(例如default 、 public 等) | 必需的 |
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP 服务器可以使用 Python 列出和查询 Trino 表,并通过模型控制协议提供对数据资源的访问。