MCP AutoMem

io.github.verygoodplugins由 GitHub 帳號 verygoodplugins 發布v0.10.0更新於 Oct 28, 2026

Graph-vector memory for AI assistants using FalkorDB and Qdrant

已驗證Streamable HTTP可網頁執行知識與記憶AI 與機器學習

概覽

AI 產生的概覽

把 AI 助理連接到 AutoMem 圖—向量記憶服務的 MCP 用戶端,可跨工作階段、跨工具儲存、檢索並關聯記憶。

可以做什麼
  • 儲存記憶,可附內容、標籤、重要度與中繼資料,支援單筆或批次
  • 依 ID 取得、依標籤完整分頁列出,或進行含圖形擴展的混合排序檢索
  • 使用公開的關聯類型在記憶之間建立關係
  • 修改記憶,以及刪除記憶(含依標籤批次刪除)
  • 檢查後端健康狀態、同步計數與向量維度等診斷資訊
適用情境
適合希望助理在多次對話之間保留長期脈絡(撰寫風格偏好、決策、專案模式),並在 Claude Desktop、Cursor、Claude Code 等不同 MCP 用戶端之間共用這些記憶的情境。
執行需求
需要一個執行中的 AutoMem 後端服務(本機自架或部署,例如 Railway);npm 套件或遠端 HTTP 端點;AutoMem API 網址,託管部署另需 API 金鑰,透過 Authorization 標頭或 api_token 查詢參數傳遞。
安裝前請注意
API 金鑰屬於憑證,經由 Authorization 標頭或網址傳遞,網址形式可能被寫入日誌。記憶工具會寫入、修改與刪除資料,依標籤批次刪除沒有試跑機制,建議先以完整標籤檢索確認。記憶內容會傳送到 AutoMem 後端,可能是第三方託管。託管部署可能產生少量月費。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MCP AutoMem,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

AutoMem MCP: Give Your AI Perfect Memory

[AutoMem]

[Version] [License] [Discord] [X (Twitter)]

One command. Infinite memory. Perfect recall across all your AI tools.

bash
npx @verygoodplugins/mcp-automem install

Your AI assistant now remembers everything. Forever. Across every conversation.

The guided installer — npx @verygoodplugins/mcp-automem install walks you through local, hosted, or existing-endpoint setup.

Works with Claude Desktop, Cursor IDE, Claude Code, GitHub Copilot (coding agent), ChatGPT, ElevenLabs, OpenAI Codex, OpenClaw, Hermes, Grok Build, Google Antigravity - any MCP-compatible AI platform.

The Problem We Solve

Every AI conversation starts from zero. Claude forgets your coding style. Cursor can't learn your patterns. Your assistant doesn't remember yesterday's decisions.

Until now.

AutoMem MCP connects your AI to persistent memory powered by AutoMem - a graph-vector memory service.

What You Get

🧠 Persistent Memory Across Sessions

  • AI remembers decisions, patterns, and context forever
  • Works across all MCP platforms - Claude Desktop, Cursor, Claude Code, OpenAI Codex, OpenClaw, Hermes, Grok Build, Google Antigravity
  • Cross-device sync - same memory on Mac, Windows, Linux

🏆 Graph-Vector Architecture

  • 11 public authorable relationship types between memories (recall results may also include read-only system/internal relations that are not valid associate_memories inputs)
  • Research-validated approach (HippoRAG 2: 7% better associative memory)
  • Sub-second retrieval even with millions of memories

🚀 Works Everywhere You Code

PlatformSupportSetup Time
Claude Desktop✅ Full30 seconds
Cursor IDE✅ Full30 seconds
Claude Code✅ Full30 seconds
GitHub Copilot✅ Full2 minutes
OpenAI Codex✅ Full30 seconds
OpenClaw✅ Full30 seconds
Hermes Agent✅ Full30 seconds
Grok Build✅ Full30 seconds
Google Antigravity✅ Full30 seconds
Any MCP client✅ Full30 seconds

See It In Action

Claude Desktop with Personal Preferences

[Claude Desktop Using Memory] Claude automatically recalls memories using the Personal Preferences template

Cursor IDE with Memory Rules

[Cursor with Memory] Cursor uses AutoMem project rules to recall context and save durable memories during work

Claude Code with Session Memory

[Claude Code Memory Capture] Session-start recall plus LLM-judged storage: Claude decides what's durable and stores it via the memory tools

More platform walkthroughs (Codex, Hermes, Antigravity, remote MCP) live in the Installation Guide.

Quick Start

1. Set Up AutoMem Service

You need a running AutoMem service (the memory backend). Choose one:

Option A: Local Development (fastest, free)

bash
git clone https://github.com/verygoodplugins/automem.gitcd automemmake dev

Service runs at http://localhost:8001 - perfect for single-machine use.

Option B: Railway Cloud (recommended for production)

[Deploy on Railway]

One-click deploy with $5 free credits. Typical cost: ~$0.50-1/month after trial.

👉 AutoMem Service Installation Guide - Complete setup instructions for local, Railway, Docker, and production deployments.


2. Install MCP Client

Claude Desktop - One-Click Install

Download the extension, then open Settings → Extensions → Advanced settings → Install Extension in Claude Desktop and select the file:

⬇️ Download AutoMem for Claude Desktop (.mcpb)

After installing:

  1. Claude Desktop will prompt you for your AutoMem API URL (http://127.0.0.1:8001 for local)
  2. Optionally enter your API Key (required for Railway, skip for local)
  3. Click Enable

The bundle includes a fixed version of the MCP server. To update, download and install the latest .mcpb again; restarting Claude or updating the npm package does not upgrade an installed bundle. See updating Claude Desktop for version checks and migration from JSON configuration. The AutoMem backend runs separately.

Then add the paste-ready Personal Preferences starter from templates/CLAUDE_DESKTOP_INSTRUCTIONS.md. That's it: Claude now has persistent memory and knows when to use it.

Other Platforms

Connect your AI tools to the AutoMem service you just started.

bash
# Guided install - pick where AutoMem runs, verify it, write .env, and# configure your agents (Codex, Claude Code, Cursor, OpenClaw, Hermes)npx @verygoodplugins/mcp-automem install

Every change is shown in a review plan before anything is written, and each modified file keeps a .bak backup. Add --dry-run to preview, --yes to apply non-interactively. See the Installation Guide for all flags.

setup is an alias of install. To print config snippets again later, use npx @verygoodplugins/mcp-automem config.

3. Platform-Specific Setup

For Claude Code (plugin — recommended):

text
# In Claude Code:/plugin marketplace add verygoodplugins/mcp-automem/plugin install automem@verygoodplugins-mcp-automem

Claude Code prompts for your AutoMem URL and API key at enable time, bundles the MCP server and silent recall/store-tracking hooks, and auto-updates. Prefer hooks and permissions written directly into ~/.claude/ instead? Run npx @verygoodplugins/mcp-automem claude-code.

On Windows, the hook payload assumes a POSIX shell environment such as Git Bash, MSYS2, or WSL — only bash is required (the hooks are pure bash+sed).

For Cursor IDE:

Run the guided installer from your project and select Cursor:

bash
npx @verygoodplugins/mcp-automem install

This connects Cursor to your AutoMem service, installs project memory rules, and registers a session-start recall hook. Already have an endpoint? Use npx @verygoodplugins/mcp-automem cursor --endpoint https://your-automem.example.

The one-click button configures only the MCP server for a local AutoMem instance. Update its endpoint/key in Cursor if needed, then run the CLI above to add project rules and the hook:

[Install MCP Server]

Other platforms — Claude Desktop (one-click .mcpb above, plus the Personal Preferences template), OpenAI Codex, Hermes Agent, Grok Build, OpenClaw, Google Antigravity, and GitHub Copilot:

👉 Full Installation Guide for every platform's setup and verification steps


Remote MCP via HTTP

An optional sidecar service (deployable to Railway or any Docker host) connects AutoMem to platforms that support remote MCP over Streamable HTTP or SSE — ChatGPT (Developer Mode connectors), Claude.ai web and Claude Mobile, and ElevenLabs Agents.

👉 Remote MCP setup for deployment, connect URLs, and per-platform screenshots.

Architecture

┌─────────────────────────────────────────────┐│         Your AI Platforms                   ││  Claude Desktop │ Cursor │ Claude Code      │└──────────────┬──────────────────────────────┘               │ MCP Protocol               ▼┌──────────────────────────────────────────────┐│   @verygoodplugins/mcp-automem (this repo)  ││   • Translates MCP calls → AutoMem API      ││   • Platform integrations & rules           ││   • Handles authentication                   │└──────────────┬───────────────────────────────┘               │ HTTP API               ▼┌──────────────────────────────────────────────┐│        AutoMem Service (separate repo)       ││        github.com/verygoodplugins/automem    ││   ┌────────────┐      ┌────────────┐        ││   │  FalkorDB  │      │   Qdrant   │        ││   │  (Graph)   │      │ (Vectors)  │        ││   └────────────┘      └────────────┘        │└──────────────────────────────────────────────┘

This repo (mcp-automem):

  • MCP client that connects AI platforms to AutoMem
  • Platform-specific integrations (Cursor rules, Claude Code hooks, etc.)
  • Setup wizards and configuration tools

AutoMem service:

  • Backend memory service with graph + vector storage
  • Deployment guides (local, Railway, Docker, production)
  • API server with FalkorDB + Qdrant

Features

Core Memory Operations

  • store_memory — Save memories with content, tags, importance, metadata. Two modes:
    • Single (default): top-level content plus optional fields, including embedding, t_valid, t_invalid, custom id.
    • Batch: memories: [...] (≤500 items) for bulk ingestion. Per-item id/embedding/t_valid/t_invalid are not supported in batch mode.
  • recall_memory — Three modes selected by which params you pass:
    • ID fetch: memory_id → fetches one memory by ID; updates last_accessed.
    • Tag enumeration: tags + exhaustive: true → paginated exact-match listing for cleanup/audit workflows where ranked recall undercounts. Pair with limit (≤200) and offset; returns has_more, plus next_offset for the next page while more remain.
    • Ranked retrieval (default): hybrid search across vector, keyword, tags, recency/state controls, score filters, and graph expansion. Supports state_mode, recency_bias, scope_fallback, expand_respect_tags, min_score, adaptive_floor, and diagnostics such as tag_scope, score_filter, query_time_ms, vector_search, and per-result outside_tag_scope/state_replaces.
  • associate_memories — Create relationships (11 public authorable types; recall results may also include read-only system relations). Supports single-pair mode and batch mode via associations: [...] (≤500) with relation-specific props like reason, context, resolution, observations, transformation, and role.
  • update_memory — Modify existing memories
  • delete_memory — Two modes:
    • Single (default): memory_id → removes one memory and its embedding.
    • Bulk-by-tag: tags: [...] → bulk-delete all memories matching ANY tag (exact, case-insensitive). No dry-run; verify with recall_memory({ tags, exhaustive: true }) first.
  • check_database_health — Monitor service health, degraded state, sync counts, vector dimensions, and enrichment diagnostics when the service provides them

Advanced Recall (v0.8.0+)

Multi-hop Reasoning - Answer complex questions like "What is Amanda's sister's career?"

javascript
mcp__memory__recall_memory({  query: "What is Amanda's sister's career?",  expand_entities: true, // Finds "Amanda's sister is Rachel" → memories about Rachel});

Context-Aware Coding - Recall prioritizes language and style preferences

javascript
mcp__memory__recall_memory({  query: "error handling patterns",  language: "typescript",  context_types: ["Style", "Pattern"],});

Platform Integrations

Cursor IDE
  • ✅ Guided setup configures the global MCP server with your endpoint and API key
  • ✅ Project memory rules in .cursor/rules/automem.mdc
  • ✅ Session-start hook prompts recall, with rules as a fallback
  • ✅ Model-judged storage during work; hooks never write memories
  • ✅ Auto-detects project context (package.json, git remote)
Claude Code
  • ✅ Native plugin - MCP server, silent hooks, and skill in one /plugin install, with enable-time config prompts and auto-updates
  • ✅ LLM-judged storage - session-start guidance nudges Claude to store, verify, and associate durable memories during normal work
  • ✅ Memory rules in CLAUDE.md guide Claude's memory usage
GitHub Copilot
  • ✅ Standalone hook JSON files installed into $COPILOT_HOME/hooks/ or ~/.copilot/hooks/
  • ✅ Memory rules template for copilot-instructions.md
  • ✅ Format flag - --format cli (camelCase) or --format vscode (PascalCase)
  • ✅ Setup: npx @verygoodplugins/mcp-automem copilot --yes
Claude Desktop
  • ✅ Direct MCP integration
  • ✅ Paste-ready Personal Preferences starter template
  • ✅ Full memory API access

Why AutoMem MCP?

vs. Building Your Own

  • ✅ 2 years of R&D already done
  • ✅ Research-validated architecture (HippoRAG 2, MELODI, A-MEM)
  • ✅ Working integrations across all MCP platforms
  • ✅ Active development and community

vs. Other Memory Solutions

  • ✅ True graph relationships (not just vector similarity)
  • ✅ Universal MCP compatibility (works with any MCP client)
  • ✅ 7 memory types (Decision/Pattern/Preference/Style/Habit/Insight/Context)
  • ✅ Self-hostable ($5/month vs $150+ for alternatives)

vs. Native AI Memory

  • ✅ Persistent across sessions (not just context window)
  • ✅ Cross-platform (same memory in Claude, Cursor, Code)
  • ✅ Structured relationships (not just RAG)
  • ✅ Infinite scale (no context window limits)

Documentation

MCP Client & Integrations (this repo)

AutoMem Service (separate repo)

The Science Behind AutoMem

The AutoMem service implements cutting-edge 2025 research:

  • HippoRAG 2 (OSU, June 2025): Graph-vector approach achieves 7% better associative memory
  • A-MEM (July 2025): Dynamic memory organization with Zettelkasten principles
  • MELODI (DeepMind, 2025): 8x memory compression without quality loss
  • ReadAgent (DeepMind, 2024): 20x context extension through gist memories

This MCP package provides the bridge between your AI and that research-validated memory system. The backend has also been benchmarked on the neutral Agent Memory Benchmark, including BEAM large-context scaling tiers — reproducible end to end, so you can run it yourself.

Community & Support

Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Submit a pull request with a Conventional Commit title such as fix:, feat:, docs:, or chore:
  5. Do not prefix the PR title with labels like [codex] or [wip] because the squash-merge commit is taken from the PR title

Run npm test for the local unit and mock-host suites. For real service checks, start an isolated AutoMem test instance, then run:

bash
AUTOMEM_TEST_API_URL=http://127.0.0.1:18011 \AUTOMEM_TEST_API_KEY=test-token \AUTOMEM_REQUIRE_SERVICE=1 npm run test:integration

The integration suite creates and deletes synthetic memories, so use a disposable test database. It probes health before collecting tests, reads vector dimensions from health (or AUTOMEM_TEST_VECTOR_SIZE), and waits for indexing instead of using fixed sleeps. Without AUTOMEM_REQUIRE_SERVICE=1, an unavailable service skips the optional local suite. Required mode, also enabled by CI=true, fails on an unavailable service, zero tests, or any skipped tests. The AutoMem service integration CI job runs required mode against isolated FalkorDB/Qdrant services and a pinned AutoMem service checkout.

License

MIT - Because great memory should be free.


Ready to give your AI perfect memory?

bash
npx @verygoodplugins/mcp-automem install

Built with obsession. Validated by neuroscience. Powered by graph theory. Works with every MCP-enabled AI.

Designed by Jack Arturo at Very Good Plugins 🧡

Transform your AI from a tool into a teammate. Start now.

來源:README.md,提交 bc26559

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v0.10.0最新Sep 16, 2026

評分

已滿足適用檢查項的 60%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分