
Memori Mcp
io.github.MemoriLabs由 GitHub 帳號 MemoriLabs 發布v1.0.0更新於 Oct 24, 2026
Memori MCP server — persistent AI memory with recall and augmentation tools
概覽
Memori 官方 MCP 伺服器,為 AI 助理提供持久長期記憶:召回事實、保存偏好,並在跨工作階段時恢復狀態。
- 可以做什麼
- 在每輪使用者對話開始時召回相關記憶,並取得用於簡報或專案概覽的整體狀態摘要
- 在上下文壓縮後取得結構化的復原簡報,讓助理接續原有工作
- 在回覆後把使用者訊息與助理回覆中的持久資訊寫入記憶
- 針對無關、缺漏、過時或特別有用的記憶行為提交回饋
- 查詢記憶用量與配額,並在使用者明確要求時申請帳號或 API 金鑰
- 適用情境
- 適合希望代理程式跨工作階段、跨工作流程記住偏好、決策與結果的情境,不必把大量上下文塞進提示詞;前提是你接受將這些記憶存放在 Memori 雲端。
- 執行需求
- 以本機 stdio 程序執行(npm 套件 @memorilabs/memori-mcp),僅限桌面端。需要 MEMORI_API_KEY 中的 Memori 雲端 API 金鑰、用來識別終端使用者的實體 ID,以及選用的代理程式或工作流程程序 ID。需要能連線至 Memori API 端點的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Memori Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Memori MCP
Persistent AI memory for any MCP-compatible agent — no SDK required.
memori-mcp is the official Memori MCP server. Connect it to your AI agent to give it long-term memory: recall relevant facts, retrieve broad state summaries, restore working state after context compaction, store durable preferences after responding, and maintain context across sessions.
Why Memori MCP?
Memori turns stateless agents into stateful systems by providing structured, persistent memory that works across sessions and workflows.
- Persistent state beyond prompts — Most agents rely on prompt context and lose state between runs. Memori provides durable, structured memory so agents can retain facts, decisions, and outcomes over time.
- Memory from execution (not just natural language) — Traditional systems extract memory from chat. Memori builds memory from agent execution itself — including tool calls, decisions, and results. This enables true agent-native memory, not just conversational recall.
- Lower cost, higher accuracy — Instead of expanding prompt context, Memori retrieves only what matters.
- Significantly reduced token usage
- Faster responses
- Improved accuracy vs long-context approaches
- Works with any MCP client and production-ready - No SDK, no code changes, just config
Memori is state infrastructure for production agents — enabling persistent memory, efficient retrieval, and structured context across both natural language and agent execution.
LoCoMo Benchmark
Memori was evaluated on the LoCoMo benchmark for long-conversation memory and achieved 81.95% overall accuracy while using an average of 1,294 tokens per query. That is just 4.97% of the full-context footprint, showing that structured memory can preserve reasoning quality without forcing large prompts into every request.
Compared with other retrieval-based memory systems, Memori outperformed Zep, LangMem, and Mem0 while reducing prompt size by roughly 67% vs. Zep and lowering context cost by more than 20x vs. full-context prompting.
Read the benchmark overview or download the paper.
How It Works
The server exposes seven tools:
Example Agent Flow
Given the user message: "I prefer Python and use uv for dependency management."
- Agent calls
memori_recallwith the user message asquery - Agent composes a response using any returned facts
- Agent sends the response to the user
- Agent calls
memori_advanced_augmentationwith theuser_messageandassistant_response
On a later turn like "Write a hello world script", the agent recalls the Python + uv preference and personalizes its response.
Prerequisites
- A Memori API key from app.memorilabs.ai
- An
entity_idto identify the end user (e.g.user_123) - An optional
process_idto identify the agent or workflow (e.g.my_agent)
Export these in your shell or replace the placeholders directly in your config:
Server Details
Headers
session_id is derived automatically as <entity_id>-<UTC year-month-day:hour>. You do not need to provide it.
Verifying the Connection
After configuring your client, verify the setup:
- MCP server shows as connected and healthy in your client UI
- Tools list includes
memori_recall,memori_recall_summary,memori_compaction, andmemori_advanced_augmentation - Calls return non-401 responses
memori_recallreturns memories for known entitiesmemori_advanced_augmentationaccepts durable user/assistant turn data
If you receive 401 errors, double-check your X-Memori-API-Key value. See the Troubleshooting guide for more help.
Links
來源:README.md,提交 e02957d
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分