github doobidoo/mcp-memory-service v8.16.1
v8.16.1: Critical MCP Server Handler Fix

latest releases: v10.31.2, v10.31.1, v10.31.0...
5 months ago

Critical Bug Fix

Fixed KeyError: 'message' in MCP server handler that broke all memory store operations.

Fixed

  • Critical Bug: Fixed KeyError: 'message' in MCP server handler (server.py:2118)
    • Issue: #198
    • Root Cause: handle_store_memory() attempted to access non-existent result["message"] key
    • Impact: All memory store operations via MCP server.py handler failed completely
    • Fix: Properly handle MemoryService.store_memory() response format
    • Response Messages: Now include truncated content hash for verification

Added

  • Integration Tests: New test suite for MCP handler methods (tests/integration/test_server_handlers.py)
    • 11 test cases covering success, chunked, and error scenarios
    • Specific regression tests for issue #198

Technical Details

  • Only handle_store_memory() was affected by this bug
  • Fixed code pattern matches the correct pattern in mcp_server.py
  • No breaking changes, only fixes broken functionality

Full Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md#8161---2025-11-02

Don't miss a new mcp-memory-service release

NewReleases is sending notifications on new releases.