Esta página se muestra en inglés. Una traducción al español está en curso.
MCP ConfigsMay 12, 2026·2 min de lectura

Trino MCP — OAuth 2.1 + Query CLI for Data Warehouses

Trino MCP is a Go MCP server and CLI for Trino with OAuth 2.1 support, letting agents query catalogs and schemas with traceable user identity.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Native · 94/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Mcp
Instalación
Single
Confianza
Confianza: Established
Entrada
mcp-trino
Comando CLI universal
npx tokrepo install 8a01b5ca-fe0b-5120-9909-4a9505e34323
Introducción

Trino MCP is a Go MCP server and CLI for Trino with OAuth 2.1 support, letting agents query catalogs and schemas with traceable user identity.

  • Best for: data platform teams that want MCP access to Trino plus an operator-friendly CLI for debugging and smoke tests
  • Works with: Trino, Go-based binary via Homebrew or install script, OAuth 2.1 for production deployments
  • Setup time: 10-30 minutes

Practical Notes

  • Quant: the CLI supports catalogs/schemas/tables/describe/explain commands—use it as a deterministic health check for agent tooling.
  • Quant: for production, adopt OAuth so every query is attributable to a user identity instead of a shared service token.

Rollout pattern

  • Use CLI mode to validate baseline connectivity, then connect an MCP client for natural-language workflows.
  • Create a least-privilege Trino user for agent workflows; keep admin capabilities out-of-band.
  • Enable OAuth when you move beyond a single-user laptop setup to shared deployments.

Watchouts

A powerful query tool can become an exfiltration path. Apply catalog/schema allowlists, result-size limits, and audit logging before broad rollout.

FAQ

Q: Is the CLI required? A: No, but it is a great verification tool. Use the CLI for deterministic smoke tests before LLM-driven queries.

Q: What does OAuth buy me? A: User-level attribution and safer shared deployments, instead of one shared token for everyone.

Q: How do I start safely? A: Use a staging Trino environment, restrict catalogs, and keep query limits small until you understand agent behavior.

🙏

Fuente y agradecimientos

Source: https://github.com/tuannvm/mcp-trino > License: MIT > GitHub stars: 103 · forks: 45

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados