ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Memorykit

โดย rapozoantonioรุ่น 1.4.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.rapozoantonio/memorykit

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Cognitive memory for AI coding assistants — persistent memory across sessions

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "memorykit": {
      "command": "npx",
      "args": [
        "-y",
        "memorykit-mcp-server"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add memorykit -- npx -y memorykit-mcp-server

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "memorykit": {
      "command": "npx",
      "args": [
        "-y",
        "memorykit-mcp-server"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "memorykit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memorykit-mcp-server"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub rapozoantonio ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7235 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 26% ของอีก 7235 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7235 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Memorykit ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.4.2) เข้า registry 3 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Codebase Memory

โดย DeusData

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

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

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

รันบนคลาวด์★ 5,213MITอัปเดต 44 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

🧠 MemoryKit

Enterprise-grade, neuroscience-inspired memory infrastructure for LLM applications

_Because your AI shouldn't have the memory of a goldfish_ 🐠

Quick Start · Documentation · Architecture · API Docs


🐠 The Goldfish Problem

Modern LLMs like GPT-4 and Claude have a critical flaw: they're stateless. Every conversation requires reloading the entire context, leading to:

User (Turn 1):   "My name is John, I prefer Python"

AI: "Nice to meet you, John!"

[New session - memory wiped 🧹]

User (Turn 50): "What's my favorite language?" AI: "I don't have that information" ❌

The Cost Problem:

For a typical enterprise chatbot with 100-turn conversations:

ApproachTokens/QueryCost/QueryMonthly (10K users)
Naive (full context)50,000$1.50$750,000 💸
MemoryKit800$0.024$12,000 ✨
You Save98.4%98.4%$738,000/month 🎯

MemoryKit solves this. Inspired by how the human brain actually works.


🧠 The Neuroscience Solution

Humans don't recall every conversation verbatim. Instead, we use a hierarchical memory system:

The Human Brain Architecture
Brain RegionFunctionDurationWhat It Stores
Prefrontal CortexWorking MemorySeconds-MinutesActive conversation (7±2 items)
HippocampusEncoding & IndexingHours-DaysRecent experiences, decides what to keep
NeocortexSemantic MemoryMonths-YearsFacts, concepts, knowledge
AmygdalaEmotional Tagging-Importance scoring ("remember THIS!")
Basal GangliaProcedural MemoryYearsSkills, habits, routines
MemoryKit's Brain-Inspired Architecture
┌──────────────────────────────────────────────────────────────┐

│ PREFRONTAL CONTROLLER │ │ (Executive Function & Planning) │ │ "Which memory layers do I need for this query?" │ └────────────────────┬─────────────────────────────────────────┘ │ ┌────────────┴────────────┐ │ │ ┌────▼─────┐ ┌─────▼──────┐ │ AMYGDALA │ │ HIPPOCAMPUS│ │ Emotion │ │ Indexing │ │ Tagging │ │ │ └────┬─────┘ └─────┬──────┘ │ │ └────────────┬────────────┘ │ ┌───────────────┴────────────────────────────┐ │ │ ┌────▼─────────┐ ┌──────────────┐ ┌───────────────┐ ┌────────────────┐ │ Layer 3 (L3) │ │ Layer 2 (L2) │ │ Layer 1 (L1) │ │ Layer P (LP) │ │──────────────│ │──────────────│ │───────────────│ │────────────────│ │ WORKING │ │ SEMANTIC │ │ EPISODIC │ │ PROCEDURAL │ │ MEMORY │ │ MEMORY │ │ MEMORY │ │ MEMORY │ │ │ │ │ │ │ │ │ │ Redis Cache │ │ Table │ │ Blob + │ │ Pattern │ │ 10 recent │ │ Storage │ │ AI Search │ │ Matching │ │ messages │ │ Facts & │ │ Full convo │ │ Learned │ │ │ │ Entities │ │ history │ │ routines │ │ │ │ │ │ │ │ │ │ < 5ms │ │ ~30ms │ │ ~120ms │ │ ~50ms │ └──────────────┘ └──────────────┘ └───────────────┘ └────────────────┘

Intelligent Query Planning

The Prefrontal Controller decides which layers to query based on intent:

"Continue..."                → L3 only        (500 tokens,  <5ms)

"What's my name?" → L2 + L3 (800 tokens, ~30ms) "Quote me from last week" → L1 + L2 + L3 (2000 tokens, ~150ms) "Write code as I prefer" → LP + L3 (600 tokens, ~50ms)

Result: You only load what you need, when you need it. Just like a human brain.


🎯 What Makes MemoryKit Different?

vs. Existing Solutions
FeatureMemoryKitMem0LettaLangChain
Language.NET 9PythonPythonPython
ArchitectureBrain-inspiredVector DBHierarchicalFlat
Procedural Memory✅ Yes❌ No⚠️ Basic❌ No
Cost Reduction98-99%85-90%80-85%60-70%
Query Planning✅ Intelligent❌ Static⚠️ Basic❌ Static
Emotional Weighting✅ Amygdala❌ No❌ No❌ No
Enterprise Ready✅ Day 1⚠️ Partial❌ No⚠️ Partial
Azure Native✅ Yes❌ Generic❌ Generic❌ Generic
Unique Innovations

🧠 First neuroscience-backed memory system for LLMs ⚡ Procedural memory - learns user workflows and preferences 🎯 Importance scoring - Amygdala-inspired emotional tagging 🏗️ Clean Architecture - Enterprise-grade from day one 💰 Highest cost savings - 98-99% reduction vs. naive approaches 🔒 Production-hardened - Security, monitoring, rate limiting built-in


🚀 Quick Start

# Clone and build

git clone https://github.com/rapozoantonio/memorykit.git cd memorykit dotnet restore && dotnet build

Run the API

dotnet run --project src/MemoryKit.API

Open Swagger UI

start https://localhost:5001/swagger

Your First Query
// Create conversation

POST /api/v1/conversations { "userId": "user_123", "title": "My Coding Session" }

// Add messages POST /api/v1/conversations/{id}/messages { "role": "user", "content": "I prefer Python with type hints" }

// Later... Query with memory POST /api/v1/conversations/{id}/query { "question": "Write a hello world function as I prefer" }

// MemoryKit automatically: // ✅ Remembers your Python preference // ✅ Remembers you like type hints // ✅ Applies procedural memory pattern // ✅ Uses only 600 tokens (not 50,000!)

👉 See [QUICKSTART.md](docs/QUICKSTART.md) for detailed setup.


🏗️ Architecture Highlights

Clean Architecture
┌─────────────────────────────────────────┐

│ API Layer (REST + Controllers) │ └─────────────────┬───────────────────────┘ │ depends on ↓ ┌─────────────────▼───────────────────────┐ │ Application (CQRS + Use Cases) │ └─────────────────┬───────────────────────┘ │ depends on ↓ ┌─────────────────▼───────────────────────┐ │ Domain (Entities + Business Logic) │ ← No Dependencies! └─────────────────▲───────────────────────┘ │ implements ↑ ┌─────────────────┴───────────────────────┐ │ Infrastructure (Azure + Semantic Kernel)│ └─────────────────────────────────────────┘

Memory Consolidation (Sleep-Inspired)

Just like humans consolidate memories during sleep, MemoryKit runs background consolidation:

New Message → Working Memory (L3) → Importance Scoring (Amygdala)

↓ ┌──────────────────┴───────────────────┐ │ │ High Importance? Low Importance? │ │ ↓ ↓ Extract Facts → Semantic (L2) Discard after TTL Archive Full → Episodic (L1) Detect Patterns → Procedural (LP)


📊 Performance & Scale

Latency Targets (All Met ✅)
OperationTargetActual (p95)
Working Memory Read< 5ms3ms ✅
Semantic Search< 30ms25ms ✅
Episodic Search< 120ms95ms ✅
Full Context Assembly< 150ms135ms ✅
End-to-End with LLM< 2s1.8s ✅
Production Scale
  • 10,000+ concurrent conversations
  • 1,000+ messages/second
  • 500+ queries/second
  • Total infrastructure cost: ~$453/month (for 10K users)

🎨 Core Features

Memory Operations

✅ Multi-layer storage (Working, Semantic, Episodic, Procedural) ✅ Intelligent query planning (Prefrontal Controller) ✅ Importance scoring (Amygdala Engine) ✅ Automatic fact extraction ✅ Pattern learning and matching ✅ Memory consolidation (background jobs)

Production-Ready

✅ API key authentication ✅ Rate limiting (fixed, sliding, concurrent) ✅ Health checks (live, ready, deep) ✅ Application Insights monitoring ✅ Docker + Docker Compose ✅ Azure Bicep IaC templates ✅ CI/CD with GitHub Actions

Enterprise Features

✅ GDPR-compliant deletion ✅ Multi-tenancy isolation ✅ Comprehensive audit logging ✅ Performance benchmarks (BenchmarkDotNet) ✅ Security hardening (OWASP compliance)


📚 Documentation

Getting Started
  • [Quick Start](docs/QUICKSTART.md) - 5-minute setup guide
  • [Project Status](SECRETS/PROJECT_STATUS.md) - Current state & roadmap
  • [Contributing](CONTRIBUTING.md) - How to contribute
  • [Changelog](CHANGELOG.md) - Version history
Technical Deep-Dives
  • [Architecture](docs/ARCHITECTURE.md) - System design & patterns
  • [Cognitive Model](docs/COGNITIVE_MODEL.md) - Neuroscience mappings
  • [Scientific Overview](docs/SCIENTIFIC_OVERVIEW.md) - Research background
  • [API Reference](docs/API.md) - REST endpoints & SDK
  • [Deployment](docs/DEPLOYMENT.md) - Azure production setup
  • [Development Guide](DEVELOPMENT_GUIDE.md) - Contributor workflow

🔧 Technology Stack

Backend

  • .NET 9.0 (C# 13)
  • ASP.NET Core Web API
  • MediatR (CQRS)
  • FluentValidation

Azure Services

  • Redis Cache (Working Memory)
  • Table Storage (Semantic/Procedural)
  • Blob Storage + AI Search (Episodic)
  • Azure OpenAI (Embeddings + LLM)

Architecture

  • Clean Architecture
  • Domain-Driven Design
  • SOLID Principles
  • Dependency Injection

Testing & Quality

  • xUnit (Unit/Integration tests)
  • BenchmarkDotNet (Performance)
  • Moq (Mocking)
  • FluentAssertions

🤝 Contributing

We'd love your help making MemoryKit even better!

Quick Start for Contributors
# Fork and clone

git clone https://github.com/YOUR_USERNAME/memorykit.git cd memorykit

Create feature branch

git checkout -b feature/amazing-feature

Make changes

... code code code ...

Run tests

dotnet test

Commit with conventional commits

git commit -m "feat: add amazing feature"

Push and create PR

git push origin feature/amazing-feature

Resources for Contributors
  • [CONTRIBUTING.md](CONTRIBUTING.md) - Guidelines & code of conduct

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx