MCP.Market

记忆梦境引擎 · AI 的睡眠系统 MCP server

by savantcat.cn·cn.savantcat/memory-dream-engine·v1.0.1·1 stars

零 LLM 事实提取 + 三维信号评分 + 艾宾浩斯衰减 + 五阶段梦境流水线与内容发芽检测,纯计算零依赖

B70/100grade B
What users say
No reviews yet
Be the first
Safety scan
B70/100

full report

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed 记忆梦境引擎 · AI 的睡眠系统 yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

记忆梦境引擎 · AI 的睡眠系统 tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-10-14 · same rubric, same numbers if you re-run it

no findings
  • –Code scanremote-only server, no package to scann/a
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualityno auth information5/15
  • Maintenancelast push 8 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; website matches verified namespace8/10
Overall 70/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How 记忆梦境引擎 · AI 的睡眠系统 compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
70/100
higher than 37% of 4,460 AI and agents servers
GitHub stars
1
more than 50% of 2,711 AI and agents servers

Install 记忆梦境引擎 · AI 的睡眠系统 in Claude Code, Cursor or VS Code

The registry entry has no remote endpoint or installable package.

What the publisher says

From the 记忆梦境引擎 · AI 的睡眠系统 repository's README, as published. We do not edit it. Read it on GitHub

🌙 记忆梦境引擎 · Memory Dream Engine

你的 AI 聊完就忘,不是它笨 —— 是它从来不做梦。

一个可插拔的「AI 睡眠系统」:采集 → 评分 → 写入 → 优化 → 发芽,每 3 小时自动跑一轮。 零 LLM 成本、纯标准库、~800 行 Python、8/8 单元测试通过。

🤔 你大概率遇到过这三种情况

梦境引擎就是补这三环的。

🧠 它怎么工作 —— 像人一样睡觉

┌─ 浅睡 ── SignalCollector   采集四维信号(决策 / 纠偏 / 工具 / 灵感)
        │
一轮 ───┼─ 深睡 ── SignalScorer      三维动态评分(按信号类型自适应调权)
(180min)│           MemoryWriter      去重 + 合并 + 替换,声明式写入
        │
        └─ REM ── SproutDetector    3 条 → 星球帖   /   5 条 → 公众号文章
                          ▲
                    MemoryOptimizer  每 3 轮深度清理(去重 / 过期 / 压缩)

⚡ 四个「别人没有」的点

🆚 和溯忆(Suyi)比

溯忆是被动存储,梦境引擎是主动生长:

🚀 60 秒跑起来

git clone https://gitee.com/savantcat/memory-dream-engine.git
cd memory-dream-engine

# 依赖为零;只有跑测试才需要 pytest
python -m pip install -r requirements.txt

# 看演示(用内置 mock 适配器,不需要接任何框架)
python cli.py

想看核心能力,直接跑引擎自带的 v3 演示:

python engine.py

🔌 接入你自己的 Agent

引擎不绑定任何框架,只需实现三个适配器函数:

from engine import DreamEngine

def my_session_search(query, limit, sort):
    """换成你框架的搜索接口"""
    return [{"content": "...", "role": "user"}]

def my_memory(action, target, content, old_text=None):
    """换成你框架的记忆写入接口"""
    return {"status": "ok"}

def my_get_usage():
    """返回 (已用字符数, 总字符数)"""
    return (1500, 2200)

engine = DreamEngine(
    session_search_fn=my_session_search,
    memory_fn=my_memory,
    get_usage_fn=my_get_usage,
)

report = engine.dream(days_back=2, existing_memories=[...])
print(report.summary())

⚠️ 文档澄清:早期版本的 README 里出现过「编辑 .env 配置 SESSIONSEARCHFN / MEMORY_FN」的说明,

那是错的 —— 引擎从不读取任何环境变量。接入方式只有上面这一种:传 Python 函数。

🔌 作为 MCP 服务调用

server.py 把引擎包成标准 MCP server —— 别人的 Agent 可以直接调这几个工具,不必接适配器、不必读源码。

pip install "mcp>=2.1"

python server.py                                # 本地 stdio(Claude Desktop / Cursor / 任意 MCP 客户端)
python server.py --transport http --port 8770   # 远程 streamable-http
python server.py --selftest                     # 不走协议,直接遍历打全部工具

客户端配置(stdio):

{ "mcpServers": { "memory-dream-engine": { "command": "python", "args": ["server.py"] } } }

服务端为纯计算、纯读:6 个工具的四个 annotation hint 全部声明(readOnlyHint=true / destructiveHint=false / idempotentHint=true / openWorldHint=false),不需要 API Key,也不保存调用方的任何数据 —— simulate_dream 在临时库跑完即销毁。

⏰ 定时运行(Hermes Agent)

schedule: every 180m
skills: ["memory-dream-engine"]
prompt: 执行记忆梦境引擎五阶段流程。无新发现输出 [SILENT]。

⚠️ 必读:Cron 环境写不了 Memory(最大的运维坑)

多数 Agent 框架的 cron 子进程没有 memory 工具权限,会导致阶段 3(写入)和阶段 4(优化)静默失败 —— 引擎照常采集和评分,但 ≥70 分的条目会持续积压。

症状:报告反复出现「阶段3:写入 — 受阻」,同一批高分记忆连着几轮都没写进去。

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

记忆梦境引擎 · AI 的睡眠系统: common questions

Is 记忆梦境引擎 · AI 的睡眠系统 MCP server safe?
Mostly: it is graded B (70/100). Read the 记忆梦境引擎 · AI 的睡眠系统 safety report
Does 记忆梦境引擎 · AI 的睡眠系统 need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is 记忆梦境引擎 · AI 的睡眠系统 maintained?
The last commit was 29 days ago (2026-10-06). The latest release is v1.0.1.
What can I use instead of 记忆梦境引擎 · AI 的睡眠系统?
Servers from other publishers that do the same job: Basic Memory MCP server, Summer Engine MCP server and IWE (iwe.md) MCP server.
How does 记忆梦境引擎 · AI 的睡眠系统 compare with other AI and agents MCP servers?
safety score 70/100 (higher than 37% of 4,460 AI and agents servers); github stars 1 (more than 50% of 2,711 AI and agents servers). Full comparison.

Alternatives to 记忆梦境引擎 · AI 的睡眠系统

Same job from other publishers: the closest match first, then the best rated.

  • Basic Memory
    Local-first knowledge management with bi-directional LLM sync via Markdown files.
    B
  • Summer Engine
    The game engine built for AI. Any agent makes a multiplayer game and publishes it.
    B
  • IWE (iwe.md)
    Markdown knowledge base as agent memory. Runs against the notes directory it is started in.
    A
  • Memanto
    MCP server for Memanto - persistent semantic memory for any MCP-compatible agent
    A
  • DCC-MCP Core
    Agent control plane for DCC and engine hosts: one MCP endpoint, one tool contract.
    A

More from savantcat.cn →