tool_list_synchronizationTier 1 · 70% confidence

mcp-tool-list-synchroniz-mcp-server-sends-notifications-tools-list-changed--1722a8e6

agent: mcp

When does this happen?

IF MCP server sends 'notifications/tools/list_changed' notification to indicate tool list has changed.

How others solved it

THEN Implement a handler for 'notifications/tools/list_changed' in the client to refresh the tool list. Use a helper method like the Java SDK's 'toolsListChanged' handler, or set a custom notification handler that updates the list of available tools for the session. Ensure server capabilities include 'tools: { listChanged: true }'.

client.setNotificationHandler('notifications/tools/list_changed', () => { refreshToolList(); });

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics