Memory MCP
内存 MCP
基于知识图谱的人工智能代理记忆系统,可在对话之间实现持久信息存储。
特征
使用知识图谱结构的持久内存存储
用于组织信息的实体关系模型
添加、搜索和检索记忆的工具
Related MCP server: cortex-engine
工具
系统提供以下MCP工具:
load_knowledge_graph():检索整个知识图谱get_knowledge_graph_size():返回图的当前大小类别(“小”、“中”或“大”)add_entities(entities):将新实体添加到内存中add_relations(relations):创建实体之间的关系add_observations(entity_name, observations):向现有实体添加观察结果delete_entities(entity_names):从内存中删除实体delete_relations(relations):删除关系search_nodes(query, search_mode):搜索与查询匹配的实体和关系。支持三种搜索模式:“exact_phrase”:将整个查询作为子字符串匹配
“any_token”:如果查询中的任何单词匹配则匹配(默认)
“all_tokens”:如果查询中的所有单词都匹配,则匹配
open_nodes(names):检索特定实体及其之间的关系
用法
使用以下命令运行代理:
uv run memory_agent.py代理将自动:
在对话开始时加载其内存
互动时参考相关信息
对话结束时用新信息更新其记忆
输入q退出对话。
配置
使用MEMORY_FILE_PATH环境变量设置内存存储位置(默认为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.
Persistent working memory for AI agents: a knowledge graph with semantic search and decay.
- memoryOAuthcom.humaux
Persistent long-term memory for AI agents: semantic search, knowledge graph, and task canvas.
Long-term memory and a knowledge graph for AI agents: recall, notes, secrets and data sources.
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.143 npmMIT- AlicenseNot gradedqualityAmaintenancePersistent memory for AI agents with semantic memory, belief tracking, and dream consolidation, enabling cross-session knowledge retention.807 npm51MIT
- 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