原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MemHeaven — Self-hosted Remote MCP Memory for ChatGPT

作者:nazar256版本 0.1.2i★ –i在云端运行
注册名称io.github.nazar256/memheaven

安装

概览

作者提供的说明(英文原文)

Self-hosted remote MCP memory server for ChatGPT and AI agents.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://{worker_domain}/mcp

地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。

在终端中运行这条命令

claude mcp add --transport http memheaven 'https://{worker_domain}/mcp'

地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "memheaven": {
      "url": "https://{worker_domain}/mcp"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "memheaven": {
      "type": "http",
      "url": "https://{worker_domain}/mcp"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://{worker_domain}/mcp

地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 nazar256 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    这个地址需要填入你自己的账户信息,所以我们无法替你检查

  • – 不适用

    使用 OAuth 登录

    这个地址需要填入你自己的账户信息,所以我们无法替你检查

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5670 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5670 个服务器的 30% 更新
  • 基础检查结果等于或优于此分类中其他 5670 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MemHeaven — Self-hosted Remote MCP Memory for ChatGPT 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

MemHeaven

MemHeaven is a self-hosted remote MCP memory server for ChatGPT and other cloud AI agents.

It gives hosted AI clients searchable long-term memory you own, deployed on Cloudflare. MemHeaven is inspired by MemPalace's long-term-memory model while using a remote deployment shape for hosted clients.

Deploy on a Cloudflare Free account. No VM, no Docker, no database admin.

Free-tier limits apply; heavy usage may require paid Cloudflare usage.

Quick links: Quickstart · Getting started from zero · ChatGPT setup · Client compatibility · Security model · Behavior evals

What problem it solves

AI assistants are useful in the moment, but they often forget project context across chats, sessions, and tools.

Built-in memory features can help, but they are usually provider-owned and are not the same thing as an inspectable, searchable memory layer you control. Local-first memory tools are powerful too, but hosted clients like ChatGPT and other remote agents need a remote MCP server.

MemHeaven is for people who want:

  • searchable memory they own
  • inspectable and deletable stored context
  • continuity for coding agents and other AI workflows across sessions
  • a remote MCP deployment shape instead of a laptop-only setup

When MemHeaven fits

Choose MemHeaven when a hosted client or AI agent needs a searchable memory layer that persists outside the current chat:

  • ChatGPT needs to retrieve project decisions, preferences, notes, or other durable context across chats.
  • A remote MCP client cannot depend on a memory service running only on your laptop.
  • Separate users or workflows need tenant-scoped access to stored context.
  • You want to inspect, search, and delete the records held by your own deployment.

External memory, not a replacement for ChatGPT memory

MemHeaven does not change ChatGPT's built-in memory. It is a separate OAuth-protected MCP service that your client can call for context stored in your own deployment. There is no shared public MemHeaven instance: you operate the Worker, storage bindings, OAuth configuration, and access keys in your Cloudflare account.

ChatGPT long-term memory over remote MCP

If you want ChatGPT to use a searchable memory layer across chats without putting that memory in a shared third-party service, deploy MemHeaven in your own Cloudflare account and connect ChatGPT to your instance's /mcp endpoint. This external memory complements ChatGPT's built-in memory: you can inspect, search, and delete the records stored by your own deployment. See the ChatGPT setup and security model before connecting a client.

Why MemHeaven exists

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

Cloudflare Free account is enough for personal use

MemHeaven is designed for personal use and small trusted-group usage on Cloudflare-managed services.

  • Worker runs the HTTP server.
  • D1 stores relational metadata and indexes.
  • R2 stores drawer and diary bodies.
  • Vectorize powers semantic vector search.
  • Workers AI generates embeddings.

That means:

  • no VM
  • no Docker
  • no database admin
  • no long-running server process

Free-tier limits apply. MemHeaven does not promise unlimited free usage, enterprise uptime, or zero cost under every workload. Also note that some underlying Cloudflare services, especially Vectorize, have their own plan and usage constraints, so review the current Cloudflare pricing before a broad rollout.

Fastest happy path

npm install

cp wrangler.toml.example wrangler.toml npm run init -- --base-url https://memheaven. .workers.dev npm run secrets:generate

npx wrangler secret put JWT_SIGNING_SECRET npx wrangler secret put TOKEN_ENCRYPTION_KEY npx wrangler secret put AUTH_KEY_PEPPER

export AUTH_KEY_PEPPER=' ' npm run keygen -- --tenant personal --label "Personal"

npx wrangler deploy

Then connect your hosted client to:

https://memheaven.<your-workers-subdomain>.workers.dev/mcp

When the authorization page opens, paste the printed raw_key.

If you want the hand-holding version, use docs/GETTING_STARTED_FROM_ZERO.md.

Supported / expected clients

ClientStatusNotes
ChatGPTConfirmedManually verified end-to-end for the /mcp URL, OAuth authorization flow, and a mempalace_status tool call
Claude.ai hosted connectorsExpectedKnown exact hosted callback is allowlisted, but public docs do not expose the URL and end-to-end verification is still needed
Local IDE / CLI MCP clientsExpectedGeneric localhost / 127.0.0.1 / [::1] loopback OAuth callbacks are already allowed
VS Code / GitHub Copilot MCPExpected for local loopback; hosted OAuth unknownGeneric localhost callbacks are allowlisted; no exact vscode.dev hosted callback is currently pre-allowlisted
Grok / xAIExpected with bearer/header authTreat as an Authorization: Bearer integration for /mcp, not as a hosted OAuth callback allowlist target
Perplexity / AbacusNot applicable / UnknownNo confirmed hosted-client callback contract is allowlisted

Full details: docs/CLIENT_COMPATIBILITY.md

Agent memory instruction

Use MemHeaven conservatively for writes and proactively for reads when prior context matters. The MCP tools return their own detailed guidance, so the ChatGPT/custom-agent instruction can stay short.

Copy-paste instruction for agents:

Use MemHeaven for cross-session memory. When prior context may matter,

start with mempalace_wake_context if available; otherwise call mempalace_status and follow its returned guidance. Do not mix work, personal, or project scopes. Save only durable facts, decisions, and preferences as concise plain text.

Full guide: docs/AGENT_MEMORY_PROTOCOL.md

Inspired by MemPalace

MemHeaven is inspired by MemPalace, the open-source local-first AI memory project that helped show how useful verbatim, searchable long-term memory can be for AI agents.

MemPalace made a strong case for keeping original context and organizing it in a navigable memory structure. MemHeaven explores a different deployment shape: remote MCP memory for hosted clients and trusted shared setups.

We see that as complementary to MemPalace’s on-device approach, not a replacement for it.

How it works at a high level

  • A Cloudflare Worker exposes OAuth endpoints and the authenticated /mcp endpoint.
  • Hosted AI clients connect over Streamable HTTP MCP.
  • D1 stores metadata, indexes, KG facts, tunnels, quotas, and audit rows.
  • R2 stores full verbatim drawer and diary bodies.
  • Workers AI generates embeddings.
  • Vectorize performs semantic search over chunked memory content.
  • Access keys gate authorization and map users to tenant-scoped memory.

Documentation

  • docs/GETTING_STARTED_FROM_ZERO.md
  • docs/CLIENT_COMPATIBILITY.md
  • docs/AGENT_MEMORY_PROTOCOL.md
  • docs/SECURITY.md

What is included

  • OAuth 2.1 + PKCE + dynamic client registration for ChatGPT-compatible remote MCP.
  • Access-key-gated consent page backed by stateless JWT auth artifacts.
  • Tenant-scoped drawer, diary, knowledge-graph, and tunnel storage.
  • Streamable HTTP MCP server using WebStandardStreamableHTTPServerTransport with per-request stateless bootstrap.
  • MemPalace-compatible mempalace_* tool surface, including adapted local-only tools.
  • Worker-safe semantic search using Workers AI embeddings + Vectorize + R2/D1 hydration.
  • Quota guardrails, redacted audit logging, smoke scripts, and local test coverage.
  • Synthetic memory behavior evals for retrieval, scope isolation, tenant isolation, and KG lifecycle regressions.

Memory behavior evals

Use the local eval harness before/after retrieval, wake-context, or KG behavior changes:

npm run eval:local

npm run eval:baseline

The optional remote smoke/eval skips safely unless configured with environment variables:

npm run eval:remote

See docs/BENCHMARKS.md. These are MemHeaven self-evals with synthetic fixtures, not MemHeaven-vs-MemPalace benchmark claims.

How this differs from upstream MemPalace

  • Preserves tool names, wings/rooms/drawers model, Memory Protocol, diary, KG, and tunnel concepts where practical.
  • Does not preserve Python runtime, ChromaDB internals, filesystem sync, or local desktop hook behavior.
  • Stores verbatim drawer and diary bodies in R2; D1 and Vectorize are indexes/metadata, not source of truth.
  • Uses short-lived JWT authorization codes plus access and refresh tokens with durable replay protection instead of server-side OAuth sessions.

Public routes

MethodPathPurpose
GET/Service info and endpoint map
GET/healthBinding/config/quota capability status
GET/.well-known/oauth-authorization-serverOAuth authorization server metadata
GET/.well-known/oauth-protected-resourceProtected resource metadata
GET/.well-known/oauth-protected-resource/mcpMCP protected resource metadata
POST/registerDynamic client registration
GET / POST/authorizeConsent page and access-key entry
POST/tokenAuthorization-code and refresh-token exchange
GET / POST / DELETE/mcpAuthenticated Streamable HTTP MCP endpoint

Tools

Implemented MemPalace-compatible tools are grouped by domain below. Each tool is listed individually so directory indexes can extract its name and description.

Palace read tools

  • mempalace_status — Diagnostics and backend capabilities for memory-relevant chats.
  • mempalace_wake_context — Start a memory-relevant chat with bounded, privacy-scoped startup context.
  • mempalace_list_wings — List tenant-scoped wings and active drawer counts.
  • mempalace_list_rooms — List tenant-scoped rooms and active drawer counts for one wing or all wings.
  • mempalace_get_taxonomy — Return the current tenant-scoped wing and room taxonomy.
  • mempalace_get_aaak_spec — Return compact guidance for concise, readable memory notes.
  • mempalace_search — Search tenant-scoped drawers with hybrid semantic and lexical retrieval.
  • mempalace_check_duplicate — Check for exact or semantic duplicates before writing memory.
  • mempalace_get_drawer — Fetch one tenant-scoped drawer with bounded content and provenance.
  • mempalace_list_drawers — List active tenant-scoped drawers with optional wing and room filters.

Palace write tools

  • mempalace_add_drawer — Add durable drawer content and index it semantically.
  • mempalace_update_drawer — Update a drawer and reindex changed content or metadata.
  • mempalace_delete_drawer — Soft-delete a tenant-scoped drawer and remove its semantic index entries.

Diary tools

  • mempalace_diary_write — Write a concise diary entry and index it for scoped search.
  • mempalace_diary_read — Read recent diary entries with optional wing and room filters.
  • mempalace_diary_search — Search diary

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx