Agentic Research

Memory

90,704 stars

Official MCP reference server: persistent cross-session memory as a knowledge graph (entities, relations, observations) stored in a local JSONL file (path set via MEMORY_FILE_PATH), exposed through both tools and a resource.

First published:2024-11-19
data as of:
2026-09-30
Licence:
MIT / Apache-2.0(repo 正在授權轉移,見 repo LICENSE)
Transport:
stdio
Primitives exposed:
tools / resources

What it can touch

Reads and writes exactly one local JSONL file (the memory store). No network, no other files. Note, though: whatever is written there is read back into the model in every later session.

Risk

Memory poisoning is the main risk: one injected conversation can write malicious observations into the graph, and every later session reads them back as fact — persistent injection across conversations. The store is plaintext; any sensitive content written to it stays on disk.

Install prompt

從官方參考 server 倉庫的 Memory 目錄取得說明,把 README 的客戶端設定片段(以 npx 啟動 @modelcontextprotocol/server-memory)加進你的 MCP 客戶端設定檔,然後重啟客戶端。若要自訂儲存位置,先設定 MEMORY_FILE_PATH 環境變數。

Paste this to your agent. It deliberately contains no tool subcommands — check the tool's official docs for commands.

Official source Source(90,704 ★)
Compatible with