트리노 MCP 서버
이 저장소는 Python을 사용하여 Trino를 통해 테이블을 나열하고 쿼리할 수 있는 MCP(모델-제어-프로토콜) 서버를 제공합니다.
개요
MCP: MCP는 AI 모델, 데이터 및 도구를 연결하는 프로토콜입니다. 이 예시 MCP 서버는 다음을 제공합니다.
MCP 리소스로서의 Trino 테이블 목록
MCP를 통해 테이블 내용을 읽을 수 있는 기능
Trino에 대한 임의의 SQL 쿼리를 실행하기 위한 도구
Trino: 빅데이터 분석을 위한 빠른 분산 SQL 쿼리 엔진입니다. 이 서버는 Trino의 Python 클라이언트(trino.dbapi)를 사용하여 Trino 호스트, 카탈로그 및 스키마에 연결합니다.
요구 사항
Python 3.9 이상(또는 mcp, trino, asyncio와 호환되는 버전)
trino(Trino용 Python 드라이버)
mcp(모델-제어-프로토콜 Python 라이브러리)
구성
서버는 환경 변수에서 Trino 연결 세부 정보를 읽습니다.
변하기 쉬운 | 설명 | 기본 |
| Trino 서버 호스트 이름 또는 IP |
|
| 트리노 서버 포트 |
|
| 트리노 사용자 이름 | 필수의 |
| Trino 비밀번호(선택 사항, 인증 설정에 따라 다름) | (비어 있는) |
| 사용할 기본 카탈로그(예:
,
,
등) | 필수의 |
| 사용할 기본 스키마(예:
,
등) | 필수의 |
용법
지엑스피1
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.
Python을 사용하여 Trino 테이블을 나열하고 쿼리할 수 있는 MCP 서버로, 모델 제어 프로토콜을 통해 데이터 리소스에 대한 액세스를 제공합니다.
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Python-based MCP server that integrates the TapTools API, enabling AI models to fetch Cardano blockchain data, including tokens, NFTs, market stats, and wallet info, through standardized tools.Last updated -MIT License
- -securityAlicense-qualityA Model Context Protocol server that provides seamless integration with Trino and Iceberg, enabling data exploration, querying, and table maintenance through a standard interface.Last updated -19Apache 2.0
- -securityFlicense-qualityAn MCP server that allows working with MySQL databases by providing tools for executing read-only SQL queries, getting table schemas, and listing database tables.Last updated -3144
- -securityAlicense-qualityA high-performance Model Context Protocol (MCP) server for Trino implemented in Go.Last updated -64MIT License