SuperAPI AI Directory

server-noonien

server-noonien is a shared, serverless, conflict-free memory system for AI agents, serving as an alternative to the official @modelcontextprotocol/server-memory knowledge graph. It retains the same entity, observation, and relation model and achieves multi-machine convergence through CRDTs, without requiring a central server or database. Its core feature is peer-to-peer synchronization: the nooniend daemon directly replicates shards between nodes, and as long as IP reachability exists (VPN or LAN), multiple machines can share the same memory.

Open website

About this tool

server-noonien is a shared memory tool for AI agents, positioned as an alternative to the official @modelcontextprotocol/server-memory knowledge graph. It retains the same entity, observation, and relation model and supports multi-machine synchronization without a central server, database, or merge conflicts.

Purpose and background: The official memory server uses a single JSONL file, performing full reads and writes on every change, which leads to data loss or conflicting copies in multi-machine scenarios. server-noonien avoids data loss caused by "last write wins" by having each node write only its own append-only shard (<node>.jsonl) and merging shards using CRDTs (LWW-Element-Set, ordered by HLC, node, and sequence), achieving idempotent, commutative, associative, and convergent merging.

Main capabilities:

  • Peer-to-peer synchronization: The nooniend daemon directly replicates shards between nodes, requiring only IP reachability (VPN or LAN), with no shared folder or hosted service needed.
  • Shared-area transfer: Supports file and s3 backends, synchronizing shards through an existing folder or object storage.
  • Local-first and offline-capable: Each node reads and writes its own shard on disk and keeps a complete local copy, continuing to work offline and re-converging once the network is restored.
  • Compatible with the official server: Provides the same nine tools, inputs, and outputs, and can directly replace the memory server entry without modifying agents; it also provides update_*, merge_entities, and read_conflicts extensions.
  • Maintenance CLI: The noonien command is used for maintenance operations.
  • Daemon HTTP API: nooniend provides a small HTTP/JSON API, including routes such as /graph, and supports Prometheus metrics.

Usage:

  • Installation: npm install -g server-noonien (requires Node.js ≥ 22); three commands will be added to PATH. The @aws-sdk/client-s3 for the s3 backend is an optional dependency, loaded only when NOONIEN_BACKEND=s3.
  • MCP server: The server-noonien command provides MCP services via stdio and is started by the client. Configure it in clients such as OpenCode (V2)This command is sufficient.
  • Maintenance CLI: the noonien command is used for maintenance operations.
  • Daemon: the nooniend command runs a long-lived service on each machine, configured via environment variables (NOONIEN_DIR, NOONIEN_NODE_ID, and NOONIEND_* variables), enabling peer-to-peer replication.
  • Shared area: point each node to the same folder or S3 bucket; the file backend uses *.jsonl files in NOONIEN_DIR; the s3 backend uses one object per shard with conditional writes.

Use cases: multiple machines sharing the same AI agent memory; needing to work offline and sync after network recovery; wanting to avoid a central server or hosted service; environments where an existing folder or object storage is available.

Limitations:

  • Requires Node.js ≥ 22.
  • Peer-to-peer sync requires IP reachability (VPN or LAN) and a configured discovery source (Tailscale, DNS SRV, or static seeds).
  • The file/s3 shared area does not provide safe deletion; maintenance operations only prune; physical deletion requires declaring that the directory is exclusively written by this node (NOONIEN_GC).
  • The s3 backend requires object storage that supports If-Match/If-None-Match conditional writes (such as AWS S3, Cloudflare R2, MinIO); storage that ignores conditional writes is not supported.
  • The nooniend daemon only replicates directories and refuses to run concurrently with NOONIEN_BACKEND=s3 or memory.
  • Specific charging, pricing, platform support, and other details are not yet provided.