How izzyfuller/cognitive-memory-mcp works
This is an MCP server that gives AI assistants structured, file-backed memory. An assistant invokes a tool through the server; entity operations, session notes, learning consolidation, identity updates, and reflections then read or write the configured memory directory. The server is the orchestration layer and memory.js provides the shared storage layer. The README documents the tool capabilities and memory layout; the excerpts show selected storage calls, but omit parts of the server’s dispatch and some tool implementations.
Main entry points: cognitive-server.js Cognitive server · memory.js Memory file store
Components 11
MCP interface
- Cognitive server
src/cognitive-server.js
Memory continuity
- Entity operations
src/cognitive-server.js - Session notes
src/cognitive-server.js - Context anchors
- Session archives
- Memory file store
memory.js - Memory documents
Learning and reflection
- Deep Learn
src/cognitive-server.js - Identity learning
src/cognitive-server.js - Synthesis reflection
src/cognitive-server.js
Other components
- AI assistant
Connections 14
- AI assistant → Cognitive server: invokes tools
README.md - Cognitive server → Entity operations: offers tools
README.md - Cognitive server → Session notes: offers tool
README.md - Cognitive server → Deep Learn: offers tool
README.md - Cognitive server → Identity learning: offers tool
README.md - Cognitive server → Synthesis reflection: offers tool
README.md - Entity operations → Memory file store: reads and writes
src/cognitive-server.js - Session notes → Memory file store: reads and writes
src/cognitive-server.js - Deep Learn → Memory file store: reads and writes
src/cognitive-server.js - Deep Learn → Context anchors: updates
src/cognitive-server.js - Deep Learn → Session archives: archives session
src/cognitive-server.js - Identity learning → Memory file store: updates identity
src/cognitive-server.js - Synthesis reflection → Memory file store: appends journal
src/cognitive-server.js - Memory file store → Memory documents: reads and writes
memory.js