memory-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| memory_cache_message | 缓存一条消息到记忆系统(自动检测实体候选) |
| memory_start_episode | 开始一个新的情景(任务/功能开发会话) |
| memory_close_episode | 关闭当前情景,生成摘要并归档 |
| memory_get_current_episode | 获取当前活跃的情景信息 |
| memory_add_entity | 添加一个实体(Decision/Preference/Concept/Habit/File/Architecture) |
| memory_confirm_entity | 确认一个待确认的实体候选 |
| memory_reject_candidateB | 拒绝一个误判的实体候选 |
| memory_deprecate_entityC | 废弃一个过时的实体 |
| memory_get_pendingB | 获取所有待确认的实体候选 |
| memory_recallA | 综合检索记忆(情景+实体)。【重要】当用户询问'我是谁'、身份信息、个人偏好、历史决策、之前讨论过的内容时,应主动调用此工具检索相关记忆,而不是凭空回答。 |
| memory_search_by_typeC | 按类型检索实体 |
| memory_get_episode_detailA | 获取情景详情(包含消息和关联实体) |
| memory_statsC | 获取记忆系统统计信息 |
| memory_encoder_statusA | 查询向量编码器状态。返回编码器是否已就绪,以及哪些操作当前可用。 |
| memory_clear_cacheA | 清空消息缓存日志(message_cache.jsonl)。警告:此操作不可逆! |
| memory_cleanup_messages | 清理超过指定天数的消息缓存,保留最近 N 天的消息 |
| memory_list_episodes | 列出所有历史情景(按时间排序,不依赖语义搜索)。当用户要查看'所有历史情景'时使用此工具,避免语义搜索遗漏。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Memory Stats | 记忆系统统计信息 |
| Current Episode | 当前活跃的情景 |
| Pending Entities | 待确认的实体候选 |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chenxiaofie/memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server