跳转到内容

快速入门 — 3 步完成 MCP 记忆服务器设置

Terminal window
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/LuiggiVal08/toon-memory/main/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/LuiggiVal08/toon-memory/main/install.ps1 | iex
# 或使用 npm(任意平台)
npm i -g toon-memory
Terminal window
# 交互式安装器 — 使用方向键、空格键、回车键选择代理
npx toon-memory
# 或非交互式:指定代理和作用域
npx toon-memory init --agent opencode --scope global
Terminal window
# 在下一次会话中运行:
memory_stats # 查看记忆中的内容
memory_recall # 在读取文件前搜索记忆
memory_remember # 保存重要决策

你的代理现在拥有了跨会话的持久化记忆。了解更多: