Skip to content

How the McpAsyncClient retry when the sse server reboot? #28

@kaktos

Description

@kaktos

When the MCP (SSE) server reboots, McpAsyncClient throws a PrematureCloseException. The code at this link does not handle this exception.

Additionally, the sendMessage(JSONRPCMessage message) method does not seem to have retry logic either.

Metadata

Metadata

Assignees

Labels

area/clientenhancementNew feature or requestneeds reproWe need a way to reproduce the problemwaiting for userWaiting for user feedback or more details
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions