server-noonien
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NOONIEN_GC | No | Delete tombstones without a daemon: only where this node is the directory's only writer — a promise nothing in the directory can prove. Where a daemon owns the directory (it announces itself with its knowledge file from startup) it has no effect: the daemon collects. Default is off. | off |
| NOONIEN_DIR | No | Directory holding this machine's shards: the file backend's store and the daemon's replica store. A leading ~ is expanded. Default is ~/.noonien. | |
| NOONIEN_BACKEND | No | file, memory or s3. Default is file. | file |
| NOONIEN_NODE_ID | No | This node's shard name — the identity the MCP server writes under and the daemon replicates. Must be unique per machine and written by a single server at a time. Default is the hostname. | |
| NOONIEN_S3_BUCKET | No | Bucket (required for the s3 backend). | |
| NOONIEN_S3_PREFIX | No | Key prefix all shard objects live under. Default is empty string. | |
| NOONIEN_S3_REGION | No | Region passed to the S3 client. Default is us-east-1. | us-east-1 |
| NOONIEN_S3_ENDPOINT | No | Custom endpoint for MinIO / R2 / Contabo and similar. | |
| NOONIEN_COMPACT_AFTER | No | Compact the local shard online after this many appended operations (0 disables). Default is 1000. | 1000 |
| NOONIEN_S3_FORCE_PATH_STYLE | No | Path-style requests. Default is on when an endpoint is set. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Shared, conflict-free knowledge-graph memory — entities with observations, and typed relations between them — converged across machines without a server. The nine memory tools behave as in @modelcontextprotocol/server-memory. To change what already exists, do not compose delete + create: rename an entity or change its type with update_entities, replace an observation content with update_observations, change a relation's type or endpoints with update_relations, and combine two entities with merge_entities, which takes a dryRun when you want to see the bill first. For a large graph, page read_graph and search_nodes with limit/offset, and filter search_nodes by entityType. find_nodes searches the way a query is written — every word must match, results are ranked — while search_nodes is the literal substring. read_changes reads what moved in a window instead of the whole graph, expand_nodes walks a neighbourhood out from the entities you name, and find_duplicates proposes pairs that look like the same thing. To settle what two machines wrote, read_conflicts lists it with the values and the times and resolve_conflict decides it; read_history says who wrote an entity and when; set_observations keeps a key: value fact current.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"subscribe": true,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_entitiesA | Create multiple new entities in the knowledge graph. A name that already exists is skipped and left unchanged — use add_observations to extend it — and only the entities actually created are returned. Observations are stored exactly as given, duplicate contents included. |
| create_relationsA | Create multiple new relations between entities in the knowledge graph. Relations should be in active voice. Both endpoints must already exist: one missing name fails the whole call with "Entity with name … not found". A relation that is already present is skipped, so the response lists only the ones added. |
| add_observationsA | Add new observations to existing entities in the knowledge graph. Content the entity already holds is not added again, while duplicates within one request are kept as separate occurrences; the response reports what was added per entity. Every named entity must exist — a missing one fails the whole call, so create it with create_entities first. To replace a content use update_observations, to remove one use delete_observations. |
| update_entitiesA | Prefer this to deleting an entity and re-creating it under another name: rename existing entities and/or change their entity type, keeping their observations and relations. A rename onto a name that already exists is refused rather than merging the two; an unknown name is reported and the batch keeps its other entries. |
| update_observationsA | Prefer this to delete_observations followed by add_observations: replace observation contents on existing entities in place |
| update_relationsA | Prefer this to deleting a relation and creating another: change the type of existing relations and/or repoint their endpoints. Each entry is matched by its current from, to and relationType; a missing match is reported, not thrown, so the batch keeps its other entries. |
| merge_entitiesA | Prefer this to deleting one entity and re-adding its observations and relations to another: merge an entity into another, unioning their observations and repointing its relations. The target keeps its name; the absorbed entity is deleted. It cannot be undone, so pass dryRun first to see the observations joined, the relations repointed and the name that disappears; find_duplicates proposes pairs that look like the same thing. |
| delete_entitiesA | Delete multiple entities and their associated relations from the knowledge graph. Unknown names are ignored rather than failing, and the message reports how many were deleted and which were not found. The deletion also removes the entity's observations and its incident relations, and it is durable: a tombstone beats a concurrent write from another machine. |
| delete_observationsA | Delete specific observations from entities in the knowledge graph. Deletion is by content: every occurrence of that content on the entity goes. A batch is not all-or-nothing — the message reports how many were deleted and names the entities that were not found. To replace a content in place use update_observations; to remove the whole entity use delete_entities. |
| delete_relationsA | Delete multiple relations from the knowledge graph. A relation is matched by its from, to and relationType; one that matches nothing is ignored, and the message reports how many of the requested relations were deleted. Deleting an entity removes its incident relations with it, so this is for dropping one edge while both endpoints stay. |
| read_graphA | Read the knowledge graph, or a page of it: the optional limit and offset take a slice of the entities in name order. Use it for the whole graph; for a query use search_nodes, for names you already know use open_nodes, and for the elements more than one node wrote use read_conflicts. A page carries the relations that touch its entities. To read only what changed since your last visit, use read_changes. |
| search_nodesA | Search for nodes in the knowledge graph based on a query. The query is matched against entity names, types and observation content; entityType narrows to one exact type, and limit/offset page the matches in name order. For the whole graph use read_graph, and for names you already know use open_nodes. For a search written the way a query is spoken, use find_nodes: it matches whole words and ranks the results. |
| open_nodesA | Open specific nodes in the knowledge graph by their names. Names that do not exist are omitted rather than failing, and the result carries every relation touching the entities returned, including relations to entities outside it. Use it when the names are known; for a query use search_nodes, for everything use read_graph. |
| read_conflictsA | Call this when a write may have been superseded by another machine, or before trusting an edit: it lists the elements more than one node has written, with what each node left and when it last touched it, so a last-writer-wins resolution is visible instead of silent. Settle a contested element with resolve_conflict. |
| read_changesA | Read only what changed in a window you choose: the entities touched in it, as they are now, and the names deleted in it. Use it instead of read_graph when you are coming back to a memory you already know — the whole graph for two changed entities costs the context you came to use. The window reaches five minutes further back than you ask, so a change written by a peer with a slightly lagging clock is not lost, and reading the same window twice is harmless. It also returns until, the moment it stopped at, in this node's clock: pass that back as since and the next read continues from there. |
| find_nodesA | Search the graph the way a query is written, not as a literal string: every word must match, a word matches the beginning of a longer one, and the best matches come first. Use it instead of search_nodes when the query is more than one word, or when a word may be spelled differently — ports for port. search_nodes is the literal-substring search and stays for exactly that. A word that matches nothing makes the result empty rather than failing the call. |
| expand_nodesA | Walk out from the entities you name: every entity within depth hops, with the relations that touch them. Use it instead of read_graph to assemble the context around a topic, and instead of open_nodes when the neighbours' content matters as much as the entity you started from. The walk ignores direction, stops on cycles, and skips names that do not exist rather than failing. When limit binds, truncated is true and the farthest entities are the ones left out. |
| resolve_conflictA | Settle an element that more than one machine has written: keep it or drop it with a stamp newer than anything in the log, so the decision wins on every node as the change propagates. Use it after read_conflicts named the element and you have decided how it should stand — re-creating it with the existing tools is not enough, because a write that already exists is skipped, and deleting what is already tombstoned changes nothing. An element that already stands as you ask is left untouched and reported as unchanged, because every write is durable history. An observation needs the entity to exist, and a relation both of its endpoints, exactly as when they were created. |
| find_duplicatesA | Propose pairs of entities that may be the same thing, so merge_entities can be used on a pair you would not have noticed. With by: "name" the names are compared after case, spacing, punctuation and a known suffix such as .service are normalised, and overlapping observations raise the score; with by: "content" the observations are compared instead, which is how one fact written twice under two names is found. It is read-only. A score is a hint, not a verdict: read both entities before merging them. |
| read_historyA | Show what wrote an entity and when: the operations that touched it, newest first, with their timestamp, node and kind. Use it to tell a fact confirmed yesterday from one nobody has touched in months, which no other tool answers — read_conflicts covers only contested elements, and the graph itself carries no dates. For the current state use open_nodes; for what changed in a window use read_changes. |
| set_observationsA | Keep one fact current: write key: value on an entity, replacing every observation that key already holds, so a drifted twin cannot survive. Use it instead of update_observations when the value changes over time — a version, a status — and you should not have to remember its previous text. An observation belongs to a key when it is exactly the key or starts with the key, a colon and a space, and a key may not itself contain a colon followed by a space. A missing entity fails as add_observations does: create it with create_entities first. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| knowledge-graph | The full knowledge graph with all entities and relations |
| changes | What moved in the last five minutes: the same body as read_changes, the window it used included |
TDQS
Scored across 21 tools
The dense cluster of read tools (search_nodes, find_nodes, open_nodes, expand_nodes, read_graph, read_changes) is genuinely overlapping territory, but every description explicitly tells the agent which sibling to use instead and why, which resolves most misselection risk. Similarly, add/update/set/delete_observations are carefully distinguished by intent (replace in place vs. keyed upsert vs. append). Only minor confusion remains, e.g. 'search' vs 'find' which differ subtly in matching semantics.
Every tool follows a clean verb_noun snake_case pattern (create_entities, delete_relations, update_observations, read_graph, find_duplicates), with consistent pluralization across the entity/relation/observation families. No camelCase or stylistic mixing.
21 tools is heavy for a knowledge-graph memory server, with six read variants and four observation-mutation tools. Each has a defensible niche in a distributed, conflict-aware store, but the surface is broad enough that an agent must spend real context choosing tools rather than doing work.
Coverage is strong: full create/read/update/delete for entities, relations and observations, plus merge, dedupe detection, history, change feeds and conflict listing/resolution — a complete lifecycle for a multi-writer graph. Minor gaps exist around bulk/graph-level deletion or export, but core workflows have no dead ends.