SSE reconnection #351
Unanswered
mhackermsft
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pre-submission Checklist
Question Category
Your Question
How does the IMcpClient handle SSE disconnections? Are there any auto reconnect capability or does the connection just drop if there is a temporary outage or issue?
Details:
I am trying to use ModelContextProtocol SDK with Semantic Kernel (SK). I have a single SK instance, I create multiple IMcpClient objects (one per MCP SSE Server). I then use the SK builder.Plugins.AddFromFunctions method to add the tools from the IMcpClient to the SK instance. This all works well for a period of time. What seems to happen (a bit of an assumption) is after a period of time the IMcpClient seems to disconnect and SK just get's hung up when trying to do a chat completion.
Looking for best practices for handling temporary network issues or when the SSE connection drops for some reason.
Beta Was this translation helpful? Give feedback.
All reactions