SkillTide Submit
Official description10 sourcesMCP servers8d ago
tuannvm/mcp-trino

tuannvm/mcp-trino

๐ŸŽ๏ธ โ˜๏ธ - Trino integration
View on GitHub โ†—Direct link ยท no redirect page
Config template (adjust for your client)
claude mcp add mcp-trino -- npx -y mcp-trino
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
122 โ˜… ยท tuannvm/mcp-trino ยท read from the GitHub search API ยท (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-09 ยท last seen 2026-10-16 ยท seen 32ร— ยท listed by 10 sources
Score
score 1,003 ยท 122 โ˜… ยท 10 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆœๅŠก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository tuannvm/mcp-trino๏ผ›first catalogued 2026-10-09๏ผ›last seen 2026-10-16ใ€‚There is no official certification or quality rating here โ€” we record sources and dates only.
Third-party quality signals

Trino MCP Server in Go

ไปฅไธ‹ๆ‘˜ๅฝ•่‡ช่ฏฅไป“ๅบ“็š„ README๏ผˆ็‰‡ๆฎต๏ผ‰ ยท ๅœจ GitHub ่ฏปๅฎŒๆ•ด README โ†’

A high-performance Model Context Protocol (MCP) server for Trino implemented in Go. This project enables AI assistants to seamlessly interact with Trino's distributed SQL query engine through standardized MCP tools.
Overview
This project implements a Model Context Protocol (MCP) server for Trino in Go. It enables AI assistants to access Trino's distributed SQL query engine through standardized MCP tools.
Trino (formerly PrestoSQL) is a powerful distributed SQL query engine designed for fast analytics on large datasets.
Architecture
**Key Components:**
- **AI Clients**: Various MCP-compatible applications
- **Authentication**: Optional OAuth 2.0 with OIDC providers
- **MCP Server**: Go-based server with dual transport support
- **CLI Mode**: Interactive SQL shell for direct Trino access (psql-like)
- **Data Layer**: Trino cluster connecting to multiple data sources
Features
- โœ… **Dual Mode**: Works as both MCP server AND interactive CLI
- **CLI Mode**: psql-like interactive SQL shell for direct Trino access
- **MCP Mode**: Full MCP server for AI assistant integration
- โœ… MCP server implementation in Go
- โœ… Trino SQL query execution through MCP tools
- โœ… Catalog, schema, and table discovery
- โœ… Docker container support
- โœ… Supports both STDIO and HTTP transports
- โœ… OAuth 2.1 authentication via oauth-mcp-proxy library
- **4 Providers**: HMAC, Okta, Google, Azure AD
- **Native mode**: Client handles OAuth directly (zero server-side secrets)
- **Proxy mode**: Server proxies OAuth flow for simple clients
- **Production-ready**: Token caching, PKCE, defense-in-depth security
- **Reusable**: OAuth library available for any Go MCP server
- โœ… StreamableHTTP support with JWT authentication (upgraded from SSE)
- โœ… Backward compatibility with SSE endpoints
- โœ… Compatible with Cursor, Claude Desktop, Windsurf, ChatWise, and any MCP-compatible clients.
- โœ… User Identity Tracking:
- **Query Attribution** (automatic): Tags queries with OAuth user via X-Trino-Client-Tags/Info headers
- **User Impersonation** (opt-in): Execute queries as OAuth user via X-Trino-User header
Installation & Quick Start
**Install:**
**Run (Local Development):**
For production deployment with OAuth, see Deployment Guide and OAuth Architecture.
CLI Mode
mcp-trino can be used as an interactive CLI similar to psql or the Trino CLI:
Built-in Help
Every command has structured, LLM-friendly help output:
Help output follows Unix man-page conventions with sections: NAME, SYNOPSIS, DESCRIPTION, COMMANDS, FLAGS, EXAMPLES, ENVIRONMENT, and CONFIGURATION.
Exit Codes
| Code | Meaning |
|------|---------|
| 0 | Success |
| 1 | Runtime error (connection failed, query error, etc.) |
| 2 | Usage error (unknown command, invalid flags, missing arguments) |
Named Profiles
mcp-trino supports named connection profiles for easy switching between Trino environments.
**Configuration File** โ€” supports both YAML (~/.config/trino/config.yaml) and JSON (~/.config/trino/config.json):
Or equivalently in JSON:
When both files exist, config.json takes precedence. New configs default to JSON.
**Profile Management Commands:**
**Configuration Precedence** (highest to lowest):
1. CLI flags (--host, --port, etc.)
2. --profile flag
3. TRINO_PROFILE environment variable
4. current field in config file
5. default profile fallback
6. Environment variables (TRINO_HOST, etc.)
**Environment Variables** (lowest priority - overridden by profiles and flags):
Source
awesome ยท https://github.com/tuannvm/mcp-trino
Browse by field
MCP servers
Traction
122 โ˜…
added
yesterday

More in MCP servers

All 5,525 in MCP servers โ†’

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields โ†’

โ† Back to index