server-noonien
概览
作者提供的说明(英文原文)
Shared, serverless, conflict-free knowledge-graph memory for AI agents
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 96/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
NOONIEN_DIR,NOONIEN_NODE_ID
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"server-noonien": {
"command": "npx",
"args": [
"-y",
"server-noonien"
],
"env": {
"NOONIEN_DIR": "your-value",
"NOONIEN_NODE_ID": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add server-noonien --env NOONIEN_DIR=your-value --env NOONIEN_NODE_ID=your-value -- npx -y server-noonien运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"server-noonien": {
"command": "npx",
"args": [
"-y",
"server-noonien"
],
"env": {
"NOONIEN_DIR": "your-value",
"NOONIEN_NODE_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"server-noonien": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"server-noonien"
],
"env": {
"NOONIEN_DIR": "your-value",
"NOONIEN_NODE_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
NOONIEN_DIRenvDirectory holding this machine's shards (default ~/.noonien).NOONIEN_NODE_IDenvThis node's shard name (default the hostname). Must be unique per machine.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 sequico 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5849 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5849 个服务器的 95% 更新
- 基础检查结果等于或优于此分类中其他 5849 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
server-noonien 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.2.0)于前天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
server-noonien
Shared, serverless, conflict-free memory for AI agents — with peer-to-peer sync.
server-noonien is a drop-in replacement for the official @modelcontextprotocol/server-memory knowledge graph — the same entities, observations and relations — that converges across machines with no central server, no database and no merge conflicts.
Its headline feature is peer-to-peer sync: the nooniend daemon replicates each node's shard directly to the others, so several machines share one memory with no shared folder — only IP reachability over a VPN or a LAN.
Table of contents
- Why server-noonien
- The problem
- How server-noonien solves it
- Comparison
- The three commands
- Share across machines
- Peer to peer —
nooniend(recommended) - The daemon HTTP API
- Shared area —
fileands3 - Configuration
- Shared variables
- Server variables
- Daemon variables
- How it works
- Compaction
- Deletion and collection
- Tools
- Drop-in compatibility
- Security
- Development
- Why the name
noonien? - Documentation
- License & Disclaimer
- Support the Project
Why server-noonien
The problem
Agent memory today is local, and the official memory server is a single JSONL file that every mutation reads and rewrites in full. That breaks the moment you have more than one machine:
- It lives on one host. Switch machine and your agent has forgotten everything.
- Sharing it over a synced folder loses writes. The server serializes mutations *in-process only*: two hosts each load the whole graph, mutate their own copy and write it back, so the last write silently discards the other's — and the sync tool forks the file into conflict copies instead of merging it.
- The alternatives want a server, a database or a cloud. The mainstream "shared memory" products are something you have to host, or they ship your memory off your machines.
How server-noonien solves it
server-noonien removes the shared file and the central server at the root, and keeps the drop-in tool surface:
- Every node keeps its own memory. Each machine writes only its own append-only shard (
.jsonl); a shard has a single writer by design, so no two nodes ever write the same file and noonien itself never forks one — a shared area's syncer still can, and a conflict copy is just another shard to fold. - Shards merge, they do not overwrite. The graph is a CRDT — an LWW-Element-Set ordered by
(HLC, node, sequence)— whose merge is idempotent, commutative, associative and convergent. Any two machines that have seen the same operations hold the identical graph, in any order, so there is no "last write wins" data loss. - No shared area, no central server. The shards travel directly between machines with the
noonienddaemon — only IP reachability, over a VPN or a LAN — so several machines share one memory with no shared folder and no service to host. Prefer a folder or a bucket you already have?fileands3work too: the transport is a choice, not a lock-in. - Local-first and offline-friendly. Every node reads and writes its own shard on disk and keeps a full local replica, so it keeps working offline; the mesh reconverges when the network returns.
- Drop-in for the official server. The same nine tools, inputs and outputs, so it slots under the
memoryserver name with no agent changes — plus theupdate_*,merge_entitiesandread_conflictsextensions, the operations the official nine have no equivalent for.
Comparison
server-noonien vs the official memory server vs hosted memory services:
server-noonien | Official server-memory | Hosted memory services | |
|---|---|---|---|
| Multi-machine | Yes — per-node shards, one graph | No — one local file | Yes, via the service |
| Sharing a synced folder | Safe — append-only, conflict-free | Unsafe — whole-file read-modify-write | N/A |
| Needs a server / database | No | No | Yes |
| Needs a cloud account | No | No | Yes |
| Works offline | Yes (file backend) | Yes | No |
| Storage | Folder or S3-compatible bucket, your choice | One JSONL file | Their cloud |
| Drop-in for the official tools | Yes — same nine, plus extension tools | — | No |
| Migration | noonien import memory.jsonl | — | Export/import dance |
| Model | Explicit knowledge graph | Explicit knowledge graph | Often vector/semantic |
| License | MPL-2.0 | MIT | Proprietary |
Hosted is a category, not a product: it covers services that host your memory for you. server-noonien is the local-first opposite — you own the storage and there is no account.
A shared area is required for the file/s3 backends — a folder or an object store every node can reach. nooniend removes that requirement: it replicates the shards directly between nodes.
The three commands
One npm package, `server-noonien`, ships three commands (Node.js ≥ 22). Install it once and all three land on your PATH:
npm install -g server-noonien
The s3 backend's @aws-sdk/client-s3 is an optional dependency, loaded only when NOONIEN_BACKEND=s3 selects it. npm install -g server-noonien --omit=optional skips it when you never use s3.
| Command | Role | How it runs |
|---|---|---|
| `server-noonien` | the MCP memory server | short-lived, spawned by the MCP client over stdio |
| `noonien` | the maintenance CLI | one-shot, run by hand |
| `nooniend` | the peer-to-peer replication daemon | long-lived, one per machine |
Only server-noonien matches the package name, so it is the only command npx can run by package name. Run the other two with --package, or from the global install above:
npx -y server-noonien # the MCP server (no argument serves over stdio)
npx -y -p server-noonien noonien help # the maintenance CLI npx -y -p server-noonien nooniend # the replication daemon
From a clone — for development, or to run code not yet on npm:
git clone https://github.com/sequico/server-noonien.git
cd server-noonien && npm install && npm run build
node dist/index.js # server-noonien — the MCP server node dist/noonien.js # noonien — the maintenance CLI node dist/gossip.js # nooniend — the replication daemon
server-noonien — the MCP server
The entry every MCP client uses. With no argument (or serve) it speaks MCP over stdio, so you don't run it yourself — the client spawns it and it lives for the session:
npx -y server-noonien # the stdio command the client runs
claude mcp add memory -- npx -y server-noonien # register it with Claude Code as the memory server
Point your client at it; it works on one machine out of the box, and sharing across machines is the next step. In OpenCode (V2):
{
"$schema": "https://opencode.ai/config.json", "mcp": { "servers": { "memory": { "type": "local", "command": ["npx", "-y", "server-noonien"], "environment": { "NOONIEN_DIR": "~/.noonien" } } } } }
Other clients wrap the same command and environment in their own envelope; from a clone the command is ["node", "/path/to/server-noonien/dist/index.js"]. Because the nine drop-in tools are identical, you can replace the memory server entry with server-noonien and change nothing else.
noonien — the maintenance CLI
| Command | Does |
|---|---|
noonien serve | run the MCP memory server over stdio (the same as server-noonien) |
noonien import | import an official server-memory JSONL file (writes its own -import shard, so it runs online) |
noonien export | print the folded knowledge graph as JSON |
noonien merge | fold every shard and report the merged state |
noonien compact | maintain this node's shard now: prune shadowed operations and, only where it is safe, physically delete its tombstones — the same rule the server applies (NOONIEN_GC; with a daemon that owns the directory it keeps the whole view and leaves the shard to the daemon) — and report why when it keeps them |
noonien query | search entities and print the matching subgraph |
noonien help | list the commands; noonien --version prints the version |
nooniend — the daemon
A long-lived service, one per machine, that replicates the shard directory peer to peer. It takes no arguments and is configured entirely through environment variables — the shared NOONIEN_DIR and NOONIEN_NODE_ID (Shared variables) plus the daemon's NOONIEND_* (Daemon variables). See Peer to peer for the setup.
Share across machines
noonien merges shards; it does not move them by itself. How the shards travel between machines is your choice: peer to peer (a companion daemon — the recommended default) or a shared area (a folder or a bucket that already exists). The MCP server always reads and writes its own local shard; only the transport differs.
Peer to peer — nooniend (recommended)
The recommended way to share one memory across machines with no shared storage. nooniend is a long-lived daemon that replicates the local shard directory peer to peer. It only needs IP reachability, so it runs over any VPN (WireGuard, Tailscale, OpenVPN, Netbird, ZeroTier, …) or a plain LAN.
Give each machine a unique node id and run one nooniend per machine. Every daemon keeps a full replica of the others' shards beside its own, in the same local directory the MCP server uses — no shared folder required:
# on a tailnet
NOONIEN_DIR=~/.noonien \ NOONIEND_TAILSCALE=true \ nooniend
or, with no self-listing underlay, seed one reachable peer
NOONIEN_DIR=~/.noonien \ NOONIEND_PEERS=ai.example:49778 \ nooniend
The peers find each other — you never list the machines. Configure one discovery source: NOONIEND_TAILSCALE (from tailscale status), NOONIEND_DNS_SRV (the _nooniend._tcp SRV records), or NOONIEND_PEERS (a static seed; one is enough, membership then self-propagates). A discovery source returns candidates, not members: a candidate joins only once it answers /info, so a machine on the network that does no
只显示了开头部分;其余内容请在仓库中阅读