What's New
This release adds a new optional conversation_id parameter to memory_store (MCP tool) and POST /api/memories (REST endpoint), enabling incremental saves from the same conversation without being blocked by semantic deduplication.
Added
conversation_idparameter formemory_storeand REST API (#463): Passconversation_idwhen storing memories from the same conversation to allow incremental saves without being blocked by semantic deduplication. Exact hash deduplication is always enforced. Theconversation_idis stored in memory metadata for future retrieval/grouping. Applies to both the MCPmemory_storetool and thePOST /api/memoriesREST endpoint.
Fixed
- CI: update hash assertion in integration test:
test_store_memory_successwas asserting"..." in text(truncated hash), but commit978af00intentionally changed responses to show the full 64-character content hash. Updated assertion to match the full 64-character content hash pattern to reflect current behaviour.
Files Changed
src/mcp_memory_service/storage/base.py-skip_semantic_dedup: bool = Falseon abstractstore()src/mcp_memory_service/storage/sqlite_vec.py- honours the flagsrc/mcp_memory_service/storage/cloudflare.py- accepts flag (interface compatibility)src/mcp_memory_service/storage/hybrid.py- forwards flag to primary backendsrc/mcp_memory_service/services/memory_service.py-conversation_idparam + metadata storagesrc/mcp_memory_service/server/handlers/memory.py- extractsconversation_idfrom MCP argumentssrc/mcp_memory_service/server_impl.py- addsconversation_idto tool inputSchemasrc/mcp_memory_service/web/api/memories.py- addsconversation_idto REST request model- 3 new tests
Upgrade
pip install --upgrade mcp-memory-service
# or
uv add mcp-memory-service@10.14.0Full Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md