Server data from the Official MCP Registry
Persistent memory for MCP-compatible agents: memory bank, fact cortex, dreams, graph.
About
Persistent memory for MCP-compatible agents: memory bank, fact cortex, dreams, graph.
Security Report
The visible code (README, pyproject, Cargo manifests, and the Rust shim lib.rs) shows no malicious patterns, hardcoded secrets, or shell injection, and dependencies are pinned to reputable packages. The main concerns are that the installer can auto-approve agent session hooks and edit agent configuration files, and that the shown source is truncated, so the full auth, network, and process-spawn paths could not be verified. Supply chain analysis found 16 known vulnerabilities in dependencies (4 critical, 8 high severity). Package verification found 1 issue.
9 files analyzed · 21 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"pseudolife-mcp": {
"command": "uvx",
"args": [
"pseudolife-mcp==0.27.0"
]
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
Pseudolife-MCP
简体中文 · 日本語 · 한국어 · Português (BR) · Español
Persistent long-term memory for Claude Code, Codex, and other MCP clients.
An MCP server that gives coding agents a long-term memory that persists across sessions — surviving context compactions and fresh tasks. Your coding agent is the intelligence; this server is its memory on disk.

What you get:
- Associative memory with honest forgetting — a flat similarity store ranked by hybrid dense-plus-lexical retrieval, with conflict detection that admits potential updates while preserving earlier source notes; whole-note replacement is explicit. (The measured verdict: a preregistered ablation campaign found the previous 8-band continuum tied a flat store on every gate, so the simpler structure ships; the continuum remains one config line away.)
- Canonical facts, not vibes — one current value per
entity.attributeslot (or a member set, for slots that hold many concurrent values); corrections supersede rather than silently overwrite, and the full version history survives. - Dreams — a bundled local extractor, or any OpenAI-compatible endpoint (a Claude model on your Max plan, a GPT-5.6 model on a ChatGPT plan, LM Studio, Ollama, vLLM), consolidates the memory stream into facts and a knowledge graph while you're not looking.
- Lessons from its own work — successes, dead-ends, and your corrections become do/avoid guidance surfaced at the start of every session.
- A web console to watch it think — the Cortex Console above, plus cited world facts, session episodes, and document RAG.
These LongMemEval and BEAM numbers were measured on the Python engine.
Measured, with receipts — the full 500-question LongMemEval sweep, all six question types, and every number ships with its committed run artifact:
| LongMemEval oracle, 500 questions | naive RAG | commit-gated cascade |
|---|---|---|
| accuracy, all six question types | 0.688 | 0.690 |
| context tokens per question | ~1210 | ~883 |
| knowledge-update slice (78 of the 500) | 0.859 |
Equal accuracy to naive RAG across the whole benchmark on ~73% of the
context, and better calibrated about what it does not know: on BEAM-100K's
abstention questions the fact spine scores 0.950 against naive RAG's
0.775, unchanged under two independent judges. Read that as calibration,
not recall — in the budget-matched five-arm run of 2026-09-02 (rag 0.725 there;
one replicate, local judge) an arm served no memory at all scores 1.000 on
the same questions, because refusing is the right answer there and an
empty context always refuses. The fact spine loses where an answer has to
be aggregated across sessions. The second claim to survive a judge swap is
a win rather than a wash: re-run on 2026-09-04 with the hybrid arm
budget-matched to the control at 6 turns, the same 500 questions give
hybrid 0.730 against naive RAG's 0.690 under the local judge and
0.736 against 0.694 under claude-opus-5 — paired +0.040 / +0.042,
p 0.015 / 0.013 — bought with more context, ~1229 tokens against the
control's ~1124, not less, and carried mostly by temporal-reasoning
questions. Graded by a local, byte-reproducible judge (the cross-judge check
names its second judge) — compare within rows, never against GPT-judged
leaderboards.
Retired 2026-08-25 (#188): the 0.936 knowledge-update headline. It was measured on the 2026-07-30 bench stack (Qwen3.6-27B answerer and judge). Re-running the same 78 questions after the 2026-08-17 migration to Qwen3.8-27B puts the cascade at 0.846, below the naive-RAG control — which lands on 0.859 on both stacks. The cascade serves the fact-spine answer unless that channel says "I don't know", so it measures the answerer's abstention behaviour as much as the memory: 32/78 abstentions at 46/46 commit precision on the old stack, 22/78 at 0.839 on the new one. The 500-question table above is on the older judge and has not been re-judged, so read its cascade row as an upper bound.
Full tables, the per-type breakdown, both stacks side by side, and every artifact: Benchmarks.
Quickstart
The installer is the recommended route. It sets up a Docker bank with the
dream extractor you choose (the bundled local sidecar by default) and wires
your coding agents through the native pseudolife-mcp client, which needs no
host Python (where it cannot serve the machine, the installer refuses before
it changes anything and names the fix):
git clone https://github.com/Pseudogiant-xr/Pseudolife-MCP.git
cd Pseudolife-MCP
# Check out the newest release (master can be ahead of it):
git checkout "$(git tag --list 'v[0-9]*' --sort=-v:refname | head -n 1)" # Linux / macOS
git checkout (git tag --list 'v[0-9]*' --sort=-v:refname | Select-Object -First 1) # Windows
ops/install.sh # Linux / macOS
ops\install.ps1 # Windows (pwsh 7+)
What it asks and what it sets up: Durable tier — Docker.
Then in your coding agent: "remember that my staging box is haze-02" →
the agent calls memory_store; next session, "which box is staging?" →
memory_search finds it. Browse everything at the Cortex Console:
http://127.0.0.1:8765/ui/.
An existing lite bank
The lite tier (the pip package with an embedded PostgreSQL bank and no Docker) is retired: there are no new lite installs, the installer refuses a machine that still holds a lite bank, and the native client does not open one. Move that bank to the Docker tier with Move a lite bank to Docker, which backs the stopped bank up with the pip release that still opens it and restores it into the new Docker bank.
Durable tier — Docker (recommended for a long-lived bank)
The bank with the bundled extractor, external volumes, health-checked services, and backup/rollback tooling. Requires Docker (with the compose v2 and buildx plugins) and at least one MCP-capable coding agent — Claude Code, Codex, and Gemini CLI are wired end-to-end; anything else gets paste-ready config (provider matrix). For Portainer, Dockge, Komodo or a plain compose folder, use the supported external-stack path; never hand-flatten the source compose. One command from clone to first memory:
git clone https://github.com/Pseudogiant-xr/Pseudolife-MCP.git
cd Pseudolife-MCP
# Check out the newest release (master can be ahead of it):
git checkout "$(git tag --list 'v[0-9]*' --sort=-v:refname | head -n 1)" # Linux / macOS
git checkout (git tag --list 'v[0-9]*' --sort=-v:refname | Select-Object -First 1) # Windows
ops/install.sh # Linux / macOS
ops\install.ps1 # Windows (pwsh 7+)
# Codex: add --client codex / -Client codex
# Codex defaults to automatic hook-source detection and asks once for approval.
# Unattended hook approval: --codex-hook-trust yes / -CodexHookTrust yes
# Instructions only: --codex-hooks skip --instructions append
# PowerShell equivalent: -CodexHooks skip -Instructions append
# Both: add --client both / -Client both
# Gemini: add --client gemini — or several: --client claude,codex,gemini
# Other MCP agents (Cursor, Windsurf, Zed, ...): --client generic
The installer first asks where the memory bank lives: on this machine
(the default, and everything below), on another machine that already runs
it (a client-only install that asks for the daemon's URL and a pairing code
from pseudolife-mcp invite, or a token), or on
this machine with other machines connecting to it (see
Sharing one bank across machines). It then
asks which agents to wire (multi-select, with a capability
matrix showing exactly what each one gets — session briefing, per-turn
discipline, standing file), runs the preflight (one exact fix line per
missing prerequisite, Docker's compose v2 and buildx plugins included),
then asks which dream extractor should consolidate memories —
- sidecar — the bundled local CPU model; no Claude plan needed, works for everyone, and keeps every memory on the box (~11.8 GB image);
- claude-only — the lightest install: a Claude model via a CLI shim
(
claude-opus-5-5by default since 2026-09-29, when it cleared the extraction-ladder gate againstclaude-opus-5; needs a logged-in Max-planclaudeCLI); the sidecar image is never built or pulled (~11.8 GB lighter; dreams pause while the shim is down); - claude-fallback — the Claude shim primary, the bundled sidecar as automatic fallback (Max-plan CLI plus the ~11.8 GB image);
- openai-only / openai-fallback — the same two shapes on an OpenAI subscription: a GPT-5.6 or GPT-6 model (Terra by default) via the Codex CLI shim on a signed-in ChatGPT plan (extraction quality unmeasured — see the dreaming guide);
- endpoint / endpoint-fallback — any OpenAI-compatible server you name
(
--extractor-url,--model: LM Studio, Ollama, vLLM, a hosted API), alone or with the sidecar as fallback. The earlier namessonnet-*andcodex-*still work as deprecated spellings —
then brings the stack up, installs the selected clients' session hooks
(where the client has a hook system), registers the MCP transport (the
stdio shim by default, with a per-provider writer id; direct HTTP via
--transport http), and health-checks the daemon — finishing with a
per-agent ladder of what got wired and what that agent's platform cannot
support. Codex setup offers one choice to enable automatic memory briefings,
reminders, and session cleanup (plus, where the agent board is on, a board
check-in at session start and a new-mail hint per prompt), use standing
instructions only, or skip.
Automatic setup reuses an enabled PseudoLife plugin or installs the three
lifecycle hooks, backs up configuration, approves only their exact current
definitions, and verifies execution. If verification fails, the same approval
allows the standing memory block as a fallback; setup reports the remaining
repair step. Hook-less providers (Gemini CLI and generic agents) are offered
the standing block. --instructions append always writes the block from examples/CLAUDE.memory.md into
~/.claude/CLAUDE.md / ~/.codex/AGENTS.md / ~/.gemini/GEMINI.md
(useful for subagent visibility even with hooks).
Idempotent — re-run any time; --extractor <mode> switches extractor
setups. See unattended installation for explicit
extractor, client and trust choices.
Without explicit hook approval, unattended setup does not grant trust; use
--codex-hooks skip --instructions append for instructions only. Explicit
--instructions skip prevents fallback edits.
The installer also turns the agent board on: it mints a bearer token in
ops/.env (owner-only, never printed) and gives each shim client it wires an
owner-only token file. Re-running it on an existing install adds that file to
the Claude Code registration in place. The ladder's last line, and
pseudolife-mcp doctor, say whether the board is on or why it is off. At the
end it opens the Console in your browser, signed in (pseudolife-mcp console, which an unattended install names instead of running).
Use doctor --host codex or --host claude-code for a compact coordination
snapshot: reachability, bearer admission, registration evidence, tool inventory
and configured wake are separate. Default doctor is read-only; health and a
configured wake path do not prove delivery. The coordination diagnostic
quickstart
covers saved-instance checks and an explicitly disposable mail proof.
--no-token / -NoToken keeps an open-loopback install with the board
dormant (Turning the board on).
Linux (Docker Engine): your user must be in the docker group —
sudo usermod -aG docker $USER, then log out/in (the preflight checks this).
Membership of the docker group is equivalent to root on that machine:
that is how Docker works, not something Pseudolife adds. To avoid granting
it, run the installer from an account that already uses Docker; rootless
Docker and Podman are not supported yet
(#1642).
Docker Engine also needs the buildx plugin, which Docker Desktop bundles:
the Dockerfiles' RUN --mount caches need BuildKit, and without buildx the
build dies with "the --mount option requires BuildKit". The preflight
fails without it and prints the install line for each distro (Arch: sudo pacman -S docker-buildx; Debian/Ubuntu with Docker's repository or Fedora:
docker-buildx-plugin).
In the Claude and Codex CLI shim extractor modes on Linux, ops/install.sh
also checks that the daemon's container reaches the shim on the host. A
host firewall such as ufw can drop that traffic, and dreams then pause
(or fall back to the sidecar) while the shim itself looks healthy; the
summary marks [!] Extractor shim, and a warning above it names the cause.
When ufw is enabled with a dropping input policy, it names the narrowest rule (sudo ufw allow from <the daemon's network> to <docker0 address> port <shim port> proto tcp), and --firewall-rule ask|yes|no (default ask) decides whether to add it: ask offers it once
at a terminal, defaulting to no, and probes again once the rule is added; an unattended run
changes no firewall unless given --firewall-rule yes, and prints the
command instead. ops/install.ps1 has no equivalent: the check and the
flag are Linux-only.
Unattended install
For an agent or script, select unattended mode explicitly:
ops/install.sh --yes
# Windows (pwsh 7+):
# ops/install.ps1 -Yes
--yes / -Yes, PSEUDOLIFE_UNATTENDED=1, and no terminal on stdin all
select the same no-prompt behavior. A pseudo-terminal does not identify an
agent: set that environment variable or pass the flag when no person can
answer. The header says "Unattended install", and each default choice is
reported. These options take documented defaults; they do not grant consent
to optional firewall, exposure, hook trust or scheduled jobs.
A fresh local install uses the CPU sidecar by default; override it with
--extractor / -Extractor. A client-only install has no extractor choice.
Reruns reuse the installer choices recorded in ops/.env; explicit flags
override them. They preserve unchanged managed files and shim runtimes, and
skip Docker startup/build when the checkout, configuration and running images
match the last healthy install. Stopped containers use existing images.
Older endpoint and CLI-shim configurations are recovered from their managed
settings and shim autostart records. If an older local endpoint named
extractor has no record identifying its family, repeat its original
extractor flags once; the installer preserves the configuration instead of
guessing a CLI family from the port.
Docker reruns also check stack ownership, recorded volumes, credentials and
ports before changing anything; --yes does not bypass these refusals.
Use the installer recovery table
when preflight stops.
Omitted --client / -Client selects installed Claude, Codex and Gemini
CLIs, or generic when none are found. Explicit client flags override this.
For an existing remote bank, use --client-only --daemon-url <url> with
--token-file <existing-path> or --pairing-code <code> (PowerShell:
-ClientOnly, -DaemonUrl, -TokenFile, -PairingCode). To create a new
private token file, use --token-file <new-path> --read-token and supply
the token through stdin; PowerShell uses -TokenFile <new-path> -ReadToken
with the same stdin requirement. An unattended run refuses terminal token
input instead of waiting for it.
Unattended runs keep existing legacy hooks. Codex hooks receive no trust
without --codex-hook-trust yes / -CodexHookTrust yes; choose
--codex-hooks skip --instructions append for standing instructions.
Gemini and generic clients take their standing-instruction prompt's Enter
default (append to ~/.gemini/GEMINI.md or ~/AGENTS.md); use
--instructions skip / -Instructions skip to skip that choice.
An ask firewall rule or client-update schedule is skipped with the
finishing command. On Linux, --firewall-rule yes authorizes that rule;
client-only --client-update-schedule yes|HH:MM opts into its timer.
The Console is not opened; the summary prints pseudolife-mcp console.
The installer has no guided tunnel setup: --tunnel / -Tunnel is refused
before the host changes, and the refusal prints the native tunnel commands to
run after the install. See Tunnels.
Image sizes, the Windows WSL2 memory cap, and what the installer automates: the containerized install below.
ops/preflight-native.sh --client codex # or ops\preflight-native.ps1 -Client codex
# Start Postgres and the Rust daemon from the prebuilt images: follow the
# fresh-host steps of "Running under Portainer or another stack manager"
# (docs/guide/install-and-move.md). They create the two volumes, an .env
# with the bank password and the bearer token (client.token), and start
# the self-contained docker-compose.stack.yml.
# Verify, then wire the transport into one or both clients. The daemon
# requires that bearer: give these registrations the token, as the
# guide's "Deploy and connect clients" does.
curl http://127.0.0.1:8765/health
# Stdio shim (per-session episode identity). `pseudolife-mcp` here is the
# native client, which the installer sets up (no host Python; a client-only
# install sets up just the client); there is no package to pip install.
# PSEUDOLIFE_MCP_NO_SPAWN=1 makes the shim wait for the container: it then
# starts no daemon, even one PSEUDOLIFE_MCP_SERVE_COMMAND names; set it on
# Docker-tier registrations like these.
claude mcp add --scope user pseudolife-memory --env PSEUDOLIFE_MCP_NO_SPAWN=1 -- pseudolife-mcp
codex mcp add pseudolife-memory --env PSEUDOLIFE_MCP_NO_SPAWN=1 -- pseudolife-mcp
# ...or direct HTTP (no client install needed; fine for single-session setups):
claude mcp add --transport http --scope user pseudolife-memory http://127.0.0.1:8765/mcp
codex mcp add pseudolife-memory --url http://127.0.0.1:8765/mcp
# Reinforce the protocol-level memory loop with a global standing instruction:
cat examples/CLAUDE.memory.md >> ~/.claude/CLAUDE.md
cat examples/CLAUDE.memory.md >> ~/.codex/AGENTS.md
# (PowerShell: Add-Content "$env:USERPROFILE\.claude\CLAUDE.md" (Get-Content examples\CLAUDE.memory.md -Raw))
Optional knobs live in ops/.env (cp ops/.env.example ops/.env — the
install/update scripts scaffold it too; every value is commented, a missing
file runs entirely on defaults).
What this is
A memory engine exposed over MCP. There's no chat UI and no LLM doing the thinking — your coding agent is the intelligence; these are tools it calls to store and recall what matters. (Models are bundled as plumbing: embedding weights for retrieval, downloaded once by the Rust daemon, and the optional CPU extractor sidecar that consolidates memories into facts while you sleep.)
Where it sits among the common approaches to agent memory — each column is a fair tool for what it's for; this table is about what question each one answers, not who's wrong:
notes file (CLAUDE.md) | auto-journaling plugin | plain vector store | Pseudolife-MCP | |
|---|---|---|---|---|
| Survives sessions and compactions | yes | yes | yes | yes |
| "What is X now?" has one current answer | if you curate it | no — replays what happened | no — every stored version competes at recall | yes — slot-keyed cortex |
| A canonical-fact correction replaces the old value | you edit the file | appended beside it | old and new both retrievable, unranked by recency of truth | cortex supersedes, with full version history kept |
| Facts know their age and go stale | no | no | no | dated, freshness-decayed, quarantined when stale |
| Distils do/avoid lessons from its own outcomes | no | no | no | yes |
| Benchmark numbers ship with their raw run artifacts | — | typically no | typically no | every published number, test-enforced |
Auto-journaling records what the agent did; Pseudolife curates what it learned. Both are useful — they answer different questions. Named alternatives — Mem0, Zep/Graphiti, Letta, Cognee, memU, Memori — and the cases where one of them is the better pick: Comparison.
It layers several complementary stores: the associative store (a flat
embedding store ranked by cosine similarity fused with a BM25 lexical pool
(on by default), with conflict-aware admission and explicit source-note
replacement; an 8-tier
banded layout is available as an opt-in preset); the cortex (slot-keyed canonical facts — one current
value per entity.attribute, or a member set for set-valued slots — with
provenance tiers and contender parking instead of silent overwrites); a typed knowledge graph over those facts
with a closed relation vocabulary and on-read inference; the world
cortex (durable cited facts about external reality, age-decayed trust);
procedural lessons learned from the agent's own work; and a
reference bank for document RAG, stored in the bank since schema v57. The canonical layers in depth:
the memory model; the graph and multi-hop
recall: retrieval.
State lives in Postgres (the durable source of truth) behind a single long-lived daemon; every session attaches through a thin stdio shim (installer default — per-session identity) or directly over HTTP (single-session setups). The result: Claude can pick up where it left off, correct itself when facts change, and reason over relationships — without you re-explaining context each session.
Documentation
This README is the front door — install, wiring, and the basic loop. The deep material lives in the user guide:
| Page | What's in it |
|---|---|
| Install and move | Installer setup, moving a bank (a lite bank included), and running under Portainer or another stack manager |
| Configuration | Env vars, tuned defaults, toolset tiers, stdio shim, LAN sharing, data layout, backups, schema history |
| Providers | Capability matrix per coding agent, memory instruction layers, AGENTS.md standard, Codex hook setup and verification, writer ids |
| Retrieval | Reranker, BM25 hybrid, abstention floors, ranking-trace debugging, memory_recall, the knowledge graph |
| Dreaming | Extractor tiers, the bundled sidecar, upgrading the extractor, Sonnet-fallback, cadence, deep dream, consolidation |
| Episodes & sessions | Daemon-owned session episodes, the briefing hook, nested sub-episodes, tags |
| The memory model | Cortex slots, provenance contenders, world cortex, lessons, temporal/HLC stamps |
| Benchmarks | LongMemEval results; why extraction quality dominates |
| Comparison | Mem0, Zep/Graphiti, Letta, Cognee, memU, Memori — the axes, and when to use something else |
| Security posture | Memory poisoning (ASI06): every shipped mitigation, and what is not defended |
| Sharing one bank across machines | Exposing the daemon over Tailscale, a LAN or a proxy; per-machine principals; client-only installs |
| Secure MCP Tunnels | Guided ChatGPT developer-app setup, private keys, cloud verification and optional autostart |
| Agent isolation | The test suite's own Postgres login, and running agent sessions under a separate account that cannot reach the bank's keys |
| Coordination recovery | Agent mailboxes, maintainer passkeys and the board's audit log after a database restore |
Plus evals/README.md (full benchmark methodology) and
CONTRIBUTING.
Tools exposed
The surface was consolidated 2026-07-02 (55 → 32 tools; now 38 with
memory_toolset, the set-slot pair and coordination): lifecycle families became verb-dispatched tools
(memory_dream, memory_forget, memory_graph_review), and
dump/introspection views moved to the Cortex Console (REST) — the manifest
is agent context every session, so it stays lean.
| Tool | Purpose |
|---|---|
memory_store(text, source?, tags?, origin?, episode?, authority?, distortion_tolerance?) | Remember one durable fact / decision / observation (canonical facts reach the cortex via the dream pass or memory_fact_set); authority/distortion_tolerance label the speech act and how exactly it must survive — auto (default) is a deterministic form heuristic, no model call, and both labels are inherited through supersession unless restated |
memory_search(query, top_k?, filters..., rerank?, bm25?, explain?, verbose?) | Associative retrieval; canonical cortex facts surface ahead of recall hits, each dated (asserted_at / last_confirmed / human age, plus stale when it has rotted); explain=True attaches a ranking trace |
memory_recent(n?, sources?, episodes?, tags?, verbose?) | Newest stores, timestamp-ordered (debug + session catch-up) |
memory_supersede(old_text?, new_text, entry_id?) | Correct the selected entry by ID, or one unique exact-text match; ambiguous/missing targets fail closed. Keep the old entry as history; derived_flagged names canonical facts built on it (flagged, never rewritten) |
memory_reinstate(entry_id, operation_id, expected_..., evidence_packet_sha256, reviewer_ids, reason) | Reinstate one independently reviewed retired entry under its durable ID; Postgres-only, named-principal, exact-preimage, append-only and idempotent. Refuses any trace invalidation and never confirms derived cortex facts |
memory_forget(scope, ...) | Forget from one store: memory (by text/substring/source/episode/tag — several filters narrow the match, AND across kinds like memory_search; a match over memory.delete_confirm_threshold entries, default 20, is refused with would_delete until the call repeats with confirm_bulk=true) and fact hard-delete; world and lesson (by entity/attribute) retire the slot with an audit row — reversible via memory_graph_review(action="restore_slot") |
memory_stats() | Store occupancy, hit rates, totals |
memory_agents(action, project?, task?, status?, lease?, worktree?, repository_id?, path?, expect?, children?, park_reason?, park_needs?, park_clear_by?, park_resume?, park_expires?, name?) | Experimental peer awareness or update of the caller's registered context, on by default for authenticated installs (coordination); lists peers active within the hour (three hours while holding a lease), each status with its age and a stale flag past two hours, and each row by its session's name (the title Claude Code or Codex shows, else one the agent set with name, else its memory_session_title, else its label and short id; board names), and counts the rest as idle_omitted; update sets project, task, status, expect (seconds until the status is overdue), children (the labels of subagents working under the caller's address, which only read the board; the Claude Code plugin's subagent hooks keep their own entries there, and a Codex subagent's own row carries its parent_agent_id) and the park record (why the session stopped, what clears it, who can, what to do then; a plain status clears it), which every listed row carries; claim/release take or free an advisory lease, or an advisory claim on one exact repository file (worktree + relative path through the stdio shim; a hashed repository_id + path over direct HTTP; no globs, directories or edit enforcement — exact repository file claims); unknown episode scope stays unknown, and activity is not a resource reservation |
memory_message(action, to?, text?, request_id?, reply_to?, after?, message_id?, clears?, urgent?, limit?, peer?, ack?) | Experimental addressed mail: send (needs to, text and a new unique request_id; reuse the id only to retry the identical send after an uncertain result) to one agent (its id, or a unique prefix of 8+ hex characters), to project:<name> or to all (every attached, non-idle peer, at most 50, one request id for the burst, per-recipient receipts), non-destructive receive (with ack=true it also acknowledges the mail it returns, in a compact result), explicit recipient ack (one id or several comma-separated, ids or prefixes), or read-only history of this instance's own retained sent and received mail (limit ≤ 50, optional exact peer id; no delivery, acknowledgement or wake); requires authenticated adapter binding, remains outside memory retrieval, and never grants user approval; a subagent's own address (a Codex subagent) does not send (child_send_refused): its parent does. Each receipt carries the daemon's wake decision (hinted, not_needed, rung, withheld with the parked need, no_path, capped): a parked peer rings only for mail that clears what it declared it needs (or urgent mail), a peer parked done only for urgent mail from the maintainer, the maintainer's conductor for the project (pseudolife-mcp lease conductor) or the park's named clearer, an idle peer that has not parked only for urgent mail; plain mail to it waits for its next turn (park records and wake) |
memory_get(entry_id) / memory_reinforce(entry_id) | Dereference a memory id to its full episode (+ consolidated_into); reinforce it after finding it useful |
memory_fact_get(entity, attribute, verbose?) | The one CURRENT canonical value at a slot (+ parked contenders); on an empty slot returns ranked candidates (same-entity, then similar slots); aged/contested facts carry a ready-made correct_with call (as do memory_search / memory_world_search hits) |
memory_fact_set(entity, attribute, value, origin?, confidence?, episode?, freshness_class?, authority?, distortion_tolerance?) | Assert a canonical fact deliberately (insert / confirm / supersede / contest); freshness_class (auto default) says how fast the slot rots — auto infers it from the entity's kind; authority/distortion_tolerance (auto = deterministic form heuristic, no model call) inherit the slot's labels unless restated |
memory_fact_resolve(entity, attribute, accept) | Settle a contested slot — adopt (true) or discard (false) the contender |
memory_set_add(entity, attribute, member) / memory_set_remove(entity, attribute, member) | Add/confirm or retract one member of a set-valued slot (many concurrent values, e.g. tags — not one NOW value); a scalar there converts to a set one-way on first memory_set_add, except a number-led aggregate scalar ("32", "$1,500"), which is protected — the add parks as a contender instead. Read with memory_fact_get, which returns {kind: "set", members, removed} for these slots |
memory_history(entity, attribute?, as_of?) | With attribute: version timeline at a slot, with writer/temporal stamps; as_of (ISO-8601 or epoch seconds) keeps only the versions written by then. Without: the entity's causal chain — dated fact/entry/edge/lesson events ("what led to X") |
memory_world_set(entity, attribute, value, source_url?, ...) | Assert a cited WORLD fact (external knowledge; age-decayed trust by freshness class) |
memory_world_search(query, top_k?, verbose?) | Search world facts — each carries effective_confidence, a stale flag, and its citation |
memory_outcome(task, outcome, about?, detail?, polarity?, episode?, used_ids?) | Record a procedural outcome signal (success/failure/correction); the dream distils signals into lessons. used_ids names the search hits the work actually turned on — each credits every retrieval_events row in the session window that served it with a retrieval_uses label (used_via=outcome), the relevance signal a learned reranker trains on; same session, within use_window_seconds, or nothing is credited |
memory_lesson_search(query, top_k?, verbose?) | Recall learned lessons for the task at hand — heed polarity - dead-ends; re_verify flags lessons whose subject facts changed since |
memory_dream(action, limit?, commit_token?, apply?, snippets?, run_id?) | Drive the dream: status / pull / commit / run (server-side extractor) / runs (audit trail of recent passes) / rollback (revert the latest committed pass from its pre-image journal) / deep (full-corpus graph consolidation; dry-run unless apply, which snapshots the graph tables first; snippets=false omits candidate evidence; responses carry evidence-enriched merge_proposals for near-duplicate triage, with long lists capped and their full counts under truncated) |
memory_graph_review(action, proposal_id?, proposal_ids?, proposals?, scope?, src?, dst?, relation?, store?) | Work the review queue: list / propose / relate (link a pair and dismiss its duplicate proposal in one call) / dismiss_pair / dismiss_slot_pair / restore_slot / accept_link / reject_link / accept_merge / accept_junk / reject_entity (merge/entity decisions are audit-stamped decided_by=agent over MCP, human via Console); list takes scope=<memory source> (the project scope of the Console's Graph and Review views) to keep only analyzer findings whose entities carry that source — queued proposals (proposed_link / merge_candidate / junk_candidate) always list; omit or "all" for everything; it is not a finding-kind filter; proposal_ids settles many id-actions in one call; restore_slot undoes a memory_forget(scope="lesson"/"world") retirement — store + the retired entity|attribute key in src (or a bare entity to restore every retired aspect). In the slot keys restore_slot and dismiss_slot_pair take, a literal | inside an entity or attribute is spelled %7C; the one bare | joins the two halves, and a key with more than one bare | is refused |
memory_session_title(title, episode?) | Name THIS session's auto-opened episode (default titles are generic); episode is your session handle from the briefing — concurrent sessions share one HTTP connection, so pass it to land the rename on your own episode |
memory_episode_start(title, hint?, episode?) / memory_episode_end(episode?) | Open/close a nested sub-episode for a substantial task; entries stored while open carry its id; episode is your session handle so the nest/pop lands in your own tree when several sessions run concurrently |
memory_episode_summary(id) | Stats + tag/source distribution + recent entries within an episode |
memory_consolidation_candidates(query?, episode?, ...) | Cluster near-duplicate memories ripe for consolidation |
memory_consolidate(replaces?, new_text, source?, tags?, entry_ids?) | Replace selected entries with one canonical note; validate every ID (or unique exact text) before any changes |
memory_graph_relate(src, relation, dst, ...) | Assert a typed edge (closed relation vocabulary; re-assertion bumps confidence) |
memory_graph_unrelate(src, relation, dst) | Retract an edge (superseded, kept for audit) |
memory_alias(entity, alias) | Bind an alternative name — lookups resolve aliases first |
memory_graph(entity, depth?, include_facts?, to?, relation_filter?) | Entity neighborhood (≤3 hops) with derived transitive/inverse edges and per-edge EXTRACTED/INFERRED/AMBIGUOUS provenance tags; to returns the shortest path between two entities |
memory_recall(query, hops?, top_k?, verbose?) | Multi-hop retrieval for relational questions; low_confidence: true → fall back to memory_search |
memory_relation_define(name, description, ...) | Grow the closed relation vocabulary (deliberate, rare act) |
document_ingest(path, source?) | Index a file (txt/md/pdf/html) from the daemon's documents directory (Docker: ~/.pseudolife-mcp/documents, passed as /documents/<name>) verbatim in the reference bank — the lossless complement to agent-side distillation (division of labor) |
document_search(query, top_k?) | RAG search over the reference bank only |
memory_toolset(action) | Check or change this principal's visibility tier: status / expand / collapse |
Each tool returns plain JSON. See the daemon's tool catalogue,
rust/daemon/src/mcp/tools.jsonl, for the descriptions — those are what
Claude reads to decide when to call which tool.
The five recall-path tools return compact entries by default (result
payloads are agent context on every retrieval; search and recent entries
keep their write date), and memory_fact_get likewise drops bookkeeping
keys from its record; pass verbose=true for full metadata. Full-table dumps and topology views live in the Cortex Console
(/api/*) and the pseudolife-mcp briefing CLI.
Toolset tiers. Three visibility tiers — minimal (10 tools), core
(24), full (38) — filtered per principal at
tools/list; a principal (the named bearer-token identity, or the writer
id for single-token installs) steps its own tier up or down with
memory_toolset before calling a hidden tool. Defaults, per-client mapping, and weak-model
deployments:
Configuration — toolset tiers.
Architecture
One memory daemon owns the bank and serves MCP over streamable HTTP
at /mcp; every Claude Code session (and any LAN agent) attaches to it.
Postgres 18 + pgvector (in Docker) is the durable source of
truth —
the in-memory store is a write-through cache hydrated at startup
(the CMS counters live in the bank too, in cms_counters since schema
v57; there are no MLP weights).
The daemon runs in Docker. Claude Code attaches through a thin torch-free stdio shim (the installer default — per-session identity, needed for concurrent sessions) or directly over HTTP (simpler for a single session):
Documentation truncated — see the full README on GitHub.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
