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
{
"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