You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Handle list_changed notifications instead of dropping them #2107
The SDK silently drops notifications/tools/list_changed, notifications/prompts/list_changed, and notifications/resources/list_changed notifications. They fall through to case _: pass in the notification handler.
At minimum, these should be surfaced — either via a callback, an event, or a hook — so that consumers can react to them (e.g., invalidate caches, refresh tool lists).
This is related to #1429 (dynamic tool management) and #710 (triggering listChanged), but distinct: those are about the server side sending notifications, this is about the client side receiving them.
Activity
feat: add client callbacks for list_changed notifications
chore: remove unnecessary comment in test
fix: remove stale pragma no-cover from server send_*_list_changed met…
maxisbey commentedon Aug 10, 2026
This landed as part of v2, which is now released (via #3047, #3023) — closing. Feel free to reopen if there's something still outstanding.