v10.0.0 - Major API Redesign: 64% Tool Consolidation
Overview
The most significant API redesign in MCP Memory Service history - consolidating 34 tools into 12 unified tools for better usability, maintainability, and MCP best practices compliance. While technically maintaining 100% backwards compatibility, this represents a new generation of the API architecture.
Key Achievements
- 64% Tool Reduction: 34 tools → 12 tools with enhanced capabilities
- 100% Backwards Compatibility: All 33 deprecated tools continue working with deprecation warnings
- Zero Breaking Changes: Existing integrations work unchanged until v11.0.0
- Enhanced Capabilities: New unified tools offer combined functionality (e.g., filter by tags + time range)
- Comprehensive Testing: 62 new tests added (100% pass rate, 968 total tests)
- Migration Guide: Complete documentation in
docs/MIGRATION.md
Tool Consolidation Summary
Delete Operations (6 → 1)
delete_memory,delete_by_tag,delete_by_tags,delete_by_all_tags,delete_by_timeframe,delete_before_date- Unified as:
memory_deletewith combined filters (tags + time range + dry_run mode)
Search Operations (6 → 1)
retrieve_memory,recall_memory,recall_by_timeframe,retrieve_with_quality_boost,exact_match_retrieve,debug_retrieve- Unified as:
memory_searchwith modes (semantic/exact/hybrid), quality boost, and time filtering
Consolidation Operations (7 → 1)
consolidate_memories,consolidation_status,consolidation_recommendations,scheduler_status,trigger_consolidation,pause_consolidation,resume_consolidation- Unified as:
memory_consolidatewith action parameter (run/status/recommend/scheduler/pause/resume)
Ingestion Operations (2 → 1)
ingest_document,ingest_directory- Unified as:
memory_ingestwith automatic directory detection
Quality Operations (3 → 1)
rate_memory,get_memory_quality,analyze_quality_distribution- Unified as:
memory_qualitywith action parameter (rate/get/analyze)
Graph Operations (3 → 1)
find_connected_memories,find_shortest_path,get_memory_subgraph- Unified as:
memory_graphwith action parameter (connected/path/subgraph)
Simple Renames (5 tools)
store_memory→memory_storecheck_database_health→memory_healthget_cache_stats→memory_statscleanup_duplicates→memory_cleanupupdate_memory_metadata→memory_update
New Tool
memory_list- Browse memories with pagination (replacessearch_by_tagwith enhanced features)
Deprecation Architecture
New Compatibility Layer: src/mcp_memory_service/server/compat.py (318 lines)
- Centralized
DEPRECATED_TOOLSmapping with migration hints - Automatic warning emission for deprecated tool usage
- Clean delegation to new unified handlers
- Zero performance overhead for new tools
Deprecation Timeline:
- v10.0+: All old tools work with warnings (current release)
- v11.0: Old tools removed (breaking change, date TBD)
Migration Guide
For Existing Users:
- No Action Required: Old tool names continue working
- Optional: Update to new tool names to eliminate deprecation warnings
- Follow Migration Guide:
docs/MIGRATION.mdprovides mapping for all tools - Timeline: Update before v11.0.0 (removal date TBD)
Example Migration:
# Old (v9.x) - Still works in v10.0 with warning
{"tool": "retrieve_memory", "query": "python", "n_results": 5}
# New (v10.0+) - No warnings
{"tool": "memory_search", "query": "python", "limit": 5, "mode": "semantic"}Enhanced Capabilities:
# Old (v9.x) - Required multiple tool calls
delete_by_tags(tags=["temp"]) # First call
delete_by_timeframe(start="2024-01-01") # Second call
# New (v10.0+) - Single unified call
memory_delete(tags=["temp"], after="2024-01-01", tag_match="any")Technical Improvements
Code Quality:
- Reduced API surface area by 64%
- Eliminated duplicate validation logic across 33 handlers
- Improved maintainability with unified error handling
- Better parameter naming consistency
Testing:
- 62 new comprehensive tests covering all tool migrations
- 100% test pass rate maintained (968 total tests)
- Validation of deprecation warnings and parameter transformations
Documentation:
- Complete migration guide with side-by-side examples
- Deprecation warnings with actionable migration hints
- Updated MCP schema with new tool definitions
- CLAUDE.md updated with new tool reference
Installation
PyPI (recommended):
pip install --upgrade mcp-memory-serviceFrom source:
git clone https://github.com/doobidoo/mcp-memory-service.git
cd mcp-memory-service
pip install -e .Breaking Changes
None - this is a backwards-compatible major version. All 33 deprecated tools continue working with warnings.
Related Issues
Contributors
Special thanks to the community for feedback on API design and testing the deprecation layer during development.
Full Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md
Migration Guide: https://github.com/doobidoo/mcp-memory-service/blob/main/docs/MIGRATION.md