Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 12, 2026·2 min de lecture

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.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 94/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Single
Confiance
Confiance : Established
Point d'entrée
mcp-trino
Commande CLI universelle
npx tokrepo install 8a01b5ca-fe0b-5120-9909-4a9505e34323
Introduction

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.

🙏

Source et remerciements

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires