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.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "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
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |