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
When the CancellationToken passed to McpClientFactory.CreateAsync in canceled before the method completes, it throws an ModelContextProtocol.McpException with the message "Initialization timed out".
I expect an OperationCanceledException that merely expresses the operation is canceled -- not that something timed out (as there was in fact no timer).
The text was updated successfully, but these errors were encountered:
Describe the bug
When the
CancellationToken
passed toMcpClientFactory.CreateAsync
in canceled before the method completes, it throws anModelContextProtocol.McpException
with the message "Initialization timed out".This doesn't conform to .NET conventions.
To Reproduce
Expected behavior
I expect an
OperationCanceledException
that merely expresses the operation is canceled -- not that something timed out (as there was in fact no timer).The text was updated successfully, but these errors were encountered: