Postgres gateway for AI agents: blocks destructive SQL, holds risky writes, undoes applied ones.
Connect Runs on your machine
claude mcp add lomberk -e LOMBERK_CONFIG=<LOMBERK_CONFIG> -e LOMBERK_AGENT_DSN=<LOMBERK_AGENT_DSN> -e LOMBERK_ADMIN_DSN=<LOMBERK_ADMIN_DSN> -- uvx lomberk==0.2.0
{
"mcpServers": {
"lomberk": {
"command": "uvx",
"args": [
"lomberk==0.2.0"
],
"env": {
"LOMBERK_CONFIG": "<LOMBERK_CONFIG>",
"LOMBERK_AGENT_DSN": "<LOMBERK_AGENT_DSN>",
"LOMBERK_ADMIN_DSN": "<LOMBERK_ADMIN_DSN>"
}
}
}
}
{
"mcpServers": {
"lomberk": {
"command": "uvx",
"args": [
"lomberk==0.2.0"
],
"env": {
"LOMBERK_CONFIG": "<LOMBERK_CONFIG>",
"LOMBERK_AGENT_DSN": "<LOMBERK_AGENT_DSN>",
"LOMBERK_ADMIN_DSN": "<LOMBERK_ADMIN_DSN>"
}
}
}
}
{
"servers": {
"lomberk": {
"type": "stdio",
"command": "uvx",
"args": [
"lomberk==0.2.0"
],
"env": {
"LOMBERK_CONFIG": "<LOMBERK_CONFIG>",
"LOMBERK_AGENT_DSN": "<LOMBERK_AGENT_DSN>",
"LOMBERK_ADMIN_DSN": "<LOMBERK_ADMIN_DSN>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
LOMBERK_CONFIGRequired | Absolute path to the lomberk.yaml that `lomberk setup` wrote. The connection strings and keys are read from the .env beside it. |
LOMBERK_AGENT_DSNOptional, secret | Connection string for the low-privilege role the agent's SQL runs as. Only needed when the .env beside lomberk.yaml doesn't set it. |
LOMBERK_ADMIN_DSNOptional, secret | Connection string for the control role that owns the lomberk schema (checkpoints, undo, ledger). Only needed when the .env beside lomberk.yaml doesn't set it. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 11 Nov 2026 |
| Last updated | 11 Nov 2026 |
| Registry name | io.github.ege-usta/lomberk |
More databases servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
