Hive Hive
Sign in

Internal read-only database API for Atlas

Metadata
Source
GitHub
Version
server@1.222.0
Published
Jun 29, 2026 · 17:27 UTC
Repository
tuist/tuist
Update

Adds a new internal read-only database API under /api/internal/atlas/db that the Atlas service account can call to run a single SQL statement, list application-owned tables with size and estimated row counts, and describe a table’s columns. Queries are gated to a read-only grammar (SELECT/WITH/EXPLAIN/SHOW) and executed through the least-privilege tuist_ops_ro role inside a READ ONLY transaction with a clamped statement timeout, so Atlas’ MCP tools (executive-gated *_tuist_postgres* tools) can query Tuist’s Postgres data without connecting to the database directly.