Add MCP health check loop, auto-reconnect, and system toast notifications
Backend:
- McpManager: keep all configured servers in the pool even if connect()
  fails at startup; health-check loop (30s) tries to reconnect dead servers
  and verifies live ones with list_tools()
- McpManager: set_on_server_connected callback re-registers tools when a
  dead server comes back online
- McpClient: add mark_disconnected() for silent drop detection
- McpStatusTool: skip list_tools() for disconnected servers
- Orchestrator: broadcast mcp_status_update to all WebSocket sessions
- New event type McpStatusUpdate with server_name, status, tool_count

Webclient:
- useWebSocket: handle mcp_status_update → toast.success/toast.error

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 4c72096 commit be2fc0f1aabf8ce799369ed7ecfe7b59ddabab6c
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 24 May
Showing 10 changed files
View
navi/core/container.py
View
navi/core/events.py
View
navi/core/orchestrator.py
View
navi/mcp/client.py
View
navi/mcp/manager.py
View
navi/tools/mcp_status.py
View
webclient/dist/assets/index-CttbeAnA.js 0 → 100644
Not supported
View
webclient/dist/assets/index-DZv6CdsJ.js 100644 → 0
Not supported
View
webclient/dist/index.html
View
webclient/src/composables/useWebSocket.js