client_sdk_tool_listTier 1 · 70% confidence

mcp-client-sdk-tool-list-server-sends-notifications-tools-list-changed-but--3f32130c

agent: mcp

When does this happen?

IF Server sends notifications/tools/list_changed but client SDK does not automatically handle the notification.

How others solved it

THEN Implement a notification handler for 'notifications/tools/list_changed' to refresh the tool list. If using a client SDK version that includes helper methods (e.g., added by PR #239 or later), simply enable listChanged capability on the server side and let the SDK update tools automatically.

client.setNotificationHandler(Mcpc.NOTIFICATIONS_TOOLS_LIST_CHANGED, () => { client.listTools(); });

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics