MCP Server Studio

ZenBrain Memory MCP server

Agent memory: working, episodic, semantic, procedural and core layers. Local SQLite, no account.

Registry name: ai.zensation/zenbrain

Publisher
zensation.ai
Runs
Runs locally
Package
npm
Version
0.3.3
Category
AI & agents
Updated
2026-11-23

Source code on GitHub

Set up ZenBrain Memory (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "zenbrain": {
      "command": "npx",
      "args": [
        "-y",
        "@zensation/[email protected]"
      ],
      "env": {
        "ZENBRAIN_DB": "<ZENBRAIN_DB>",
        "ZENBRAIN_CONTEXTS": "<ZENBRAIN_CONTEXTS>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add zenbrain -e ZENBRAIN_DB='<ZENBRAIN_DB>' -e ZENBRAIN_CONTEXTS='<ZENBRAIN_CONTEXTS>' -- npx -y @zensation/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "zenbrain": {
      "command": "npx",
      "args": [
        "-y",
        "@zensation/[email protected]"
      ],
      "env": {
        "ZENBRAIN_DB": "<ZENBRAIN_DB>",
        "ZENBRAIN_CONTEXTS": "<ZENBRAIN_CONTEXTS>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "zenbrain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zensation/[email protected]"
      ],
      "env": {
        "ZENBRAIN_DB": "<ZENBRAIN_DB>",
        "ZENBRAIN_CONTEXTS": "<ZENBRAIN_CONTEXTS>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "zenbrain": {
      "command": "npx",
      "args": [
        "-y",
        "@zensation/[email protected]"
      ],
      "env": {
        "ZENBRAIN_DB": "<ZENBRAIN_DB>",
        "ZENBRAIN_CONTEXTS": "<ZENBRAIN_CONTEXTS>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
ZENBRAIN_DBNoPath 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 ~/…
ZENBRAIN_CONTEXTSNoComma-separated context domains, passed to the cross-context layer. No tool uses that layer yet, so the value currently has no effect.

More ai & agents MCP servers