nebula-memory
v1.5.0Zero-dependency offline memory MCP server.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
remember
写入一条记忆。可选 importance(0~1,1.0 表示置顶/永久事实,永不受时间衰减,用于存 API 密钥、用户称呼偏好等关键信息)、kind(episode/fact/note/profile)、tags。
| Parameter | Type | Description |
|---|---|---|
text * | string | 要记住的内容 |
importance | number | 重要性 0~1,1.0 = 永久置顶 |
kind | string | 记忆类型,默认 episode |
namespace | string | 目标记忆库(可选)。不填=默认单库;填了写入独立子库,如 work/personal。仅字母数字、_、-,≤64字符。 |
tags | array | 标签 |
recall
召回与 query 相关的记忆。本地四臂检索,返回按相关度排序的记忆列表。
| Parameter | Type | Description |
|---|---|---|
query * | string | 要检索的内容 |
limit | number | 最多返回条数,默认 6 |
namespace | string | 目标记忆库(可选)。不填=默认单库;填了只在该子库内检索。 |
stats
返回当前记忆库的统计信息(节点数、边数等)。
| Parameter | Type | Description |
|---|---|---|
namespace | string | 目标记忆库(可选)。不填=默认单库。 |
forget
按 id 删除一条记忆。
| Parameter | Type | Description |
|---|---|---|
id * | string | 记忆 id |
namespace | string | 目标记忆库(可选)。不填=默认单库。 |
compact
手动压缩记忆库文件:清理追加历史,磁盘显著变小、下次启动明显变快。实例保持可用,不影响读写。可选 namespace。
| Parameter | Type | Description |
|---|---|---|
namespace | string | 目标记忆库(可选)。不填=默认单库。 |