Skip to content
VS Code

Lorebase for VS Code

io.github.aantenore/lorebase-herald

Read and change a governed, versioned knowledge graph on Postgres through typed tools.

client:VS Code transport:stdio runtime:pypi

Install Lorebase in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "lorebase-url",
      "description": "LOREBASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lorebase-domain",
      "description": "LOREBASE_DOMAIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lorebase-api-key",
      "description": "LOREBASE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "lorebase-herald": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lorebase-herald"
      ],
      "env": {
        "LOREBASE_URL": "${input:lorebase-url}",
        "LOREBASE_DOMAIN": "${input:lorebase-domain}",
        "LOREBASE_API_KEY": "${input:lorebase-api-key}"
      }
    }
  }
}

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

Lorebase in other clients