{"servers":[{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.lagaam-ai/lagaam","description":"Stops an agent's Trino or Pinot query before it runs if it costs too much or reads outside its grant","title":"Lagaam","repository":{"url":"https://github.com/lagaam-ai/lagaam","source":"github"},"version":"0.2.4","websiteUrl":"https://github.com/lagaam-ai/lagaam","packages":[{"registryType":"pypi","identifier":"lagaam","version":"0.2.4","transport":{"type":"stdio"},"environmentVariables":[{"description":"Comma list of catalog.schema.table grants; the server will not start without it","isRequired":true,"name":"LAGAAM_ALLOWED_TABLES"},{"description":"true to run with no grant at all: an explicit opt-out, off by default","format":"boolean","name":"LAGAAM_ALLOW_ALL_TABLES"},{"description":"Which adapter to run","default":"trino","choices":["trino","pinot"],"name":"LAGAAM_ENGINE"},{"description":"Trino coordinator host","default":"localhost","name":"TRINO_HOST"},{"description":"Trino coordinator port","format":"number","default":"8080","name":"TRINO_PORT"},{"description":"Trino user","default":"lagaam","name":"TRINO_USER"},{"description":"Pinot controller URL","default":"http://localhost:9000","name":"PINOT_CONTROLLER_URL"},{"description":"Pinot broker URL","default":"http://localhost:8000","name":"PINOT_BROKER_URL"},{"description":"Pinot user; unset means no auth","name":"PINOT_USER"},{"description":"Pinot password; unset means no auth","isSecret":true,"name":"PINOT_PASSWORD"},{"description":"Identity stamped on the audit trail","default":"anonymous","name":"LAGAAM_AGENT_NAME"},{"description":"Scan-bytes budget per query, checked before it runs (default 50 GiB)","format":"number","default":"53687091200","name":"LAGAAM_MAX_SCAN_BYTES"},{"description":"Scanned-row estimate budget per query; unset means ungated","format":"number","name":"LAGAAM_MAX_ROWS"},{"description":"Rows the engine would build at its widest step, not rows returned, so a LIMIT doesn't lower it","format":"number","default":"50000000","name":"LAGAAM_MAX_INTERMEDIATE_ROWS"},{"description":"Rows returned to the agent per query, capped at 100000; a bigger LIMIT in the query is lowered to it","format":"number","default":"1000","name":"LAGAAM_MAX_RETURNED_ROWS"},{"description":"Wall-clock seconds per query","format":"number","default":"300","name":"LAGAAM_QUERY_TIMEOUT"},{"description":"Metadata cache TTL, seconds","format":"number","default":"300","name":"LAGAAM_METADATA_TTL"},{"description":"Audit JSONL file path; unset means stderr","format":"filepath","name":"LAGAAM_AUDIT_LOG"}]}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-09-29T11:42:18.600543Z","publishedAt":"2026-09-29T11:42:18.600543Z","updatedAt":"2026-09-29T11:42:18.600543Z","isLatest":true}}}],"metadata":{"count":1}}
