Skip to content
VS Code

ZenBrain Memory for VS Code

ai.zensation/zenbrain

Seven-layer agent memory: episodic, semantic, procedural and core. Local SQLite, no account.

client:VS Code transport:stdio runtime:npm

Install ZenBrain Memory in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "zenbrain-db",
      "description": "ZENBRAIN_DB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zenbrain-contexts",
      "description": "ZENBRAIN_CONTEXTS",
      "password": true
    }
  ],
  "servers": {
    "zenbrain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zensation/mcp"
      ],
      "env": {
        "ZENBRAIN_DB": "${input:zenbrain-db}",
        "ZENBRAIN_CONTEXTS": "${input:zenbrain-contexts}"
      }
    }
  }
}

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

ZenBrain Memory in other clients