$ timeahead.in
mcp/theralabslegion-mcp/install/cursor

install TheRaLabs/legion-mcp on Cursor

Requires the runtime declared in the upstream repo — check the README before running. Cursor reloads its MCP servers automatically the moment the file is saved — no restart needed. Paste the config below, then follow the reload step to register TheRaLabs/legion-mcp.

paste into
global: ~/.cursor/mcp.json
project: .cursor/mcp.json (commit alongside your repo)
{
  "mcpServers": {
    "database-mcp": {
      "command": "uvx",
      "args": [
        "database-mcp"
      ],
      "env": {
        "DB_CONFIGS": "[{\"id\":\"pg_main\",\"db_type\":\"pg\",\"configuration\":{\"host\":\"localhost\",\"port\":5432,\"user\":\"user\",\"password\":\"pw\",\"dbname\":\"postgres\"},\"description\":\"PostgreSQL Database\"},{\"id\":\"mysql_data\",\"db_type\":\"mysql\",\"configuration\":{\"host\":\"localhost\",\"port\":3306,\"user\":\"root\",\"password\":\"pass\",\"database\":\"mysql\"},\"description\":\"MySQL Database\"}]"
      }
    }
  }
}
then: No restart needed — Cursor picks up the change automatically.
other clients
Claude DesktopWindsurfVS Code (Copilot)Claude Code
← back to TheRaLabs/legion-mcp