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
I'm using the Tools.GetFromMcpServers() method to generate tools from a config file. The resulting array of McpClientTool instances works well for function invocation.
However, I found no way to determine which server a given tool was generated from. While the associated server name exists in the EndpointName property of the tool's client, it can't be accessed due to client encapsulation.
For my use case (and potentially for others), it would be helpful to know which server a given McpClientTool came from.
Would you consider exposing the server metadata (ServerInfo and/or EndpointName) in the public contract of McpClientTool, or perhaps providing another way to associate a tool with its originating server?