Skip to content
VS Code

health-os for VS Code

io.github.andronaft/health-os

Local-first personal health record: labs, meds, wearables, food log, deterministic safety checks

client:VS Code transport:stdio runtime:oci

Install health-os in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "database-url",
      "description": "DATABASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "readonly-database-url",
      "description": "READONLY_DATABASE_URL",
      "password": true
    }
  ],
  "servers": {
    "health-os": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/andronaft/health-os:0.4.0"
      ],
      "env": {
        "DATABASE_URL": "${input:database-url}",
        "READONLY_DATABASE_URL": "${input:readonly-database-url}"
      }
    }
  }
}

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

health-os in other clients