Skip to content

Why does MCP sse client do not have heartbeat detection #2795

Open
@Ltyro

Description

@Ltyro

Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.

Expected Behavior

After the MCP SSE server restarts, the client can automatically connect without restarting

Current Behavior

After the MCP SSE server restarts, the client will not automatically connect

Context

In MCP SSE mode, the client must rely on the MCP server to start, otherwise it cannot start. I don't think it's reasonable. The server has been restarted, so all clients need to be restarted? Why not use heartbeat detection. The MCP native SDK may not have a heartbeat mechanism, but I think Spring AI can have it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions