ZenBrain Memory

v0.3.3
ai.zensation/zenbrain Checked 10 hours ago Published 8 days ago

Agent memory: working, episodic, semantic, procedural and core layers.

Values you need

VariableWhat it is
ZENBRAIN_DBoptional Path to the SQLite file that holds the memory. A leading ~/ means your home directory; a relative path depends on where the client starts the server (some start it in /), so give an absolute or ~/ path. Use ':memory:' for a store that is discarded when the process exits. Default: ./zenbrain.db
ZENBRAIN_CONTEXTSoptional Comma-separated context domains, passed to the cross-context layer. No tool uses that layer yet, so the value currently has no effect. Default: personal,work,learning,creative

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add zenbrain -- npx -y --package=@zensation/mcp@0.3.3 zenbrain-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "zenbrain": {
      "args": [
        "-y",
        "--package=@zensation/mcp@0.3.3",
        "zenbrain-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "zenbrain": {
      "args": [
        "-y",
        "--package=@zensation/mcp@0.3.3",
        "zenbrain-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "zenbrain": {
      "args": [
        "-y",
        "--package=@zensation/mcp@0.3.3",
        "zenbrain-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.zenbrain]
command = "npx"
args = ["-y", "--package=@zensation/mcp@0.3.3", "zenbrain-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: zenbrain_store, zenbrain_recall, zenbrain_forget, zenbrain_consolidate, zenbrain_health.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json