Skip to content
Cursor

Lokra for Cursor

io.github.lokrahq/lokra

Postgres for AI agents with row locks, masking, approved writes and a signed audit ledger.

client:Cursor transport:stdio runtime:pypi

Install Lokra in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "lokra": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lokra"
      ],
      "env": {
        "LOKRA_CONFIG": "<LOKRA_CONFIG>",
        "LOKRA_TOKEN": "<LOKRA_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Lokra in other clients