github doobidoo/mcp-memory-service v8.46.2
v8.46.2 - Session-Start Hook Crash Fix + Hook Installer Improvements

latest releases: v10.26.5, v10.26.4, v10.26.3...
3 months ago

Session-Start Hook Crash Fix + Hook Installer Improvements

This patch release fixes two critical issues affecting the hooks system: session-start hook crashes and confusing installer warnings.

Fixed

Session-Start Hook Crash

  • Added missing queryMemoriesByTagsAndTime() function to HTTP memory client
  • Hook was calling undefined function, causing "is not a function" error on session start
  • Implemented client-side tag filtering on time-based search results
  • Works with both HTTP and MCP protocols
  • Enables users to use session-start hooks without crashes

Hook Installer Warnings Eliminated

  • Removed confusing package import warnings during installation
  • Created _version.py to isolate version metadata from main package
  • Updated install_hooks.py to read version from pyproject.toml (avoids heavy imports)
  • Warnings appeared because importing mcp_memory_service loaded sqlite-vec/sentence_transformers dependencies
  • Provides clean installation experience without misleading warnings

Technical Details

Root Causes:

  • Session-start: memory-client.js missing function implementation for combined tag+time queries
  • Installer warnings: Hook installer imported main package for version detection, triggering model initialization warnings

Impact:

  • Fixes apply to all platforms (Windows, macOS, Linux)
  • Improves user experience during hook installation and session initialization

Installation

# PyPI (recommended)
pip install --upgrade mcp-memory-service

# Or with uv (faster)
uv pip install --upgrade mcp-memory-service

# From source
git clone https://github.com/doobidoo/mcp-memory-service.git
cd mcp-memory-service
git checkout v8.46.2
python install.py

Verification

# Verify version
python -c "from mcp_memory_service import __version__; print(__version__)"
# Should output: 8.46.2

# Test session-start hook (should not crash)
# Start Claude Code and check for session initialization

# Test hook installer (should show no warnings)
cd claude-hooks && python install_hooks.py --natural-triggers

Full Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md#8462---2025-12-06

🤖 Generated with Claude Code

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

NewReleases is sending notifications on new releases.