ZenBrain Memory
v0.3.3Agent memory: working, episodic, semantic, procedural and core layers.
Values you need
| Variable | What it is | |
|---|---|---|
ZENBRAIN_DB | optional | 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_CONTEXTS | optional | 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-mcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: zenbrain_store, zenbrain_recall, zenbrain_forget, zenbrain_consolidate, zenbrain_health.
- 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