The MentisDB Agent Memory Cookbook

Patterns and recipes for building AI agents that remember

4.3 Claude Desktop

Claude Desktop works best with MentisDB in stdio mode. Stdio avoids a separate Node bridge and lets the MentisDB process proxy to a running daemon or launch one as needed.

Configuration

{
  "mcpServers": {
    "mentisdb": {
      "command": "mentisdb",
      "args": ["--mode", "stdio"]
    }
  }
}

On macOS this file lives at ~/Library/Application Support/Claude/claude_desktop_config.json.

Validation

mentisdb --mode stdio

If this command starts cleanly, restart Claude Desktop and ask it to use MentisDB as its memory system.

Desktop rule: keep local desktop chains local unless you explicitly need fleet-wide sharing.