memory-tree
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMORY_TREE_ROOT | No | Environment variable that overrides the memory-tree data root directory (defaults to ~/.dsh/memory-tree/). |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mt_helpB | 显示记忆树使用说明 |
| mt_statusB | 查看项目列表或指定项目的主线和支线状态 |
| mt_set_projectB | 显式初始化项目,返回规范项目名 |
| mt_routeC | 返回关键词路由建议。显式传 project 时可返回该项目主线 |
| mt_branchC | 为项目创建一条记忆支线 |
| mt_mergeB | 提交结构化结论。entries 优先,旧 summary 作为待验证材料导入。冲突时先返回待确认决议 |
| mt_merge_resolveC | 使用预览 token 提交完整冲突决议 |
| mt_searchB | 本地词法检索。默认查当前条目。历史记录按需包含,跨项目需显式选择 |
| mt_checkpointC | 冻结项目状态为阶段快照,保留历史和会话 |
| mt_get_checkpointB | 按 ID 读取阶段快照 Markdown |
| mt_get_contextC | 读取有长度上限的项目主线上下文 |
| mt_chatB | 显式保存一条闲聊到指定项目的独立记录,保留近期条目 |
| mt_list_branchesB | 列出项目的活跃和已归档支线 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
Most tools target a distinct resource and action (branch vs list_branches, checkpoint vs get_checkpoint, merge vs merge_resolve). However, mt_route can return a project's mainline when a project is passed, overlapping with mt_get_context, and mt_status partly overlaps with mt_list_branches by showing branch state.
All names share the mt_ prefix and snake_case, but action conventions are mixed: some tools are bare verbs/nouns that imply creation (mt_checkpoint, mt_branch, mt_merge) while others use get_/list_/set_ prefixes. It remains readable but not a single predictable pattern.
13 tools fit comfortably within the 3-15 range for a memory-tree server. The set includes useful meta tools (mt_help, mt_status) and a couple of potentially redundant entry points, but none feel grossly unnecessary.
The surface covers the core lifecycle: project initialization, context retrieval, search, branch creation/listing, checkpoint create/read, merge/conflict resolution, chat saving, and status. Minor gaps remain, such as listing checkpoints, deleting or archiving branches, and updating or removing entries.