What this kind of tool is for
- Scan a repository or dependency tree for known vulnerabilities.
- Audit secrets, permissions, or headers during a pre-release review.
- Have your agent explain a suspicious script or config before you run it.
How to compare servers like this
- Failure mode:
- Vulnerability reports are probabilistic; read findings as leads to verify, not verdicts.
- Data leaving the box:
- Check whether files or code are uploaded anywhere before scanning anything private.
- Maintenance signal:
- Security rulesets age fast; stale tools miss new classes of issue.
- Report clarity:
- The best tools say what is wrong, how sure they are, and how to fix it — verify findings yourself.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
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
{
"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

qURL
Mint, resolve, audit, and rotate scope-limited expiring access links (qURLs) for AI agents.

io.github.lazymac2x/ai-guardrails
Cloudflare Workers MCP server: ai-guardrails

io.github.lazymac2x/api-payload-auditor
Cloudflare Workers MCP server: api-payload-auditor

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.