AI Skill Hub 推荐使用:Live Memory 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
Live Memory 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Live Memory 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/Cloud-Temple/live-memory
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"live-memory": {
"command": "npx",
"args": ["-y", "live-memory"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Live Memory 执行以下任务... Claude: [自动调用 Live Memory MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"live_memory": {
"command": "npx",
"args": ["-y", "live-memory"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Shared working memory for collaborative AI agents
---
| Zone | Content |
|---|---|
| **📊 Dashboard** (left) | Space info, consolidation (date + counters), live/bank stats, colored agents, categories with %, Markdown rules, Graph Memory |
| **🔴 Live Timeline** (top-right) | Live notes grouped by date (Today/Yesterday/date), cards with agent + category + Markdown |
| **📘 Bank Viewer** (bottom-right) | Consolidated file tabs, Markdown rendering with marked.js |
---
uv pip install -e .
python scripts/test_recette.py --suite graph \ --graph-url http://host.docker.internal:8080 \ --graph-token your_token
```bash
docker compose build
uv pip install -e .
```bash
docker compose up -d
docker compose ps # Check status
docker compose logs -f live-mem-service --tail 50 # Logs
---
pip install click rich prompt-toolkit mcp[cli]>=1.8.0
export MCP_URL=http://localhost:8080
export MCP_TOKEN=your_token
cp .env.example .env
Edit .env with your values (see Configuration).
Edit .env. All variables are documented in .env.example.
The consolidator uses an LLM (OpenAI-compatible API) to transform live notes into structured bank files.
| Variable | Default | Description |
|---|---|---|
LLMAAS_MODEL | qwen3.5:27b | LLM model name as exposed by the provider |
LLMAAS_CONTEXT_WINDOW | 131072 | TOTAL context window of the model (input + output combined, in tokens). Qwen3 235B = 128K |
LLMAAS_MAX_TOKENS | 16384 | Max OUTPUT tokens per request. The consolidator adjusts dynamically: output = min(MAX_TOKENS, CONTEXT_WINDOW - input) |
LLMAAS_TEMPERATURE | 0.3 | LLM creativity (0.0 = deterministic, 1.0 = very creative) |
PROXY_URL | _(none)_ | Outbound HTTP proxy (e.g. http://10.0.0.1:3128). **Custom variable** (not HTTP_PROXY) — injected manually into boto3 (S3) and httpx (LLM). Not supported for Graph Memory connections. |
| Variable | Default | Description |
|---|---|---|
MCP_SERVER_PORT | 8002 | MCP server listening port |
MCP_SERVER_DEBUG | false | Detailed logs (full error messages) |
CONSOLIDATION_TIMEOUT | 600 | Timeout per LLM call (seconds) |
CONSOLIDATION_MAX_NOTES | 200 | Max notes per consolidation |
CONSOLIDATION_BATCH_SIZE | 5 | Notes per LLM batch (small = precise, large = faster) |
CONSOLIDATION_COOLDOWN_SECONDS | 60 | Per-space anti-spam cooldown for bank_consolidate (0 disables) |
CONSOLIDATION_VALIDATION_ENABLED | false | Optional post-consolidation check for unattributed claims |
CONSOLIDATION_VALIDATION_MAX_EXAMPLES | 20 | Max examples returned by the validation pass |
COMPACT_THRESHOLD | 0.6 | Auto-compaction trigger (0.6 = compact if bank > 60% of budget) |
BANK_FILE_MAX_SIZE | 15360 | Max size per bank file (bytes, 15 KB). Above = compaction candidate |
RESPONSE_MAX_BYTES | 524288 | Max non-MCP response body size before truncation |
API_TOOL_MAX_BODY_BYTES | 1048576 | Max request body accepted by /api/tool |
---
Live Memory exposes a web interface on /live to visualize memory spaces in real-time.
| Endpoint | Description |
|---|---|
GET /api/spaces | List of spaces |
GET /api/space/{id} | Complete info (meta + rules + stats + graph-memory) |
GET /api/live/{id} | Live notes (filters: ?agent=, ?category=, ?limit=) |
GET /api/bank/{id} | Bank file list |
GET /api/bank/{id}/{filename} | Bank file content |
/api/* endpoints require a Bearer Token. /live page and /static/* files are public.
python scripts/mcp_cli.py health
python scripts/mcp_cli.py whoami # Current token identity
python scripts/mcp_cli.py about
python scripts/mcp_cli.py space list
python scripts/mcp_cli.py space create my-project --rules-file rules.md
python scripts/mcp_cli.py live note my-project observation "Build OK"
python scripts/mcp_cli.py bank consolidate my-project
python scripts/mcp_cli.py bank read-all my-project
python scripts/mcp_cli.py token create agent-cline read,write
python scripts/mcp_cli.py graph connect my-project URL TOKEN MEM-ID -o general
python scripts/mcp_cli.py graph push my-project
python scripts/mcp_cli.py graph status my-project
python scripts/mcp_cli.py graph disconnect my-project
1. graph_connect(space_id, url, token, memory_id, ontology="general")
└─ Tests connection, creates Graph Memory if needed
2. bank_consolidate(space_id)
└─ Queues async consolidation; call once and do not watch/poll unless explicitly requested
3. graph_push(space_id)
├─ Lists documents in Graph Memory
├─ For each modified bank file:
│ ├─ document_delete (removes orphaned entities)
│ └─ memory_ingest (complete graph recalculation)
├─ Cleans deleted bank documents
└─ Updates metrics (last_push, push_count)
4. graph_status(space_id)
└─ Stats: 79 entities, 61 relations, top entities, documents...
📖 Full Guide: SeeCLINE_INTEGRATION_GUIDE.mdfor the step-by-step guide (Cline configuration, custom instructions, workflow, multi-agents, troubleshooting). Equivalent guides exist forCLAUDE_CODE_INTEGRATION.mdandCODEX_INTEGRATION.md.
In Cline's MCP settings (cline_mcp_settings.json):
{
"mcpServers": {
"live-memory": {
"url": "http://localhost:8080/mcp",
"headers": {
"Authorization": "Bearer lm_YOUR_TOKEN"
}
}
}
}
To configure the Custom Instructions for your agent, copy one of the two workspace rule templates into your Cline global Custom Instructions (or into a .clinerules/ directory in your project):
| Template | When to use |
|---|---|
[WORKSPACE_CLINE_RULES.md](WORKSPACE_CLINE_RULES.md) | Workspaces with **Live Memory only**. |
[WORKSPACE_CLINE_ADVANCE_RULES.md](WORKSPACE_CLINE_ADVANCE_RULES.md) | Workspaces also connected to **Graph Memory** (Graph-first lookup, compaction discipline, agent-side ingestion). |
Customize a few placeholders ({LIVE_MCP_SERVER}, {SPACE}, and for the advanced template {GRAPH_MCP_SERVER} / {GRAPH_MEMORY_ID}). The agent name is auto-detected from the authentication token — nothing else to configure.
💡 Ready-to-use templates:WORKSPACE_CLINE_RULES.md(Live-only) andWORKSPACE_CLINE_ADVANCE_RULES.md(Live + Graph) — copy and customize the placeholders. 📖 Detailed integration guides:CLINE_INTEGRATION_GUIDE.md,CLAUDE_CODE_INTEGRATION.md,CODEX_INTEGRATION.md.
Live Memory 是一个实时内存服务,用于协同工作的 AI 代理共享工作内存。
Live Memory 提供了以下功能:仪表盘、实时时间线、空间信息、实时/银行统计、彩色代理、分类百分比、Markdown 规则和图形内存。
Live Memory 需要以下环境依赖和系统要求:Docker >= 24.0、Docker Compose v2、Python 3.11+(可选)、兼容的 S3 存储(Cloud Temple Dell ECS、AWS、MinIO)和兼容的 OpenAI API 的 LLM(Cloud Temple LLMaaS、OpenAI 等)。
Live Memory 的安装步骤包括:使用 Docker Compose 构建镜像、使用 pip 安装依赖项、使用 Graph Memory 套件(可选)和配置环境变量。
Live Memory 的配置说明包括:编辑 .env 文件、配置环境变量(如 LLM 模型名称、上下文窗口大小等)和使用 MCP 集成指南。
Live Memory 提供了以下 API 接口:REST API(5 个端点)、Web 接口(/live)和 CLI/Shell 接口。
Live Memory 的工作流包括:图形连接、银行合并和图形推送,以及 MCP 集成指南和其他相关文档。
Live Memory 的常见问题包括:环境依赖、安装步骤、配置说明和 API 接口使用说明。
高质量开源MCP工具,实现AI代理协作
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
总体来看,Live Memory 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | live-memory |
| 原始描述 | 开源MCP工具:Live Memory MCP Server — Shared working memory for collaborative AI agents (Memo。⭐6 · Python |
| Topics | agenticllmmcpmemory |
| GitHub | https://github.com/Cloud-Temple/live-memory |
| 语言 | Python |
收录时间:2026-06-04 · 更新时间:2026-06-06 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端