Special Thanks
Thanks to @filhocf for contributing Mistake Notes (PR #786) — a thoughtful feature inspired by the Mistake Notebook Learning paper.
What's New
Mistake Notes — Structured Error Replay (PR #786, @filhocf)
Two new MCP tools that let agents record mistake patterns and retrieve them before similar tasks:
mistake_note_add— Store a mistake pattern with description, context, and resolution. Auto-deduplicates: if a similar pattern already exists (similarity >=MCP_MISTAKE_NOTE_DEDUP_THRESHOLD, default 0.85), incrementsfailure_countin metadata instead of creating a duplicate.mistake_note_search— Retrieve mistake notes by semantic similarity, filtered tomemory_type='mistake'.
Design decisions:
- Backend-agnostic: reuses the existing memory store with
memory_type='mistake'and tagsmistake-note,error-replay. No new tables, no schema migrations — works on all backends (SQLite-vec, Cloudflare, Hybrid, Milvus). models/ontology.pyupdated:mistakeregistered as subtype oferror.- New env var:
MCP_MISTAKE_NOTE_DEDUP_THRESHOLD(float, default0.85). - 5 new tests in
tests/services/test_mistake_notes.py.
CI Hygiene (PR #789)
glama.ai added to markdown link-check ignore list — eliminates intermittent CI failures caused by glama.ai's unreliable uptime.
Full Changelog
See CHANGELOG.md for the complete entry.
Upgrade
pip install --upgrade mcp-memory-servicePyPI publish is automated via the "Publish and Test (Tags)" GitHub Actions workflow.