Modelbrain MCP logo

Modelbrain MCP

by ModelBrain

Connects MCP clients to the locally installed ModelBrain app for private memory tools over stdio.

Install Modelbrain MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "modelbrain-modelbrain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "modelbrain-mcp"
      ],
      "env": {
        "MODELBRAIN_CLIENT_TOKEN": "YOUR_VALUE_HERE",
        "MODELBRAIN_MCP_REQUIRE_APP": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env MODELBRAIN_CLIENT_TOKEN=YOUR_VALUE_HERE --env MODELBRAIN_MCP_REQUIRE_APP=YOUR_VALUE_HERE --transport stdio modelbrain-modelbrain-mcp -- npx -y modelbrain-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y modelbrain-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

ModelBrain/modelbrain-mcp connects MCP clients to the ModelBrain desktop app already running on the same computer. It exposes ModelBrain’s local memory through stdio, including remembering, recalling, expanding, listing, and forgetting memories. Use it when an assistant needs shared, local-first memory without sending the memory engine to a hosted service. The package is a launcher and wrapper; it does not install or include ModelBrain itself.

Use cases

  • Give assistants shared memory across local MCP clients
  • Store and retrieve personal assistant context on a computer
  • Connect an MCP client to an existing ModelBrain installation
  • Require client tokens for ModelBrain assistant connections

Key features

  • Local ModelBrain memory access over MCP stdio
  • Remember, recall, list, expand, and forget operations
  • Partition, diagnostics, usage, and ping tools
  • Graceful behavior when ModelBrain is not installed
  • Optional client-token forwarding
  • Support for macOS, Windows, and Linux architectures

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 52d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8h ago via OSV.dev · modelbrain-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads785Package downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How Modelbrain MCP works

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:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Modelbrain MCP

ModelBrain/modelbrain-mcp is an MCP server that connects MCP clients to the locally installed ModelBrain desktop app and its memory daemon. Its main tools support remembering, recalling, listing, expanding, and forgetting memories, along with partition management, diagnostics, usage, and connectivity checks.

Install the ModelBrain desktop app separately, then configure your MCP client to run `npx -y modelbrain-mcp` over stdio. Claude Desktop, Claude Code, and Cursor can use ModelBrain’s direct client registration instead of this package.

It starts and completes the MCP handshake without ModelBrain, but tool calls only return an installation message. No memory is stored or recalled in that state. Use `--require-app` or `MODELBRAIN_MCP_REQUIRE_APP=1` to make the launcher exit when the app is missing.

Set `MODELBRAIN_CLIENT_TOKEN` in the MCP client’s environment after minting a token with `modelbrain_admin setup tokens --mint NAME`. The launcher passes the token to ModelBrain when client-token enforcement is enabled.

It 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 on the host.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewModelbrain MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/modelbrain-modelbrain-mcp?style=directory)](https://allmcps.com/mcp/modelbrain-modelbrain-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/modelbrain-modelbrain-mcp"><img src="https://allmcps.com/api/badge/modelbrain-modelbrain-mcp?style=directory" alt="Modelbrain MCP on AllMCPs" /></a>