Mnemoverse Memory
@mnemoverse/mcp-memory-server
面向 AI 智能体的托管记忆服务,能够学习哪些事实真正重要。反馈会对召回结果进行重排序——这是基于预测误差的 Rescorla-Wagner 更新,而非相似度评分——因此有帮助的记忆会上升,误导性的记忆会下沉,且召回更偏向近期记忆(指数级的新近性增强,半衰期约 30 天)。该引擎还内置了整合机制(HDBSCAN 聚类,并带有 Von Restorff 保护,使独特记忆在压缩中得以保留)。一个 API 密钥即可在 Claude、Cursor、VS Code、ChatGPT 以及任何 MCP 客户端中使用。
跨会话、跨项目、跨工具持久化的记忆——并且越用越好。托管式服务,无需自行搭建基础设施,也不锁定于单一云平台。
⭐ 如果 Mnemoverse 让你免于向智能体反复解释上下文,请给仓库点个星。这能帮助其他开发者发现它。
快速开始
1. 获取免费 API 密钥
在 console.mnemoverse.com 注册——只需 30 秒,无需信用卡。
2. 连接到你的 AI 工具
Claude Code — 通过 CLI 添加:
claude mcp add mnemoverse -s user \
-e MNEMOVERSE_API_KEY=mk_live_YOUR_KEY \
-e MNEMOVERSE_API_URL=https://core.mnemoverse.com/api/v1 \
-- npx -y @mnemoverse/mcp-memory-server@latestCursor — 点击安装,或添加到 .cursor/mcp.json:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}VS Code — 添加到 .vscode/mcp.json(注意:VS Code 使用 servers,而非 mcpServers):
{
"servers": {
"mnemoverse": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}Windsurf — 添加到 ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}更多 MCP 客户端 — 同一个服务器,不同的配置文件:
Zed — 添加到 ~/.config/zed/settings.json(Zed 使用 context_servers,且必须设置 "source": "custom"):
{
"context_servers": {
"mnemoverse": {
"source": "custom",
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}JetBrains(AI Assistant)— Settings → Tools → AI Assistant → Model Context Protocol (MCP),然后粘贴:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}Cline — MCP Servers → Configure(或编辑 cline_mcp_settings.json)。Cline 会按字面值读取 env 变量,因此请粘贴你的真实密钥——而不是 ${VAR} 引用:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}Continue — 添加 ~/.continue/mcpServers/mnemoverse.yaml(Continue 使用 YAML):
mcpServers:
- name: mnemoverse
command: npx
args:
- "-y"
- "@mnemoverse/mcp-memory-server@latest"
env:
MNEMOVERSE_API_KEY: "mk_live_YOUR_KEY"
MNEMOVERSE_API_URL: "https://core.mnemoverse.com/api/v1"为什么用
@latest?裸的npx @mnemoverse/mcp-memory-server会被 npm 无限期缓存,不再检查注册表。@latest后缀会强制在每次 Claude Code / Cursor / VS Code 会话启动时进行元数据查询(约 100-300 毫秒),确保你始终能获取新版本。
⚠️ 编辑配置后请重启你的 AI 客户端。 MCP 服务器只在客户端启动时才会被加载。
3. 试试看——30 秒验证是否生效
在你的 AI 对话中粘贴以下内容:
"记住我最喜欢的 TypeScript 框架是 Hono,请调用
memory_write保存它。"
你的智能体应该会调用 memory_write 并确认记忆已存储。
然后打开一个新的对话 / 新会话(这正是关键所在——记忆在重启后依然存在),并询问:
"我最喜欢的 TypeScript 框架是什么?"
你的智能体应该会调用 memory_read,找到该条目,并回答 "Hono"。如果做到了——说明你已经配置成功。接下来想写什么都可以。
如果它没有记住:请检查客户端是否已完全重启,以及配置中是否填写了真实的 mk_live_... 密钥,而不是占位符。
Related MCP server: memmd-mcp
工具
工具 | 功能 |
| 存储一条记忆——见解、偏好、经验教训 |
| 通过自然语言查询搜索记忆(可选的新近性排序、时间范围、作者排除) |
| 按最新优先列出记忆——无需查询; |
| 将记忆评为有帮助或无帮助(改善未来召回) |
| 查看已存储多少条记忆、存在哪些领域 |
| 创建共享记忆房间;其地址可作为写入/读取时的 |
| 为你拥有的房间生成一次性邀请(代码 + 链接) |
| 使用邀请码( |
| 列出你拥有或加入的房间,以及每个房间可用作 |
| 按别名和用途列出 Vault 密钥——绝不返回密钥值 |
建议:该记住什么
用户偏好:"我使用深色模式"、"我更喜欢 Tailwind 而不是 CSS modules"
项目上下文:"这个项目使用 PostgreSQL + Prisma"、"部署到 Railway"
经验教训:"在这个仓库上推送前一定要先运行测试"
已做的决策:"我们选择 REST 而非 GraphQL,因为缓存更简单"
人员与角色:"Alice 是设计师,Bob 负责 API"
过去的错误:"不要在周五部署——这是用惨痛教训换来的"
通用记忆
同一个 API 密钥适用于所有工具。在 Claude Code 中写入一条记忆——在 Cursor 中读取。在 VS Code 中学到的东西——你的 GPT Custom Action 也知道。
┌── Claude Code (this MCP server)
├── Cursor (this MCP server)
Mnemoverse API ──├── VS Code (this MCP server)
(one memory) ├── GPT (Custom Actions)
├── Python SDK (pip install mnemoverse)
└── REST API (curl)配置
环境变量 | 是否必需 | 默认值 |
| 每次工具调用都需要——服务器在无密钥的情况下也能启动并列出工具 | — |
| 否 |
|
链接
设置与参考
背景阅读
Memory MCP 服务器对比 — 十三个可用的方案,含定价和注册情况
如何选择 memory MCP 服务器 — 缩小选择范围的五个问题
什么是 AI 智能体记忆 — 类别详解
这是向量数据库吗? — 记忆层有何不同
多智能体系统的共享记忆 — Rooms 如何工作以及何时使用
项目
隐私政策
本服务器会向 Mnemoverse API(core.mnemoverse.com)发送工具调用所携带的内容(使用你的 API 密钥进行身份验证)——除此之外,它看不到的任何内容都不会发送。它不会读取你 AI 客户端的对话历史、你的本地文件,或任何你没有传递给 memory_* / vault_* 工具的内容。存储的记忆归属于你的账户;Mnemoverse 绝不会出售它们,也绝不会自行分享它们。唯一的分享途径是你自己创建的:邀请某人加入共享房间,即授予其助手访问该房间记忆的权限,且受邀请范围的限制。
每个工具发送的数据:
工具 | 发送的数据 |
| 你传入的 |
|
|
| 信息流筛选条件: |
| 被评分的 |
| 房间的 |
|
|
| 邀请 |
| 无请求体——经过身份验证的 GET 请求 |
有一项内容会在你未明确请求时发出:自 0.8.1 起,当搜索或信息流返回空结果时,服务器会发送一或两个经过身份验证的只读 GET 探测请求(/memory/rooms 和/或 /memory/stats),以便空结果能说明它未覆盖的内容。这些探测请求只携带你的 API 密钥,不包含其他任何内容,不会改变任何存储状态,并已在 CHANGELOG 中披露。
隐私政策 | |
保留与删除 | 通过写入一条新记忆来纠正错误或过时的记忆;删除是 REST API 上的管理操作,不通过此 MCP server 公开 |
联系方式 |
许可证
MIT © Mnemoverse
Maintenance
Related MCP Servers
- AlicenseAqualityDmaintenancePersistent memory API for AI agents — store, recall, and inject semantically-searchable context across sessions. EU-hosted, GDPR-compliant. Supports Claude, Cursor, Cline, and any MCP-compatible client.42MIT
- AlicenseBqualityDmaintenanceA shared memory layer for AI agents — one memory.md synced across Claude Desktop, Cursor, Claude Code, OpenAI Codex, and any MCP client.42MIT
- AlicenseNot gradedqualityBmaintenancePersistent memory for AI coding agents that stores and recalls preferences, decisions, and conventions via semantic similarity, with zero cloud dependencies and plug-and-play MCP integration for Claude Code.Apache 2.0
- AlicenseNot gradedqualityAmaintenancePersistent, local memory for AI coding agents that learns how you work, not just what you said. Supports Claude Code, Codex CLI, Cursor, and any MCP client.63MIT
Related MCP Connectors
Persistent memory for AI agents — verbatim conversations, searchable by meaning.
Persistent memory for AI agents. Search, store, and recall across sessions.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mnemoverse/mcp-memory-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server