Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Persistent memory for AI coding tools. 11 tools for any MCP-compatible AI tool.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@shackleai/memory-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add memory -- npx -y @shackleai/memory-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@shackleai/memory-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shackleai/memory-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub shackleai ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.5.2) เข้า registry 8 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
ShackleAI Memory
Persistent memory for AI coding tools. The first MCP-native memory server.
Give Claude Code, Cursor, Windsurf, VS Code Copilot, OpenAI Codex, or any MCP-compatible AI tool persistent memory across sessions. Your AI remembers decisions, conventions, bugs, and context — picks up exactly where you left off.
Run this in your project directory:
npx -y @shackleai/memory-mcp@latest setup
This creates two files in your project:
Commit both to git so your whole team gets memory. That's it — no config, no API keys, no accounts.
npm/npx version too old? If the command fails, see Troubleshooting.
1. Run the setup command above (one-time)
You don't need to do anything after setup. The AI sees the memory tools and uses them proactively — storing important decisions, searching for past context, and saving session summaries.
After setup, start a session and give your AI a task. Then ask:
"What have you stored in memory so far?"
If it calls memory_search and shows stored entries, it's working. In your next session, ask:
"What do you remember about this project?"
It should recall context from the previous session without reading any files.
The npx setup command works for all MCP clients. If you prefer client-specific configuration:
Claude Code (global config)
claude mcp add memory -- npx -y @shackleai/memory-mcp@latest
This adds memory to your global Claude Code config. It works across all projects, but won't be shared with your team via git.
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": { "memory": { "command": "npx", "args": ["-y", "@shackleai/memory-mcp@latest"] } } }
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "memory": { "command": "npx", "args": ["-y", "@shackleai/memory-mcp@latest"] } } }
VS Code Copilot
Add to .vscode/mcp.json in your project:
{
"servers": { "memory": { "command": "npx", "args": ["-y", "@shackleai/memory-mcp@latest"] } } }
Claude Desktop
Add to your Claude Desktop config:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": { "memory": { "command": "npx", "args": ["-y", "@shackleai/memory-mcp@latest"] } } }
Install globally (if npx doesn't work)
npm install -g @shackleai/memory-mcp
shackleai-memory setup
Or use the global binary directly in your MCP config:
{
"mcpServers": { "memory": { "command": "shackleai-memory" } } }
Run from source (for contributors)
git clone https://github.com/shackleai/memory-mcp.git
cd memory-mcp && npm install && npm run build
{
"mcpServers": { "memory": { "command": "node", "args": ["/absolute/path/to/memory-mcp/dist/index.js"] } } }
The first run downloads the embedding model (~80MB, one-time). After that, everything works offline.
npx -y @shackleai/memory-mcp@latest setup and you're done~/.shackleai/Initialize or switch project context. Auto-called on server startup — only call manually if switching projects mid-session.
Input: { project_path: "/path/to/project" }
Output: { project_name, tech_stack, memory_count, summary }
Auto-detects project name from package.json, pyproject.toml, or directory name. Detects tech stack (Node.js, Python, Rust, Go, Java, Ruby, PHP, .NET, Docker, etc.).
Save important information to persistent memory. Use for decisions, conventions, bugs, architecture, preferences, TODOs, and context.
Input: {
content: "We chose PostgreSQL with Prisma ORM for type-safe queries", category: "decision", // decision|convention|bug|architecture|preference|todo|context|session_summary importance: "high", // low|medium|high (optional, default: medium) tags: ["database", "orm"] // optional } Output: { id, stored: true, deduplicated: false }
Automatically checks for duplicates. If similar content exists (cosine similarity > 0.9), updates the existing memory instead of creating a new one.
Search past memories by semantic meaning.
Input: { query: "what database are we using", category: "decision", limit: 5 }
Output: { results: [{ id, content, category, relevance, ... }], count }
Uses vector similarity search — finds relevant memories even when wording differs.
Update an existing memory when information changes.
Input: { id: "mem-uuid", content: "Updated content", reason: "Changed approach" }
Output: { updated: true, previous_content }
Remove a memory that is no longer relevant (soft delete).
Input: { id: "mem-uuid" }
Output: { deleted: true }
List all projects with stored memories.
Input: {}
Output: { projects: [{ name, path, tech_stack, memory_count, last_session }], count }
Save a session summary and open items. Creates continuity between sessions.
Input: { summary: "Built auth system with JWT", open_items: ["Add refresh tokens", "Write tests"] }
Output: { saved: true, date: "2026-03-04" }
The server exposes project context as an MCP resource:
All data lives locally on your machine:
~/.shackleai/
db/ memory.db SQLite database + vector index projects/ my-project/ decisions.md Key decisions with reasoning conventions.md Coding standards and patterns bugs.md Known issues and fixes architecture.md Architecture choices preferences.md Developer preferences todos.md Open items context.md General context sessions/ 2026-03-04.md Today's session summary 2026-03-03.md Yesterday's session config.yaml Optional configuration
Markdown is the source of truth. You can read, edit, or delete any memory file with a text editor. The SQLite database is the search index.
Create ~/.shackleai/config.yaml (optional — sensible defaults work out of the box):
# Embedding provider: "local" (free, offline) or "openai" (better quality, requires API key)
embedding: provider: local
max_memories_per_project: 10000
max_session_history_days: 90
auto_dedup: true
dedup_threshold: 0.9
By default, ShackleAI Memory runs locally with SQLite — no account needed. Cloud mode syncs your memories to ShackleAI's managed infrastructure via the Gateway, giving you server-side persistence, cross-device access, and PostgreSQL + pgvector-powered semantic search.
| Local (default) | Cloud | |
|---|---|---|
| Storage | SQLite + sqlite-vec on your machine | PostgreSQL + pgvector via ShackleAI Gateway |
| Embeddings | Local MiniLM-L6-v2 (CPU) | Server-side embeddings |
| Account required | No | Yes (free tier available) |
| Cross-device | No — ~/.shackleai/ is per-machine | Yes — memories persist in the cloud |
| Tools available | All 11 tools | All 11 tools |
| Offline support | Full | Requires internet |
sk_shackle_*Cloud mode connects to the ShackleAI Gateway MCP endpoint with Bearer authentication. Configure your MCP client to point at the Gateway instead of running the local server.
Claude Code
claude mcp add memory-cloud --transport http https://gateway.shackleai.com/mcp \
--header "Authorization: Bearer sk_shackle_YOUR_KEY_HERE"
Or add to .mcp.json in your project:
{
"mcpServers": { "memory": { "type": "http", "url": "https://gateway.shackleai.com/mcp", "headers": { "Authorization": "Bearer sk_shackle_YOUR_KEY_HERE" } } } }
Cursor / Windsurf / VS Code Copilot
Add to your client's MCP config file:
{
"mcpServers": { "memory": { "type": "http", "url": "https://gateway.shackleai.com/mcp", "headers": { "Authorization": "Bearer sk_shackle_YOUR_KEY_HERE" } } } }
All 11 memory tools (memory_init, memory_store, memory_search, memory_update, memory_delete, memory_list_projects, memory_session_end, memory_status, memory_export, memory_import, memory_cleanup) work identically in cloud mode — no code changes needed.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo