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
The MCP server doesn't have method to link it into Tools collection. Instead expected to handle the tool manually in McpServerHandlers.CallToolHandler. Just please let to register the new tool without real method.
To have IMcpServer.NotifyTooListChanged method. It would request list of tools using the handler that were added earlier using .WithListToolsHandler.
publicclassMcpServer:IMcpServer{publicvoidNotifyToolListChanged(){// 1. request list of tools from handler// 2. notify Client about changes}// ...}publicinterfaceIMcpServer{voidNotifyToolListChanged();// ...}
The text was updated successfully, but these errors were encountered:
Issue (at MCP Server)
The MCP server doesn't have
method
to link it into Tools collection. Instead expected to handle the tool manually inMcpServerHandlers.CallToolHandler
. Just please let to register the new tool without real method.The issue is fully described right here.
Solution (for MCP Server)
To have
IMcpServer.NotifyTooListChanged
method. It would request list of tools using the handler that were added earlier using.WithListToolsHandler
.The text was updated successfully, but these errors were encountered: