What is the Lagaam MCP server?
Stops an agent's Trino or Pinot query before it runs if it costs too much or reads outside its grant
How to install Lagaam
Copy-paste configuration for popular MCP clients.
LAGAAM_ALLOWED_TABLESrequiredComma list of catalog.schema.table grants; the server will not start without it
LAGAAM_ALLOW_ALL_TABLEStrue to run with no grant at all: an explicit opt-out, off by default
LAGAAM_ENGINEWhich adapter to run
TRINO_HOSTTrino coordinator host
TRINO_PORTTrino coordinator port
TRINO_USERTrino user
PINOT_CONTROLLER_URLPinot controller URL
PINOT_BROKER_URLPinot broker URL
PINOT_USERPinot user; unset means no auth
PINOT_PASSWORDsecretPinot password; unset means no auth
LAGAAM_AGENT_NAMEIdentity stamped on the audit trail
LAGAAM_MAX_SCAN_BYTESScan-bytes budget per query, checked before it runs (default 50 GiB)
LAGAAM_MAX_ROWSScanned-row estimate budget per query; unset means ungated
LAGAAM_MAX_INTERMEDIATE_ROWSRows the engine would build at its widest step, not rows returned, so a LIMIT doesn't lower it
LAGAAM_MAX_RETURNED_ROWSRows returned to the agent per query, capped at 100000; a bigger LIMIT in the query is lowered to it
LAGAAM_QUERY_TIMEOUTWall-clock seconds per query
LAGAAM_METADATA_TTLMetadata cache TTL, seconds
LAGAAM_AUDIT_LOGAudit JSONL file path; unset means stderr
Related MCP servers

ScholarFetch
Multi-engine scholarly research server for search, traversal, full text, and reading lists.

io.github.lakshgk/distill-mcp
Convert PDF, DOCX, XLSX, PPTX, HTML, audio to token-efficient Markdown for any MCP client.

QualiTaTi
Run AI-moderated interviews, conversational surveys and qualitative analysis on QualiTaTi from your

Native macOS and Windows MCP server with 82 tools for Mail, Calendar, Teams, OneDrive and more.

Landed
Search AI-native jobs, inspect application forms, and fetch free interview-prep resources.

io.github.langcare/langcare-mcp-fhir
Enterprise FHIR MCP server for EMRs (EPIC, Cerner, OpenEMR) with 4 generic tools and 40+ clinical skills.