Memory MCP
Provides persistent memory capabilities allowing AI agents to maintain and reference information across multiple conversations through a knowledge graph structure.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Memory MCPsearch for all entities related to project deadlines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Memory MCP
A knowledge-graph-based memory system for AI agents that enables persistent information storage between conversations.
Features
Persistent memory storage using a knowledge graph structure
Entity-relation model for organizing information
Tools for adding, searching, and retrieving memories
Related MCP server: cortex-engine
Tools
The system provides the following MCP tools:
load_knowledge_graph(): Retrieves the entire knowledge graphget_knowledge_graph_size(): Returns the current size category of the graph ("small", "medium", or "large")add_entities(entities): Adds new entities to the memoryadd_relations(relations): Creates relationships between entitiesadd_observations(entity_name, observations): Adds observations to existing entitiesdelete_entities(entity_names): Removes entities from memorydelete_relations(relations): Removes relationshipssearch_nodes(query, search_mode): Searches for entities and relations matching a query. Supports three search modes:"exact_phrase": Matches the entire query as a substring
"any_token": Matches if any word in the query matches (default)
"all_tokens": Matches if all words in the query match
open_nodes(names): Retrieves specific entities and their relationships between them
Usage
Run the agent with:
uv run memory_agent.pyThe agent will automatically:
Load its memory at the start of conversations
Reference relevant information during interactions
Update its memory with new information when the conversation ends
Exit a conversation by typing q.
Configuration
Set the memory storage location with the MEMORY_FILE_PATH environment variable (defaults to memory.json).
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared long-term memory for AI agents: save and recall context as a searchable knowledge graph.
- memoryOAuthcom.humaux
Persistent long-term memory for AI agents: semantic search, knowledge graph, and task canvas.
Graph memory for AI agents: entities, cause-effect links, cross-session recall, time travel.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Related MCP Servers
AlicenseAqualityDmaintenanceProvides persistent long-term memory for AI agents through semantic search and automated knowledge graph extraction. It enables agents to store, recall, and reason over facts, preferences, and relationships across multiple conversations and sessions.1412MIT- AlicenseNot gradedqualityAmaintenancePersistent memory for AI agents with semantic memory, belief tracking, and dream consolidation, enabling cross-session knowledge retention.1949MIT
- FlicenseNot gradedqualityDmaintenanceAn agentic memory system that enables AI assistants to store, search, and manage persistent memories with semantic understanding using natural language instructions.-
- AlicenseNot gradedqualityDmaintenanceProvides persistent knowledge graph memory for AI agents, enabling them to store, recall, and query facts about people, projects, and relationships across sessions.MIT