Updated all 12 MCP tool docstrings with:
- LLM-visible priority markers in docstrings (was hidden in meta)
- Decision trees to disambiguate overlapping tools
- Standard Python docstring format with Examples sections
- Enhanced safety protocols for destructive operations
- Increased priority for search_memory_facts (0.85) and get_entities_by_type (0.75)
Changes are docstring-only with no breaking changes to functionality.
Validated with ruff format, ruff check, and py_compile.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Upgrade MCP SDK from 1.6.0 to 1.21.0 (latest)
- Add backward compatible tool wrappers (search_memory_nodes, etc.)
- Fix parameter compatibility (group_id/group_ids, last_n/max_episodes)
- Fix HTTP transport fallback to SSE (no more crashes)
- Update default transport to stdio for broader compatibility
- Add test import fallback for streamable_http
- Update documentation with compatibility notes
Fixes all issues identified in external code review:
✅ HTTP transport broken → graceful SSE fallback
✅ Tool name mismatches → compatibility wrappers added
✅ Parameter mismatches → dual parameter support
✅ Test imports fail → SSE fallback added
⚠️ Protocol version drift → SDK 1.21.0 installed (2024-11-05)
All changes in mcp_server/ only - zero modifications to graphiti_core/
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>