MCPHIVE

Memory MCP: Documentation

Updated:

Connection

npx -y @modelcontextprotocol/server-memory (stdio). The MEMORY_FILE_PATH env var sets the storage file (defaults to memory.jsonl in the server directory).

Tools

  • create_entities — add new entities (name, type, list of observations).
  • create_relations — link entities with a directional, active-voice relation.
  • add_observations — attach new facts to an existing entity.
  • delete_entities — remove entities along with their relations.
  • delete_observations — remove individual facts without deleting the entity.
  • delete_relations — remove connections between entities.
  • read_graph — retrieve the entire knowledge graph.
  • search_nodes — find entities by name, type or observation content.
  • open_nodes — fetch specific entities and their connections by name.

Agent flow

Remembering the user and project across chats: preferences, agreements, facts.

Limits

Storage is local (a JSONL file); there's no built-in cross-device sync — teams need to share the file manually (e.g. via git or a shared drive).

Memory MCP — Documentation