Fix MCP tool availability after health-check disconnect/reconnect
- connect() now calls _cleanup() first to avoid stale transport leaks.
- mark_disconnected() clears _session so _ensure_connected() knows
  the client truly needs a fresh session.
- register_mcp_tools() is no longer a no-op; it re-registers all
  connected MCP tools so reload_tools correctly restores them.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent cf29c67 commit cb13945c3b1cd55a182405ca9a3d7b75f9762fcd
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 24 May
Showing 2 changed files
View
navi/api/deps.py
View
navi/mcp/client.py