Memheaven MCP Server

Bring MemPalace-style long-term memory to ChatGPT and remote AI agents.

Remote serverstreamable-httpPython

What is the Memheaven MCP server?

Most knowledge and memory work still happens through a UI a human drives. Memheaven MCP server moves it into the conversation instead. Bring MemPalace-style long-term memory to ChatGPT and remote AI agents.

The short version

MemHeaven is a self-hosted remote MCP memory server that gives hosted AI clients searchable long-term memory you own.

  • AI assistants forget project context across chats and sessions
  • Built-in memory is useful, but it is usually provider-owned and not an exact, searchable memory layer
  • Local-first memory tools are powerful, but hosted clients need remote MCP
  • Users want inspectable, searchable, deletable, portable memory
  • Coding agents need continuity across sessions, editors, and tools

The tools it exposes

The server publishes 13 tools. What each one is for:

  • Built — in memory is useful, but it is usually provider-owned and not an exact, searchable memory layer
  • Local — first memory tools are powerful, but hosted clients need remote MCP
  • Access-key — gated consent page backed by stateless JWT auth artifacts
  • Tenant — scoped drawer, diary, knowledge-graph, and tunnel storage
  • MemPalace — compatible mempalace_* tool surface, including adapted local-only tools
  • Worker — safe semantic search using Workers AI embeddings + Vectorize + R2/D1 hydration
  • JWT_SIGNING_SECRET — TOKEN_ENCRYPTION_KEY
  • Hosted — client callback support stays narrow and contract-driven. Other clients may need explicit callback allowlist additions before they work end-to-end
  • Client — Status
  • ChatGPTConfirmed
  • Method — Path
  • GET — /

What it needs from you

Configuration is passed through the environment: AUTH_KEY_PEPPER, MEMHEAVEN_BEARER_TOKEN, JWT_SIGNING_SECRET, TOKEN_ENCRYPTION_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js 20+ - npm 10+ - Cloudflare account with Workers, D1, R2, Vectorize, and Workers AI enabled - wrangler authenticated against the target Cloudflare account

Getting it running

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

How it compares

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Memheaven's toolset — Built, Local, Access-key and 10 more — is a fair guide to whether it matches your workflow. It is maintained by nazar256; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 13 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Memheaven.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
Builtin memory is useful, but it is usually provider-owned and not an exact, searchable memory layer.
Localfirst memory tools are powerful, but hosted clients need remote MCP.
Access-keygated consent page backed by stateless JWT auth artifacts.
Tenantscoped drawer, diary, knowledge-graph, and tunnel storage.
MemPalacecompatible mempalace_* tool surface, including adapted local-only tools.
Workersafe semantic search using Workers AI embeddings + Vectorize + R2/D1 hydration.
JWT_SIGNING_SECRETTOKEN_ENCRYPTION_KEY
Hostedclient callback support stays narrow and contract-driven. Other clients may need explicit callback allowlist additions before they work end-to-end.
ClientStatus
ChatGPT**Confirmed**
MethodPath
GET/
POST/register

How to install the Memheaven MCP server

{
  "mcpServers": {
    "memheaven": {
      "command": "npx",
      "args": ["-y", "wrangler"],
      "env": {
        "AUTH_KEY_PEPPER": "your-value",
        "MEMHEAVEN_BEARER_TOKEN": "your-value",
        "JWT_SIGNING_SECRET": "your-value",
        "TOKEN_ENCRYPTION_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 20+ - npm 10+ - Cloudflare account with Workers, D1, R2, Vectorize, and Workers AI enabled - wrangler authenticated against the target Cloudflare account
VariableDescriptionRequired
AUTH_KEY_PEPPERCredential the server authenticates with.Yes
MEMHEAVEN_BEARER_TOKENCredential the server authenticates with.Yes
JWT_SIGNING_SECRETCredential the server authenticates with.Yes
TOKEN_ENCRYPTION_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Memheaven to Built.
  • Use Memheaven to Local.
  • Use Memheaven to Access-key.

Frequently asked questions

It connects Memheaven to MCP-compatible AI assistants such as Claude and Cursor, exposing 13 tools (Built, Local, Access-key, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Memheaven directly.