ai-memory-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENT_MEMORY_ROOT | Yes | Path to your local Git-native private memory repository. |
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": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_core_contextB | Read RULES.md, profile.md, and optionally a project's overview.md from the local shared memory repository. |
| list_memory_indexB | List available projects and their module index (including last verified dates and related modules). |
| get_module_memoryA | Read a specific module's long-term memory file and optionally auto-load its related modules from overview.md. |
| search_memoryB | Search across all local memory markdown files using bilingual (CJK + English) BM25 ranking. |
| save_memoryA | Safely write/update a memory Markdown file with built-in secret blocking, file locking, UTF-8/LF normalization, and automatic Last Verified date stamping. Does NOT run git commit or git push. |
| get_workflow_guideA | Get complete self-contained rules, templates, and current context for AIMemory workflows without needing the user to provide a memory path. Call this immediately when the user asks to 整理旧记忆 / 建档 / 汇总项目 / 接手模块 / 新模块 / 沉淀 / bootstrap / consolidate / takeover / distill — especially in existing or older conversations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| bootstrap-module | 整理旧记忆 / 建档单模块:从当前对话或代码提炼单模块长期记忆并安全写入(不改 overview/profile) |
| consolidate-project | 汇总项目总览、关联模块与个人偏好(结合现有模块记忆与只读代码结构更新 overview.md) |
| takeover-module | 接手开发已有模块:自动加载偏好、项目总览、目标模块及关联模块,检查 git 状态后先给方案 |
| new-module | 开发全新模块:加载偏好与项目总览,检查 git 状态后先给表结构/接口/模块拆分方案 |
| distill-memory | 收尾沉淀记忆:提炼本次对话的长期有效结论,查冲突覆写并刷新最后核对日期(不自动 commit/push) |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Most tools target clearly distinct operations: read core context, list index, read a module, search, save, and get workflow guide. The main ambiguity is between get_core_context (reads RULES.md/profile/overview) and get_workflow_guide (returns self-contained rules, templates, and context), which both deliver rules/context and could be confused by an agent. Descriptions do help differentiate their intended triggers, but the boundary is not fully crisp.
All six tools follow a consistent verb_noun snake_case pattern: get_core_context, get_module_memory, get_workflow_guide, list_memory_index, search_memory, save_memory. Verbs (get/list/search/save) are used predictably and no conventions are mixed.
Six tools is well-scoped for a local memory repository server, covering read, list, search, write, and workflow guidance without bloat. Each tool has a distinct role and none feels redundant or trivial.
Read/list/search/write (create+update) are covered via get_core_context, list_memory_index, get_module_memory, search_memory, and save_memory. However, there is no delete or remove-memory operation, and save_memory explicitly does not handle git commit/push, leaving lifecycle gaps an agent must work around manually. These notable missing operations prevent a higher completeness score.