Skip to content
Lagaam
Install guide · Cursor

Install Lagaam for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "lagaam-ai-lagaam": {      "command": "uvx",      "args": [        "lagaam"      ],      "env": {        "LAGAAM_ALLOWED_TABLES": "",        "LAGAAM_ALLOW_ALL_TABLES": "",        "LAGAAM_ENGINE": "trino",        "TRINO_HOST": "localhost",        "TRINO_PORT": "8080",        "TRINO_USER": "lagaam",        "TRINO_PASSWORD": "YOUR_TRINO_PASSWORD",        "TRINO_JWT": "YOUR_TRINO_JWT",        "TRINO_HTTP_SCHEME": "",        "TRINO_VERIFY": "true",        "PINOT_CONTROLLER_URL": "http://localhost:9000",        "PINOT_BROKER_URL": "http://localhost:8000",        "PINOT_USER": "",        "PINOT_PASSWORD": "YOUR_PINOT_PASSWORD",        "LAGAAM_AGENT_NAME": "anonymous",        "LAGAAM_MAX_SCAN_BYTES": "53687091200",        "LAGAAM_MAX_ROWS": "",        "LAGAAM_MAX_INTERMEDIATE_ROWS": "50000000",        "LAGAAM_MAX_RETURNED_ROWS": "1000",        "LAGAAM_QUERY_TIMEOUT": "300",        "LAGAAM_METADATA_TTL": "300",        "LAGAAM_AUDIT_LOG": ""      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json