Commit db6f0cc
committed
feat(client): handle tools/resources/prompts list_changed notifications
Mirrors the existing tasks/list_changed handler. When a server with
listChanged: true capability sends the corresponding notification, the
inspector now refreshes its catalog via the same listTools / listResources /
listPrompts functions used by the manual Refresh buttons.
Before this fix, the inspector imported the *ListChangedNotificationSchema
types from the SDK but never dispatched on them — gateway-style MCP servers
that hot-load tools mid-session had stale UIs until the user manually
reconnected.
Closes #832.1 parent f18775a commit db6f0cc
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
407 | 416 | | |
408 | 417 | | |
409 | 418 | | |
| |||
0 commit comments