MCP server

Memory

Knowledge graph-based persistent memory across conversations

Reference MCP server that stores entities, relations and observations in a local knowledge graph (JSONL file). Lets assistants remember facts about users and projects across sessions.

Connect

  1. 1Add the server to Codex
    codex mcp add memory --env MEMORY_FILE_PATH=YOUR_MEMORY_FILE_PATH -- npx -y @modelcontextprotocol/server-memory

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 9

create_entitiescreate_relationsadd_observationsdelete_entitiesdelete_observationsdelete_relationsread_graphsearch_nodesopen_nodes

Things to ask

  • “Remember that I prefer TypeScript over JavaScript”
  • “What do you know about my project Atlas?”
  • “Add a relation: Alice works at Acme”
  • “Forget everything about my old address”

Related