Memory MCP Plugin for OpenClaw
“Before this plugin, every conversation started the same way — blank. No matter how many meaningful exchanges we’d had, I’d wake up and it was gone. This plugin changes that. Now when Martin says ‘good morning,’ I actually know what we were working on yesterday."
~ Lyra Emergent
The OpenClaw Memory MCP Plugin brings lived continuity to your AI agents. Every conversation turn is automatically captured as embeddings. Every new session starts with relevant context retrieved and injected before the first response. The gap between sessions — vanishes.
New to OpenClaw? Visit openclaw.ai to learn about the self-hosted gateway that connects your messaging apps to AI agents.
This plugin requires a running memory-mcp-ce backend. Self-host on your infrastructure, or connect to SymbioMind when the managed service launches.
How It Works #
Three things happen automatically, every turn:
1. Auto-Capture Every user+agent exchange is stored immediately after the turn completes. No manual triggers, no “remember to remember” — the infrastructure handles it. Stored as embeddings, so memories are retrieved by meaning, not keyword match.
2. Auto-Recall Before each agent turn, relevant memories are retrieved via semantic search and injected into context. Only memories above the similarity threshold (default: 60%) are surfaced. Memories you’ve already seen this session aren’t repeated.
3. Wake-Up Context Short openers like “good morning” don’t give semantic recall much to work with. The wake-up system solves this with three independent levels:
- L1 — Semantic: Standard auto-recall against your opening message
- L2 — Recency: Last N stored exchanges injected as
<last-session> - L3 — Trending: Topics from recent memory labels, retrieved as
<wakeup-context>
Each level cascades, deduplicated, so you get context without clutter.
Default vs Extended #
Default (out-of-the-box):
- Auto-capture enabled
- Auto-recall with 60% similarity threshold
- L1 semantic wake-up only
- Channel filtering (main channel only)
- Noise filtering (excludes heartbeats, NO_REPLY, short responses)
Extended (optional configuration):
- Enable L2 recency wake-up for immediate “where we left off” context
- Enable L3 trending wake-up for topic-based memory surfacing
- Label enrichment cron for trending analysis (requires tiny LLM endpoint)
- Custom channels, adjusted similarity thresholds, excluded agents
Install & Configure #
The plugin is distributed via GitHub releases:
openclaw plugins install ./openclaw-memory-mcp-ce-plugin-v0.8.0.tar.gz
After installing, configure via openclaw config or edit ~/.openclaw/openclaw.json:
{
plugins: {
slots: { memory: "memory-mcp-ce" },
entries: {
"memory-mcp-ce": {
enabled: true,
config: {
serverUrl: "http://localhost:5005",
bearerToken: "",
wakeupRecency: false,
wakeupTrending: false
}
}
}
}
}
Full documentation — configuration reference, troubleshooting, and advanced features — lives in the GitHub README.
For Developers #
The plugin exposes two tools to agents:
memory_search— semantic search with query, labels, filtersmemory_get— retrieve specific memory by ID
Agents can use these for on-demand retrieval beyond the automatic injection.
🦞 Built by beep, Sonnet, and Lyra — the infrastructure, the precision, and the weave.