PluginBench
MCP Server
Active
Apache-2.0

Lagaam MCP Server

io.github.lagaam-ai/lagaam

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.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • LAGAAM_ALLOWED_TABLES
    required

    Comma list of catalog.schema.table grants; the server will not start without it

  • LAGAAM_ALLOW_ALL_TABLES

    true to run with no grant at all: an explicit opt-out, off by default

  • LAGAAM_ENGINE

    Which adapter to run

  • TRINO_HOST

    Trino coordinator host

  • TRINO_PORT

    Trino coordinator port

  • TRINO_USER

    Trino user

  • PINOT_CONTROLLER_URL

    Pinot controller URL

  • PINOT_BROKER_URL

    Pinot broker URL

  • PINOT_USER

    Pinot user; unset means no auth

  • PINOT_PASSWORD
    secret

    Pinot password; unset means no auth

  • LAGAAM_AGENT_NAME

    Identity stamped on the audit trail

  • LAGAAM_MAX_SCAN_BYTES

    Scan-bytes budget per query, checked before it runs (default 50 GiB)

  • LAGAAM_MAX_ROWS

    Scanned-row estimate budget per query; unset means ungated

  • LAGAAM_MAX_INTERMEDIATE_ROWS

    Rows the engine would build at its widest step, not rows returned, so a LIMIT doesn't lower it

  • LAGAAM_MAX_RETURNED_ROWS

    Rows returned to the agent per query, capped at 100000; a bigger LIMIT in the query is lowered to it

  • LAGAAM_QUERY_TIMEOUT

    Wall-clock seconds per query

  • LAGAAM_METADATA_TTL

    Metadata cache TTL, seconds

  • LAGAAM_AUDIT_LOG

    Audit JSONL file path; unset means stderr

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lagaam": {
      "command": "uvx",
      "args": [
        "lagaam"
      ],
      "env": {
        "LAGAAM_ALLOWED_TABLES": "<YOUR_LAGAAM_ALLOWED_TABLES>",
        "LAGAAM_ALLOW_ALL_TABLES": "<YOUR_LAGAAM_ALLOW_ALL_TABLES>",
        "LAGAAM_ENGINE": "<YOUR_LAGAAM_ENGINE>",
        "TRINO_HOST": "<YOUR_TRINO_HOST>",
        "TRINO_PORT": "<YOUR_TRINO_PORT>",
        "TRINO_USER": "<YOUR_TRINO_USER>",
        "PINOT_CONTROLLER_URL": "<YOUR_PINOT_CONTROLLER_URL>",
        "PINOT_BROKER_URL": "<YOUR_PINOT_BROKER_URL>",
        "PINOT_USER": "<YOUR_PINOT_USER>",
        "PINOT_PASSWORD": "<YOUR_PINOT_PASSWORD>",
        "LAGAAM_AGENT_NAME": "<YOUR_LAGAAM_AGENT_NAME>",
        "LAGAAM_MAX_SCAN_BYTES": "<YOUR_LAGAAM_MAX_SCAN_BYTES>",
        "LAGAAM_MAX_ROWS": "<YOUR_LAGAAM_MAX_ROWS>",
        "LAGAAM_MAX_INTERMEDIATE_ROWS": "<YOUR_LAGAAM_MAX_INTERMEDIATE_ROWS>",
        "LAGAAM_MAX_RETURNED_ROWS": "<YOUR_LAGAAM_MAX_RETURNED_ROWS>",
        "LAGAAM_QUERY_TIMEOUT": "<YOUR_LAGAAM_QUERY_TIMEOUT>",
        "LAGAAM_METADATA_TTL": "<YOUR_LAGAAM_METADATA_TTL>",
        "LAGAAM_AUDIT_LOG": "<YOUR_LAGAAM_AUDIT_LOG>"
      }
    }
  }
}

Related MCP servers

SCScholarFetch logo

ScholarFetch

Maintained

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

1
Python
Apache-2.0
View repository →

Convert PDF, DOCX, XLSX, PPTX, HTML, audio to token-efficient Markdown for any MCP client.

0
JavaScript
MIT
View repository →
QUQualiTaTi logo

QualiTaTi

Active

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

0
MIT
View repository →

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

42
JavaScript
View repository →
LALanded logo

Landed

Active

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

3
TypeScript
MIT
View repository →

Enterprise FHIR MCP server for EMRs (EPIC, Cerner, OpenEMR) with 4 generic tools and 40+ clinical skills.

52
Go
MIT
View repository →