Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Self-hosted remote MCP memory server for ChatGPT and AI agents.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://{worker_domain}/mcpที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http memheaven 'https://{worker_domain}/mcp'ที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"memheaven": {
"url": "https://{worker_domain}/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"memheaven": {
"type": "http",
"url": "https://{worker_domain}/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://{worker_domain}/mcpที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
ชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub nazar256 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ต้องใส่ค่าของบัญชีคุณในที่อยู่ก่อน จึงตรวจแทนไม่ได้
ต้องใส่ค่าของบัญชีคุณในที่อยู่ก่อน จึงตรวจแทนไม่ได้
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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
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:
Choose MemHeaven when a hosted client or AI agent needs a searchable memory layer that persists outside the current chat:
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.
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.
MemHeaven is designed for personal use and small trusted-group usage on Cloudflare-managed services.
That means:
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.
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.
| Client | Status | Notes |
|---|---|---|
| ChatGPT | Confirmed | Manually verified end-to-end for the /mcp URL, OAuth authorization flow, and a mempalace_status tool call |
| Claude.ai hosted connectors | Expected | Known 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 clients | Expected | Generic localhost / 127.0.0.1 / [::1] loopback OAuth callbacks are already allowed |
| VS Code / GitHub Copilot MCP | Expected for local loopback; hosted OAuth unknown | Generic localhost callbacks are allowlisted; no exact vscode.dev hosted callback is currently pre-allowlisted |
| Grok / xAI | Expected with bearer/header auth | Treat as an Authorization: Bearer integration for /mcp, not as a hosted OAuth callback allowlist target |
| Perplexity / Abacus | Not applicable / Unknown | No confirmed hosted-client callback contract is allowlisted |
Full details: docs/CLIENT_COMPATIBILITY.md
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
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.
/mcp endpoint.docs/GETTING_STARTED_FROM_ZERO.mddocs/CLIENT_COMPATIBILITY.mddocs/AGENT_MEMORY_PROTOCOL.mddocs/SECURITY.mdWebStandardStreamableHTTPServerTransport with per-request stateless bootstrap.mempalace_* tool surface, including adapted local-only tools.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.
| Method | Path | Purpose |
|---|---|---|
| GET | / | Service info and endpoint map |
| GET | /health | Binding/config/quota capability status |
| GET | /.well-known/oauth-authorization-server | OAuth authorization server metadata |
| GET | /.well-known/oauth-protected-resource | Protected resource metadata |
| GET | /.well-known/oauth-protected-resource/mcp | MCP protected resource metadata |
| POST | /register | Dynamic client registration |
| GET / POST | /authorize | Consent page and access-key entry |
| POST | /token | Authorization-code and refresh-token exchange |
| GET / POST / DELETE | /mcp | Authenticated Streamable HTTP MCP endpoint |
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ตัดมาแค่ช่วงต้น อ่านต่อใน repo