Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
memory_cache_messageC

缓存一条消息到记忆系统(自动检测实体候选)

memory_start_episodeC

开始一个新的情景(任务/功能开发会话)

memory_close_episodeA

关闭当前情景,生成摘要并归档

memory_get_current_episodeA

获取当前活跃的情景信息

memory_add_entityB

添加一个实体(Decision/Preference/Concept/Habit/File/Architecture)

memory_confirm_entityC

确认一个待确认的实体候选

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_messagesA

清理超过指定天数的消息缓存,保留最近 N 天的消息

memory_list_episodesA

列出所有历史情景(按时间排序,不依赖语义搜索)。当用户要查看'所有历史情景'时使用此工具,避免语义搜索遗漏。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Memory Stats记忆系统统计信息
Current Episode当前活跃的情景
Pending Entities待确认的实体候选

Latest Blog Posts

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