Skip to content
VS Code

Database for Holon for VS Code

io.github.hughhan1/database

Give each Holon app a private PostgreSQL store with atomic SQL batches and retry keys.

client:VS Code transport:stdio runtime:oci

Install Database for Holon in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "database-host",
      "description": "DATABASE_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "database-user",
      "description": "DATABASE_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "database-password",
      "description": "DATABASE_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "database": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hughhan1/database@sha256:9080f4eb357c6bfd7c50a5c7e6953b2bad1867fcf616b2e510edf98dfe16dd85"
      ],
      "env": {
        "DATABASE_HOST": "${input:database-host}",
        "DATABASE_USER": "${input:database-user}",
        "DATABASE_PASSWORD": "${input:database-password}"
      }
    }
  }
}

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

Database for Holon in other clients