Receive (server → client)
Global handler on the client:notifications/tools/list_changed, notifications/resources/list_changed, notifications/prompts/list_changed.
Send (client → server)
Update roots — the client sendsnotifications/roots/list_changed:
React
McpClientProvider stores notifications on each server (notifications, unreadNotificationCount). Use onNotificationReceived per server for custom handling.