Search / io.github.lagaam-ai/lagaam
Lagaam
L0· runs locallyStops an agent's Trino or Pinot query before it runs if it costs too much or reads outside its grant
v0.2.5 · active · repository · website · descriptor JSON · versions
Search / io.github.lagaam-ai/lagaam
L0· runs locallyStops an agent's Trino or Pinot query before it runs if it costs too much or reads outside its grant
v0.2.5 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"lagaam": {
"command": "uvx",
"args": [
"lagaam==0.2.5"
],
"env": {
"LAGAAM_ALLOWED_TABLES": "${LAGAAM_ALLOWED_TABLES}",
"LAGAAM_ENGINE": "trino",
"TRINO_HOST": "localhost",
"TRINO_PORT": "8080",
"TRINO_USER": "lagaam",
"PINOT_CONTROLLER_URL": "http://localhost:9000",
"PINOT_BROKER_URL": "http://localhost:8000",
"PINOT_PASSWORD": "${PINOT_PASSWORD}",
"LAGAAM_AGENT_NAME": "anonymous",
"LAGAAM_MAX_SCAN_BYTES": "53687091200",
"LAGAAM_MAX_INTERMEDIATE_ROWS": "50000000",
"LAGAAM_MAX_RETURNED_ROWS": "1000",
"LAGAAM_QUERY_TIMEOUT": "300",
"LAGAAM_METADATA_TTL": "300"
}
}
}
}claude mcp add lagaam -e "LAGAAM_ALLOWED_TABLES=${LAGAAM_ALLOWED_TABLES}" -e "LAGAAM_ENGINE=trino" -e "TRINO_HOST=localhost" -e "TRINO_PORT=8080" -e "TRINO_USER=lagaam" -e "PINOT_CONTROLLER_URL=http://localhost:9000" -e "PINOT_BROKER_URL=http://localhost:8000" -e "PINOT_PASSWORD=${PINOT_PASSWORD}" -e "LAGAAM_AGENT_NAME=anonymous" -e "LAGAAM_MAX_SCAN_BYTES=53687091200" -e "LAGAAM_MAX_INTERMEDIATE_ROWS=50000000" -e "LAGAAM_MAX_RETURNED_ROWS=1000" -e "LAGAAM_QUERY_TIMEOUT=300" -e "LAGAAM_METADATA_TTL=300" -- uvx lagaam==0.2.5[mcp_servers.lagaam]
command = "uvx"
args = ["lagaam==0.2.5"]
env = { "LAGAAM_ALLOWED_TABLES" = "${LAGAAM_ALLOWED_TABLES}", "LAGAAM_ENGINE" = "trino", "TRINO_HOST" = "localhost", "TRINO_PORT" = "8080", "TRINO_USER" = "lagaam", "PINOT_CONTROLLER_URL" = "http://localhost:9000", "PINOT_BROKER_URL" = "http://localhost:8000", "PINOT_PASSWORD" = "${PINOT_PASSWORD}", "LAGAAM_AGENT_NAME" = "anonymous", "LAGAAM_MAX_SCAN_BYTES" = "53687091200", "LAGAAM_MAX_INTERMEDIATE_ROWS" = "50000000", "LAGAAM_MAX_RETURNED_ROWS" = "1000", "LAGAAM_QUERY_TIMEOUT" = "300", "LAGAAM_METADATA_TTL" = "300" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"lagaam": {
"type": "local",
"command": [
"uvx",
"lagaam==0.2.5"
],
"enabled": true,
"environment": {
"LAGAAM_ALLOWED_TABLES": "{env:LAGAAM_ALLOWED_TABLES}",
"LAGAAM_ENGINE": "trino",
"TRINO_HOST": "localhost",
"TRINO_PORT": "8080",
"TRINO_USER": "lagaam",
"PINOT_CONTROLLER_URL": "http://localhost:9000",
"PINOT_BROKER_URL": "http://localhost:8000",
"PINOT_PASSWORD": "{env:PINOT_PASSWORD}",
"LAGAAM_AGENT_NAME": "anonymous",
"LAGAAM_MAX_SCAN_BYTES": "53687091200",
"LAGAAM_MAX_INTERMEDIATE_ROWS": "50000000",
"LAGAAM_MAX_RETURNED_ROWS": "1000",
"LAGAAM_QUERY_TIMEOUT": "300",
"LAGAAM_METADATA_TTL": "300"
}
}
}
}{
"mcpServers": {
"lagaam": {
"command": "uvx",
"args": [
"lagaam==0.2.5"
],
"env": {
"LAGAAM_ALLOWED_TABLES": "${LAGAAM_ALLOWED_TABLES}",
"LAGAAM_ENGINE": "trino",
"TRINO_HOST": "localhost",
"TRINO_PORT": "8080",
"TRINO_USER": "lagaam",
"PINOT_CONTROLLER_URL": "http://localhost:9000",
"PINOT_BROKER_URL": "http://localhost:8000",
"PINOT_PASSWORD": "${PINOT_PASSWORD}",
"LAGAAM_AGENT_NAME": "anonymous",
"LAGAAM_MAX_SCAN_BYTES": "53687091200",
"LAGAAM_MAX_INTERMEDIATE_ROWS": "50000000",
"LAGAAM_MAX_RETURNED_ROWS": "1000",
"LAGAAM_QUERY_TIMEOUT": "300",
"LAGAAM_METADATA_TTL": "300"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=lagaam&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJsYWdhYW09PTAuMi41Il0sImVudiI6eyJMQUdBQU1fQUxMT1dFRF9UQUJMRVMiOiIke0xBR0FBTV9BTExPV0VEX1RBQkxFU30iLCJMQUdBQU1fRU5HSU5FIjoidHJpbm8iLCJUUklOT19IT1NUIjoibG9jYWxob3N0IiwiVFJJTk9fUE9SVCI6IjgwODAiLCJUUklOT19VU0VSIjoibGFnYWFtIiwiUElOT1RfQ09OVFJPTExFUl9VUkwiOiJodHRwOi8vbG9jYWxob3N0OjkwMDAiLCJQSU5PVF9CUk9LRVJfVVJMIjoiaHR0cDovL2xvY2FsaG9zdDo4MDAwIiwiUElOT1RfUEFTU1dPUkQiOiIke1BJTk9UX1BBU1NXT1JEfSIsIkxBR0FBTV9BR0VOVF9OQU1FIjoiYW5vbnltb3VzIiwiTEFHQUFNX01BWF9TQ0FOX0JZVEVTIjoiNTM2ODcwOTEyMDAiLCJMQUdBQU1fTUFYX0lOVEVSTUVESUFURV9ST1dTIjoiNTAwMDAwMDAiLCJMQUdBQU1fTUFYX1JFVFVSTkVEX1JPV1MiOiIxMDAwIiwiTEFHQUFNX1FVRVJZX1RJTUVPVVQiOiIzMDAiLCJMQUdBQU1fTUVUQURBVEFfVFRMIjoiMzAwIn19"
}{
"servers": {
"lagaam": {
"type": "stdio",
"command": "uvx",
"args": [
"lagaam==0.2.5"
],
"env": {
"LAGAAM_ALLOWED_TABLES": "${LAGAAM_ALLOWED_TABLES}",
"LAGAAM_ENGINE": "trino",
"TRINO_HOST": "localhost",
"TRINO_PORT": "8080",
"TRINO_USER": "lagaam",
"PINOT_CONTROLLER_URL": "http://localhost:9000",
"PINOT_BROKER_URL": "http://localhost:8000",
"PINOT_PASSWORD": "${PINOT_PASSWORD}",
"LAGAAM_AGENT_NAME": "anonymous",
"LAGAAM_MAX_SCAN_BYTES": "53687091200",
"LAGAAM_MAX_INTERMEDIATE_ROWS": "50000000",
"LAGAAM_MAX_RETURNED_ROWS": "1000",
"LAGAAM_QUERY_TIMEOUT": "300",
"LAGAAM_METADATA_TTL": "300"
}
}
}
}{
"mcpServers": {
"lagaam": {
"command": "uvx",
"args": [
"lagaam==0.2.5"
],
"env": {
"LAGAAM_ALLOWED_TABLES": "${LAGAAM_ALLOWED_TABLES}",
"LAGAAM_ENGINE": "trino",
"TRINO_HOST": "localhost",
"TRINO_PORT": "8080",
"TRINO_USER": "lagaam",
"PINOT_CONTROLLER_URL": "http://localhost:9000",
"PINOT_BROKER_URL": "http://localhost:8000",
"PINOT_PASSWORD": "${PINOT_PASSWORD}",
"LAGAAM_AGENT_NAME": "anonymous",
"LAGAAM_MAX_SCAN_BYTES": "53687091200",
"LAGAAM_MAX_INTERMEDIATE_ROWS": "50000000",
"LAGAAM_MAX_RETURNED_ROWS": "1000",
"LAGAAM_QUERY_TIMEOUT": "300",
"LAGAAM_METADATA_TTL": "300"
}
}
}
}extensions:
"lagaam":
enabled: true
name: "lagaam"
type: stdio
cmd: "uvx"
args:
- "lagaam==0.2.5"
envs:
"LAGAAM_ALLOWED_TABLES": "${LAGAAM_ALLOWED_TABLES}"
"LAGAAM_ENGINE": "trino"
"TRINO_HOST": "localhost"
"TRINO_PORT": "8080"
"TRINO_USER": "lagaam"
"PINOT_CONTROLLER_URL": "http://localhost:9000"
"PINOT_BROKER_URL": "http://localhost:8000"
"PINOT_PASSWORD": "${PINOT_PASSWORD}"
"LAGAAM_AGENT_NAME": "anonymous"
"LAGAAM_MAX_SCAN_BYTES": "53687091200"
"LAGAAM_MAX_INTERMEDIATE_ROWS": "50000000"
"LAGAAM_MAX_RETURNED_ROWS": "1000"
"LAGAAM_QUERY_TIMEOUT": "300"
"LAGAAM_METADATA_TTL": "300"
timeout: 300
Placeholders to fill from your own secret store: ${PINOT_PASSWORD}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknownNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured +updated-11d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] PyPIthis version is not known to the dependency resolver
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
lagaam | pypi | 0.2.5 | – | PINOT_PASSWORD |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.lagaam-ai/lagaam",
"title": "Lagaam",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.2.5",
"packages": [
{
"version": "0.2.5",
"transport": {
"type": "stdio"
},
"identifier": "lagaam",
"registryType": "pypi",
"environmentVariables": [
{
"name": "LAGAAM_ALLOWED_TABLES",
"isRequired": true,
"description": "Comma list of catalog.schema.table grants; the server will not start without it"
},
{
"name": "LAGAAM_ALLOW_ALL_TABLES",
"format": "boolean",
"description": "true to run with no grant at all: an explicit opt-out, off by default"
},
{
"name": "LAGAAM_ENGINE",
"choices": [
"trino",
"pinot"
],
"default": "trino",
"description": "Which adapter to run"
},
{
"name": "TRINO_HOST",
"default": "localhost",
"description": "Trino coordinator host"
},
{
"name": "TRINO_PORT",
"format": "number",
"default": "8080",
"description": "Trino coordinator port"
},
{
"name": "TRINO_USER",
"default": "lagaam",
"description": "Trino user"
},
{
"name": "PINOT_CONTROLLER_URL",
"default": "http://localhost:9000",
"description": "Pinot controller URL"
},
{
"name": "PINOT_BROKER_URL",
"default": "http://localhost:8000",
"description": "Pinot broker URL"
},
{
"name": "PINOT_USER",
"description": "Pinot user; unset means no auth"
},
{
"name": "PINOT_PASSWORD",
"isSecret": true,
"description": "Pinot password; unset means no auth"
},
{
"name": "LAGAAM_AGENT_NAME",
"default": "anonymous",
"description": "Identity stamped on the audit trail"
},
{
"name": "LAGAAM_MAX_SCAN_BYTES",
"format": "number",
"default": "53687091200",
"description": "Scan-bytes budget per query, checked before it runs (default 50 GiB)"
},
{
"name": "LAGAAM_MAX_ROWS",
"format": "number",
"description": "Scanned-row estimate budget per query; unset means ungated"
},
{
"name": "LAGAAM_MAX_INTERMEDIATE_ROWS",
"format": "number",
"default": "50000000",
"description": "Rows the engine would build at its widest step, not rows returned, so a LIMIT doesn't lower it"
},
{
"name": "LAGAAM_MAX_RETURNED_ROWS",
"format": "number",
"default": "1000",
"description": "Rows returned to the agent per query, capped at 100000; a bigger LIMIT in the query is lowered to it"
},
{
"name": "LAGAAM_QUERY_TIMEOUT",
"format": "number",
"default": "300",
"description": "Wall-clock seconds per query"
},
{
"name": "LAGAAM_METADATA_TTL",
"format": "number",
"default": "300",
"description": "Metadata cache TTL, seconds"
},
{
"name": "LAGAAM_AUDIT_LOG",
"format": "filepath",
"description": "Audit JSONL file path; unset means stderr"
}
]
}
],
"repository": {
"url": "https://github.com/lagaam-ai/lagaam",
"source": "github"
},
"websiteUrl": "https://github.com/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"
}