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

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 17/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Mcp Config
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande de staging sûr
npx -y tokrepo@latest install 8a01b5ca-fe0b-5120-9909-4a9505e34323 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

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