MCP Hub
Back to servers

agent-recall-mcp

Validated

AI session memory with Think-Execute-Reflect quality loops — give your agent a brain that survives every session

npm407/wk
Stars
1
Tools
9
Updated
Mar 30, 2026
Validated
Apr 7, 2026
Validation Details

Duration: 7.7s

Server: agent-recall v2.1.0

Quick Install

npx -y agent-recall-mcp

AgentRecall — The Intelligent Distance Protocol

Minimize information loss between human and AI — across every session, every agent, every project. Not a memory tool. A communication protocol. The gap between human and AI cognition is structural — AgentRecall designs around it.

Version License Protocol MCP npm


The Problem

The obvious problem: AI agents forget everything between sessions. Cold-start amnesia costs 2,000–5,000 tokens per session.

The real problem: Humans and AI misunderstand each other — structurally, repeatedly, expensively. Humans contradict themselves, communicate in fragments, say "make it better" when they mean 10 different things. AI interprets literally and builds the wrong thing with perfect confidence.

Memory solves forgetting. AgentRecall solves misunderstanding.


Three Pillars

PillarWhatWhy
Goal AlignmentAgents have full freedom in HOW. Protocol ensures WHAT.Don't prescribe methods — clarify the destination.
Structured MemoryL1 (working) → L2 (episodic) → L3 (semantic synthesis)Writing journals isn't enough. Agents must synthesize and detect contradictions.
Misunderstanding DetectionConfidence checks, nudge on human inconsistency, feedback loopMost protocols prevent misunderstanding. This one also detects it.

Read the full protocol spec →


Quick Start

MCP Server (any agent)

# Claude Code
claude mcp add agent-recall -- npx -y agent-recall-mcp

# Cursor — .cursor/mcp.json
{ "mcpServers": { "agent-recall": { "command": "npx", "args": ["-y", "agent-recall-mcp"] } } }

# VS Code — .vscode/mcp.json
{ "servers": { "agent-recall": { "command": "npx", "args": ["-y", "agent-recall-mcp"] } } }

Skill (Claude Code)

mkdir -p ~/.claude/skills/agent-recall
curl -o ~/.claude/skills/agent-recall/SKILL.md \
  https://raw.githubusercontent.com/Goldentrii/AgentRecall/main/SKILL.md

Say "save" to journal. Say "read the latest journal" to resume.


9 MCP Tools

ToolPurpose
journal_readRead entry by date or "latest". Filter by section.
journal_writeWrite or update journal content
journal_captureLightweight L1 Q&A capture
journal_listList recent entries
journal_searchFull-text search across history
journal_projectsList all tracked projects
alignment_checkRecord confidence + understanding + human corrections
nudgeSurface contradiction between current and past input
context_synthesizeL3 synthesis: patterns, contradictions, goal evolution

How Alignment Detection Works

When an agent isn't sure it understands:

ALIGNMENT CHECK:
- Goal: Build a REST API for user management
- Confidence: medium
- Assumptions: PostgreSQL, no auth yet, CRUD only
- Unclear: Should this include role-based access?

Human confirms or corrects. The delta is logged. Over time, patterns reveal where misunderstanding is most likely.

How Nudge Protocol Works

When the agent detects the human contradicts a prior decision:

NUDGE:
- You decided Clerk for auth on March 25.
- Now you're asking for custom auth from scratch.
- Has the goal changed, or should we stick with Clerk?

Not the agent being difficult — it's helping the human clarify their own thinking.


Three-Layer Memory

L1: Working Memory    [per-turn, ~50 tokens]    "What happened"
    ↓ synthesized into
L2: Episodic Memory   [daily journal, ~800 tok]  "What it means"
    ↓ synthesized into
L3: Semantic Memory   [cross-session, ~200 tok]  "What's true across sessions"
    (contradiction detection + goal evolution tracking)

Supported Agents

AgentSkillMCPProtocol
Claude Code
Cursor
VS Code Copilot
Windsurf
Claude Desktop
Any MCP agent
Any AI agent✅ (manual)

Real Results

Validated over 20+ sessions across production projects:

  • Cold-start: 5 min → 2 seconds
  • Decision history: 0% → 100% retained
  • Misunderstanding caught before wrong work: 4 instances in first week
  • Quality loop caught 4 code review gaps that would have shipped

Contributing

  1. Use the protocol for a week → report
  2. Implement it in a new agent → PR welcome
  3. Improve the specprotocol doc

License

MIT — Concept & Design: Tongwu

Reviews

No reviews yet

Sign in to write a review