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
fix: address PR review feedback for multi-server chatbot example
- Prefix tool names with serverName__ to prevent silent overwrites when
multiple servers expose identically-named tools. Original names are
preserved and used for the actual callTool requests.
- Fix incorrect type guard that narrowed MCP ContentBlock to
Anthropic.TextBlock (wrong type). Now uses plain .filter().
- Move this.servers.set() before listTools() so cleanup can still close
the client if tool discovery throws.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments