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.pyto isolate version metadata from main package - Updated
install_hooks.pyto read version frompyproject.toml(avoids heavy imports) - Warnings appeared because importing
mcp_memory_serviceloaded sqlite-vec/sentence_transformers dependencies - Provides clean installation experience without misleading warnings
Technical Details
Root Causes:
- Session-start:
memory-client.jsmissing 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.pyVerification
# 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-triggersFull Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md#8462---2025-12-06
🤖 Generated with Claude Code