# ModelBrain/modelbrain-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/ModelBrain/modelbrain-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 785  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/modelbrain-modelbrain-mcp

## Description
Local memory for AI assistants: remember, recall, forget and expand, stored on your own computer.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "modelbrain-mcp": {
    "command": "npx",
    "args": ["-y","modelbrain-mcp"],
    "env": {
      "MODELBRAIN_CLIENT_TOKEN": "",
      "MODELBRAIN_MCP_REQUIRE_APP": ""
    }
  }
}
```

**Requires environment variables:** `MODELBRAIN_CLIENT_TOKEN`, `MODELBRAIN_MCP_REQUIRE_APP` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What ModelBrain/modelbrain-mcp does

ModelBrain/modelbrain-mcp makes the locally installed ModelBrain desktop app available to MCP-compatible AI clients. ModelBrain provides a shared memory layer for assistants, with data kept on the user’s computer. The wrapper package does not contain the ModelBrain engine or install the desktop application; it locates ModelBrain’s bundled MCP binary and starts it.

The connection uses MCP over standard input and output. This makes the package suitable for client configurations that launch MCP servers as local processes, commonly through `npx`. ModelBrain’s own application can also register directly with Claude Desktop, Claude Code, and Cursor, so those clients generally do not need this package.

## How it works

When launched, the package finds ModelBrain’s installed `mcp_server` binary and runs it so the binary can communicate with the local ModelBrain daemon. The wrapper presents the MCP interface while the desktop application supplies the actual memory functionality.

If ModelBrain is absent, the launcher still completes the MCP handshake and exposes its recorded tool list. Calls return a plain message explaining that ModelBrain is not installed, and no memory is stored or retrieved. To restore the older fail-fast behavior, launch with `--require-app` or set `MODELBRAIN_MCP_REQUIRE_APP=1`.

The package supports macOS on Apple Silicon, Windows on x64 or arm64, and Linux on x86_64 or aarch64 with glibc 2.28 or newer. ModelBrain must be installed separately.

## Setup and configuration

A typical MCP configuration launches the package with `npx`:

```json
{
  "mcpServers": {
    "modelbrain": {
      "command": "npx",
      "args": ["-y", "modelbrain-mcp"]
    }
  }
}
```

Install ModelBrain first, then add this entry to a compatible client. ModelBrain’s Allow or Block prompt identifies the connection by the assistant name and shows `node` as the program; Windows uses `mcp_server.exe` for the underlying application binary.

When ModelBrain has client-token enforcement enabled, create a token with `modelbrain_admin setup tokens --mint NAME` and pass it through the client configuration as `MODELBRAIN_CLIENT_TOKEN`. The launcher forwards that value to the local application.

## Tools and capabilities

The connected ModelBrain tool surface contains 14 tools:

- `remember` and `recall` for adding and retrieving memories
- `list_memories` for listing stored memories
- `expand` for broadening memory context
- `forget` for removing memories
- Six partition-management tools
- `diagnostics` and `usage` for operational information
- `ping` for checking connectivity

The exact behavior of these tools is provided by the installed ModelBrain application rather than this wrapper package.

## Limitations and notes

This package is only the MCP distribution wrapper. ModelBrain is separate proprietary software with its own terms, while the wrapper is licensed under MIT. Local memory remains on the computer; when ModelBrain synchronizes memory to other computers or shares it with a team, its copy is encrypted locally before storage and ModelBrain does not hold the encryption key.

The package’s fallback tool list is maintained from a snapshot of the real server’s reported tools. A missing desktop installation therefore does not make the MCP server disappear, but tool calls cannot perform memory operations until ModelBrain is installed.

_Full upstream README: https://allmcps.com/mcp/modelbrain-modelbrain-mcp/readme_

