Skip to content

(sse) mcp restarts breaks communication #12431

@f1-outsourcing

Description

@f1-outsourcing

Before submitting your bug report

Relevant environment info

Description

I have been getting familiar with llm's, mcp etc now even changing some code. I noticed that when the mcp is restarted continue is not re-establishing the session. I think it just wants to continue with the old session.

You should adapt the code that if communication fails you try and get a new session. Currently I have only been working on sse mcp's maybe the http streaming protocol does not have this disadvantage.

To reproduce

No response

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcpRelates to Model Context Protocol (MCP)kind:bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions