1. Conduid
  2. Communication
  3. AgentRecall MCP
MCP server · Communication

AgentRecall MCP

Correction-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.

Unclaimed MIT comms
75Good

Scored 21 hours ago · breakdown

About AgentRecall MCP

AgentRecall MCP is an MCP server published by Goldentrii in the Communication category: correction-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only. Conduid read 38 tools from its source: alignment_check, awareness_update, check, check_action, context_synthesize, digest and 32 more. It is published to npm as agent-recall-mcp and starts with npx.

The Goldentrii/AgentRecall-X monorepo this package is published from has 376 stars and 58 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v3.6.0 (28 Nov 2026). It follows v3.5.4 (21 Nov 2026), and the 5 most recent releases go back to v3.5.1 (12 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include comms.

Install

Claude Code
claude mcp add agentrecall-mcp -- npx -y agent-recall-mcp
npx
npx -y agent-recall-mcp
From source
git clone https://github.com/Goldentrii/AgentRecall-X

Tools (38)

alignment_checkRecord what the agent understood, its confidence, and any human correction. Measures the Intelligent Distance gap.
ParameterTypeDescription
assumptionsarrayWhat agent assumed
categorystring
confidence *stringAgent's confidence
deltastringThe gap, or 'none'
goal *stringAgent's understanding of the goal
human_correctionstringHuman's correction or 'confirmed'
unclearstringWhat agent is unsure about
awareness_updateAdd insights to the awareness system. Call at end of session. New insights are merged with existing ones (strengthening confirmed patterns) or added (demoting least-relevant if over 20). Also updates the cross-project insights index.
ParameterTypeDescription
blind_spotsarrayWhat might matter but hasn't been explored?
identitystringUpdate user identity (only on first use or major change)
insightsarrayOne-line insight title
trajectorystringWhere is the work heading? One line.
checkRecords a correction (`human_correction: {rule, why, applies_when}`; staged for approval on the hosted server). With `action_description`, matches the plan against known corrections and returns `verdict: "blocked"` when one overrides it
ParameterTypeDescription
action_descriptionstringWhat you're about to DO, one sentence — pass this before publish/deploy/delete/credential/external-send/irreversible-write actions. Returns matching corrections/rules/insights on the result's `action_check` field, with `verdict: "blocked"` when an authoritative correction overrides the plan.
assumptionsarrayKey assumptions you're making.
confidencestringHow confident you are. Defaults to medium.
decision_idstringLink multiple check calls to the same decision. Auto-generated if not provided.
deltastringThe gap between your understanding and reality (or 'none').
evidencearrayWhat was observed
goalstringThe goal or decision question you're checking alignment on. Required for alignment checks; optional when recording a pure decision trail (prior/posterior/evidence).
human_correctionanyLEGACY string form — STAGED to the pending-review store, NOT activated. Prefer the object form.
outcomestringFinal decision result: 'confirmed', 'rejected', 'partial', or free text. Triggers decision trail persistence.
posteriornumberUpdated probability after considering evidence (0-1).
priornumberInitial probability estimate (0-1). Start of Bayesian decision trail.
understandingstringAlias for goal — use when saying 'check my understanding: X'. Provide either goal or understanding.
check_actionCall BEFORE any non-trivial action (publish, push, deploy, schema change, file delete, send message, modify config). Pass a one-sentence description of what you're about to do. Returns matching behavior rules + active corrections + high-salience insights — a short list of memory items that would otherwise be re-derived or forgotten. Deterministic keyword match (no LLM call), runs in <50 ms. If `warning` is non-null, READ IT before acting.
ParameterTypeDescription
action_description *stringWhat you're about to do — one sentence, specific (e.g. 'publish agent-recall-mcp@3.5.0 to npm').
min_overlapnumberMinimum overlapping tokens between action and memory item. Default 2 (signal floor for relevance). Lower to 1 for permissive matching, raise to 3+ for strict.
context_synthesizeGenerate L3 semantic synthesis from recent journals and palace rooms. Use consolidate=true to write synthesis results into palace rooms as consolidated memories.
ParameterTypeDescription
consolidatebooleanWrite synthesis results into palace rooms
entriesnumberNumber of recent entries to analyze
focusstring
include_palacebooleanInclude palace room summaries in synthesis
digestContext cache — store or recall pre-computed analysis results. Use 'store' after expensive operations (subagent explorations, code analysis) to cache the result. Use 'recall' before starting work to check if a cached result already exists (returns excerpts only, 300 chars — use 'read' with the returned id for full content). Use 'read' to get full content of a specific digest. Use 'invalidate' to mark a digest as stale.
ParameterTypeDescription
action *stringOperation to perform.
contentstringFull digest body — markdown (store).
digest_idstringDigest ID (read, invalidate).
globalbooleanStore as cross-project digest (store).
include_globalbooleanInclude cross-project global digests in recall results. Default: true.
include_stalebooleanInclude stale results (recall). Default false.
limitnumberMax results (recall). Default 5.
querystringWhat to search for (recall).
reasonstringWhy invalidating (invalidate).
scopestringWhat this digest covers (store).
source_agentstringAgent that produced this (store).
source_querystringOriginal query/task (store).
titlestringDigest title (store).
ttl_hoursnumberTime-to-live in hours. 0 = never expires. Default 168 (7 days).
journal_archiveMove entries older than N days to cold archive. Keeps a one-line summary per archived entry. Use after a project milestone or when journal count gets too high.
ParameterTypeDescription
older_than_daysnumberArchive entries older than this many days
journal_captureLayer 1: lightweight Q&A capture. Appends to today's log file without loading the full journal.
ParameterTypeDescription
answer *stringThe agent's key answer or decision. Simple: 1-2 sentences. Complex answer with multiple parts (architecture decision, diagnosis, multi-step resolution): 3-5 sentences. Write enough to reconstruct the reasoning, not just the outcome.
palace_roomstringOptional: also capture this Q&A into a palace room
question *stringThe human's question or request. Simple: 1 sentence. Complex technical question: 2-3 sentences is fine.
tagsarrayOptional tags for this entry (e.g. ['decision', 'bug-fix', 'architecture'])
journal_cold_startReturns a palace-first cold-start package. Loads curated palace context (~200 tokens) FIRST, then recent journals. HOT: today + yesterday (full state + brief). WARM: 2-7 days (count only — content already promoted to palace). COLD: older (count only). Designed for minimal context consumption on session start.
journal_listList available journal entries for a project.
ParameterTypeDescription
limitnumberReturn the N most recent entries. 0 = all.
journal_projectsList all projects tracked by agent-recall on this machine.
journal_readRead a journal entry. Returns the full file content for agent cold-start. Use date='latest' for the most recent entry.
ParameterTypeDescription
datestringISO date string YYYY-MM-DD or 'latest'. Defaults to 'latest'. Use 'latest' for most recent entry.
sectionstringWhich section to return. 'brief' returns only the cold-start summary. 'all' returns full file.
journal_rollupCondense old daily journals into weekly summaries. Groups entries by ISO week, synthesizes a summary, archives originals. Prevents journal accumulation — after 30 days you have 4 weekly files instead of 30 daily files. Only processes complete weeks that are 7+ days old with 2+ entries. Use dry_run=true to preview.
ParameterTypeDescription
dry_runbooleanPreview without writing or archiving
min_age_daysnumberOnly roll up weeks where ALL entries are older than this
min_entriesnumberMinimum daily entries in a week to trigger roll-up
journal_searchFull-text search across all journal entries for a project.
ParameterTypeDescription
include_palacebooleanAlso search palace rooms (slower but more comprehensive)
query *stringSearch term (plain text, case-insensitive)
sectionstringLimit search to a specific section type.
journal_stateLayer 1: structured JSON session state. Faster than markdown for cold-start. Read mode: returns today's state as JSON. Write mode: merges new data into state. Use this for agent-to-agent handoffs — no prose parsing needed.
ParameterTypeDescription
action *string'read' returns state, 'write' merges new data
datastringJSON string to merge into state (write mode only)
datestringISO date YYYY-MM-DD or 'latest'
journal_writeAppend content to the current journal entry (creates today's file if absent). Optionally also write to a palace room for cross-referenced persistent memory.
ParameterTypeDescription
content *stringMarkdown content to append or write.
palace_roomstringOptional: also write key content to this palace room (e.g., 'goals', 'architecture')
sectionstringTarget section. If omitted, appends to end of file. 'replace_all' overwrites entire file.
knowledge_readRead lessons from knowledge files. Used before starting work to learn from past mistakes. Can filter by project, category, and search query.
ParameterTypeDescription
categorystringSpecific category, or omit for all categories
querystringSearch term to filter lessons (case-insensitive)
knowledge_writeWrite a structured lesson to the knowledge palace room. Category is now dynamic — any string creates a topic file in the knowledge room. Also writes to legacy knowledge/ dir for backward compatibility.
ParameterTypeDescription
category *stringKnowledge category (any string — creates a topic file in the knowledge room)
fix *stringHow to prevent/fix it
root_cause *stringWhy it happened
severitystringSeverity level of the lesson
title *stringShort title of the lesson
what_happened *stringWhat went wrong or right
nudgeSurface a contradiction between the human's current input and a prior statement/decision. Helps the human clarify their own thinking.
ParameterTypeDescription
categorystring
current_statement *stringWhat the human is saying now
past_statement *stringWhat the human said/decided before (with date if known)
question *stringThe clarifying question to ask
palace_lintHealth check: find stale memories, orphan rooms (no connections), low-salience entries, and missing cross-references. Use fix=true to auto-archive low-salience entries.
ParameterTypeDescription
fixbooleanIf true, auto-archive memories below salience threshold
palace_readRead a room overview or specific topic from the Memory Palace. Returns room content with metadata. Use without room param to list all rooms.
ParameterTypeDescription
roomstringRoom slug (e.g., 'goals', 'architecture'). Omit to list all rooms.
topicstringSpecific topic file within the room (e.g., 'decisions', 'active'). Omit for room README.
palace_searchFull-text search across all palace rooms. Results are ranked by room salience. Optionally filter to a specific room.
ParameterTypeDescription
query *stringSearch term (case-insensitive)
roomstringLimit search to a specific room
palace_walkProgressive context loading for cold-start. identity (~50 tokens) → active (~200) → relevant (~500) → full (~2000). Start at 'identity' and deepen as needed.
ParameterTypeDescription
depthstringHow deep to walk. Start with 'identity' or 'active'.
focusstringFor 'relevant' depth: focus query to match rooms (e.g., 'authentication', 'deployment')
palace_writeWrite a memory to a palace room. Triggers fan-out: cross-references are updated in connected rooms. Use [[wikilinks]] in content to create connections, or pass explicit connections.
ParameterTypeDescription
auto_namebooleanAuto-generate topic name from content when topic is omitted. Default false for backward compat.
connectionsarrayExplicit room connections (e.g., ['goals', 'blockers'])
content *stringMarkdown content to write. Use [[room/topic]] for cross-references.
importancestringMemory importance for salience scoring
room *stringTarget room slug (e.g., 'goals', 'architecture'). Auto-created if doesn't exist.
topicstringTopic file within the room (e.g., 'decisions'). Omit to append to README.
pipeline_closeClose the currently active project phase with the three reflection fields: what_was_hard, how_solved, synthesis (one-sentence reusable lesson). Set status='abandoned' if the phase was given up, 'pivoted' if direction reversed.
ParameterTypeDescription
statusstringFinal phase status. Default 'closed'.
pipeline_currentReturn the full content of the currently active project phase, or null if none is open. Use to ground an agent in 'where the project is right now' at the start of a session.
pipeline_listList all project phases (milestones) in order — the project's narrative spine. Returns order, phase name, status, opened/closed timestamps, and synthesis (when closed).
pipeline_openOpen a new project phase (milestone) in the project's narrative spine. Each phase captures Goal → What was hard → How solved → Synthesis. If another phase is already active, pass close_previous_with_synthesis to chain-close it.
ParameterTypeDescription
autobooleanMark this phase as auto-drafted (background process). Default false.
pipeline_showRender the project's narrative spine on demand — phase count, day span, sessions, corrections, and a chronological view of all phases (closed + abandoned + active) with goal, what was hard, how solved, and synthesis for the last 3. Lazy reconstruction: reads existing pipeline files + journal stats, no writes, no LLM. Call this when you (or the user) want to see 'where is the project right now?'.
ParameterTypeDescription
detail_last_nnumberRender full 'what was hard' + 'how solved' for the last N phases. Default 3.
recallRanked search across every store (RRF), with `useful` feedback that re-weights future ranking
ParameterTypeDescription
feedbackarrayResult ID from previous recall (preferred).
limitnumberMax results after RRF merge.
query *stringWhat to search for.
sincestringISO date ("2026-05-01") or relative duration ("7d"). Filters journal results.
recall_insightBefore starting a task, recall cross-project insights that apply. Matches your task description against the insights index. Also returns the current awareness summary.
ParameterTypeDescription
context *stringDescribe the current task or situation (1-2 sentences)
include_awarenessbooleanAlso return the awareness.md summary
limitnumberMax insights to return
register_ruleSave a permanent IF-THEN behavior commitment for the project. Unlike insights (semantic facts) and corrections (one-shot rebukes), behavior rules are surfaced at the TOP of every session_start and govern what the agent DOES, not what it knows. Use when the user teaches a permanent behavior policy mid-session — e.g. 'humans often use voice-to-text; reorganize before acting' or 'never bump version numbers unless explicitly asked'. Idempotent: same (name, when, do) tuple returns the existing rule_id.
ParameterTypeDescription
do *stringRequired action — what to do when triggered.
name *stringShort label for the rule (e.g. 'voice-to-text reorganization').
when *stringTrigger condition — when this rule applies.
rememberSaves one fact; auto-routes to journal / palace room / awareness
ParameterTypeDescription
content *stringWhat to remember.
contextstringRouting hint. Values: 'architecture' or 'decision' → palace/architecture room. 'blocker' or 'blocked' → palace/blockers room. 'goal' → palace/goals room. 'lesson' or 'insight' → awareness. 'qa' or 'capture' → Q&A log. Omit for auto-classification. Note: bug/fix/error content previously routed to standalone knowledge/ dir now routes to journal (purity-census-2026-07-05: knowledge/ is write-only, not surfaced by recall or session_start).
session_endWrites the journal, promotes insights, records trajectory, rewrites the project state card (`state`), optionally opens/closes a pipeline phase
ParameterTypeDescription
insightsarrayInsights learned this session.
session_refstringHosted only: the session_ref value from session_start's header line, to save into that same session. Optional; an unknown or expired value is ignored and the save still happens.
summary *stringWhat happened this session. Simple session: 2-3 sentences. Multi-phase session: one paragraph per completed phase (e.g. 'Phase 1 — Name: what happened. Phase 2 — Name: what happened. Decisions: X. Blockers: Y.'). Never compress a multi-phase session to 2 sentences — it makes the journal useless.
trajectorystringWhere is the work heading next.
session_startDefault `mode: "cards"` loads the owner identity card, the HARD RULES and the project state card, nothing else; `mode: "full"` adds insights, continuity, rooms, captures and `watch_for` warnings. `format: "hook"` returns it as Claude Code hook JSON for a `type: "mcp_tool"` hook (hosted server doc)
ParameterTypeDescription
claimbooleanmode='resume' only: take the task (bound to your session by your next hook event).
contextstringOptional context for matching cross-project insights
forcebooleanmode='resume' + claim only: take a task a LIVE agent holds; requires reason. Never use it without the human's say-so.
formatstring'hook' = Claude Code hook JSON for a type:'mcp_tool' hook (docs/hosted-server.md). Agents never set it.
hookEventstringformat='hook' only: pass '${hook_event_name}'. Default UserPromptSubmit.
hookSessionstringformat='hook' only: pass '${session_id}'; later calls in that session return {}.
modestringDefault 'cards' = owner card + HARD RULES (P0s and behaviour policies) + state card + pending-review count, nothing else; 'full' = every section (continuity, insights, rooms, captures, …) and the default when verbose=true; 'lite' = ≤500-token sketch, pull on demand; 'resume' (macOS/Linux) = continue an interrupted task (handoff protocol + VERIFY list + last state).
reasonstringWhy you force the claim (recorded in the lease history).
releasebooleanmode='resume' only: drop the task you claimed (or that was tentatively claimed for you).
sidstringmode='resume' only: resume the task of this interrupted session id.
task_idstringmode='resume' only: the task to resume (from the candidate list).
verbosebooleanSet true to get full JSON context instead of terse summary
session_usage_report[END OF SESSION — read-only, local only] Report how many tokens a Claude Code session used: requests, input, cache write, cache read and output tokens per model and per role (the main session plus every sub-agent it spawned), the cache hit share, and peak and average requests / tokens per minute. Reads only local transcript files; stores nothing and calls no network. INPUTS for Claude Code: transcript_dir = the project's transcript folder, ~/.claude/projects/<encoded-cwd>/ (the working directory with path separators and punctuation replaced by '-'), as an absolute path: /home/me/.claude/projects/-home-me-app on Linux/macOS, C:\Users\me\.claude\projects\C--Users-me-app on Windows; it must be inside ~/.claude/projects (or AGENT_RECALL_TRANSCRIPT_ROOT); session_id = the session UUID, which is the transcript file name without '.jsonl' (e.g. 123e4567-e89b-12d3-a456-426614174000.jsonl in that folder; the newest file is the current session). Sub-agent transcripts under <session_id>/subagents/ are counted automatically, and duplicate API responses are counted once. Rates are OBSERVED from transcript timestamps (per-minute buckets, window = first to last response), not provider rate-limit counters. RETURNS JSON {success, session_id, totals, by_model, by_role_model, cache, rates, files_read, responses_counted, skipped, table, usage}; `format` picks what is included. If skipped.truncated is true the report is PARTIAL (file or depth cap hit): say so. To record it in the journal, pass the result's `usage` field unchanged as `usage` to session_end; never edit or invent it. On failure returns {success:false, error, message, agent_instruction}: follow agent_instruction. Not available on the hosted server.
ParameterTypeDescription
formatstring"both" (default): figures plus a readable text table; "json": figures only; "table": only the text table and `usage`.
session_id *stringSession UUID = the transcript file name without .jsonl, e.g. "123e4567-e89b-12d3-a456-426614174000".
transcript_dir *stringAbsolute path of the Claude Code project transcript folder, e.g. /home/me/.claude/projects/-home-me-app (Linux/macOS) or C:\Users\me\.claude\projects\C--Users-me-app (Windows). Must be inside ~/.claude/projects.
smart_recallSearch ALL memory stores at once — palace, journal, and insights. Returns unified ranked results with source attribution. Use when you want to find something but don't know which store it's in.
ParameterTypeDescription
limitnumberMaximum results to return.
query *stringWhat you're looking for. Natural language or keywords.
smart_rememberSave a memory — the system classifies your content and routes it to the right store (journal, palace, knowledge, or awareness). Just describe what you want to remember. Auto-generates a semantic name for future retrieval.
ParameterTypeDescription
content *stringWhat you want to remember. Can be any length or format.
contextstringOptional hint: 'bug fix', 'architecture decision', 'insight', 'session note'

Security checks

From the Goldentrii/AgentRecall-X monorepo, not this package alone.

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 5.5K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and 2 more.
  • !No dynamic code executionScanned 301 source files and found 1 call to eval or shell execution, in packages/cli/src/index.ts:1304. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdio and Streamable HTTPpackages/mcp-server/src/index.ts:3, packages/mcp-server/src/http/serve.ts:21
Starts other programs
2 callspackages/cli/src/index.ts:1304, packages/cli/src/index.ts:2037
Outbound network calls
15 callsapps/tray/src-tauri/src/lib.rs:34, apps/tray/src-tauri/src/lib.rs:176, apps/tray/src-tauri/src/lib.rs:197
Writes or deletes files
239 callsapps/tray/src-tauri/src/cache.rs:79, apps/tray/src-tauri/src/cache.rs:81, apps/tray/src-tauri/src/cache.rs:82
Lockfile
package-lock.json and 2 more

Pattern matches on the source text of 301 files: places to read, not proof of what the code does at run time.

Releases

From the Goldentrii/AgentRecall-X monorepo.

v3.6.0v3.6.0 · 28 Nov 2026What's Changed feat: cards v1 — owner identity card, project state card, real hook session id by @Goldentrii in https://github.com/Goldentrii/AgentRecall-X/pull/46 feat: cards v2 — slim default session_start (cards mode, shared renderer,…
v3.5.4v3.5.4 · 21 Nov 2026What's Changed feat(site): blueprint home page at /, the film moves to /film by @Goldentrii in https://github.com/Goldentrii/AgentRecall-X/pull/83 fix(core,cli): hook health counts failures against now, not the saved snapshot by…
v3.5.3v3.5.3 · 16 Nov 2026What's Changed feat: cards v1 — owner identity card, project state card, real hook session id by @Goldentrii in https://github.com/Goldentrii/AgentRecall-X/pull/46 feat: cards v2 — slim default session_start (cards mode, shared renderer,…
v3.5.2AgentRecall 3.5.2 · 16 Oct 2026Security + retrieval hardening from the 2026-10-15 rigorous eval (`reports/2026-10-15-rigorous-eval.md`) and two independent reviews (`reports/2026-10-16-review-security.md`, `reports/2026-10-16-review-correctness.md`). All four packages…
v3.5.1v3.5.1 · 12 Oct 2026v3.5.1 Hardening found by the first real `windows-latest` + 2-vCPU CI runs after 3.5.0 (the `v3.5.0` tag does not contain these). All four packages 3.5.1 in lockstep. Fixed Bench home-leak guard no longer false-positives when the checkout…

README

The repository's README runs to about 5.5K words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About AgentRecall MCP

How do I install AgentRecall MCP?

In Claude Code, run claude mcp add agentrecall-mcp -- npx -y agent-recall-mcp. Other MCP clients take the command after "--" in their server configuration.

Is AgentRecall MCP safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 301 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (2 calls), makes outbound network calls (15 calls) and writes or deletes files (239 calls). Its dependencies are pinned by package-lock.json and 2 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is AgentRecall MCP still maintained?

Yes — the latest release in the Goldentrii/AgentRecall-X monorepo is v3.6.0 (28 Nov 2026), and the last commit was 4 hours ago. The Goldentrii/AgentRecall-X monorepo has 376 stars and 26 open issues.

What tools does AgentRecall MCP provide?

Conduid read 38 tools from the source: alignment_check, awareness_update, check, check_action, context_synthesize, digest, journal_archive, journal_capture and 30 more. 34 of them publish their parameters, listed under Tools above.

What license is AgentRecall MCP released under?

The repository declares the MIT license. That applies to the latest release, v3.6.0, as well.