Skip to content
VS Code

Lomberk for VS Code

io.github.ege-usta/lomberk

Postgres gateway for AI agents: blocks destructive SQL, holds risky writes, undoes applied ones.

client:VS Code transport:stdio runtime:pypi

Install Lomberk in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "lomberk-config",
      "description": "LOMBERK_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lomberk-agent-dsn",
      "description": "LOMBERK_AGENT_DSN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lomberk-admin-dsn",
      "description": "LOMBERK_ADMIN_DSN",
      "password": true
    }
  ],
  "servers": {
    "lomberk": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lomberk"
      ],
      "env": {
        "LOMBERK_CONFIG": "${input:lomberk-config}",
        "LOMBERK_AGENT_DSN": "${input:lomberk-agent-dsn}",
        "LOMBERK_ADMIN_DSN": "${input:lomberk-admin-dsn}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Lomberk in other clients