프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 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 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 제작자의 서버에서 실행돼요. 내가 요청한 내용은 제작자의 서버를 거쳐요.
  • 레지스트리에 입력해야 할 키가 나와 있지 않아요.

필요한 것

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

웹, 데스크톱, 모바일의 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

주소에 나만 아는 {…} 부분(예: 내 계정)이 있어서, 복사한 뒤 직접 채워 주세요.

메뉴 이름은 요금제나 시기에 따라 조금 다를 수 있어요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

아직 이 서버의 도구 목록을 읽지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 nazar256 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    주소에 내 계정 값이 필요해서 대신 점검할 수 없어요

  • – 해당 없음

    OAuth로 로그인

    주소에 내 계정 값이 필요해서 대신 점검할 수 없어요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

검색 및 AI 기억 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 7275개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 7275개 중 30%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 7275개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

MemHeaven — Self-hosted Remote MCP Memory for ChatGPT, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.2)은 3개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 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,213MIT지난달 업데이트
설치

제작자의 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에게 묻기