Skip to content
Discussion options

You must be logged in to vote

I believe this issue is specific to the Eventsource SSE protocol since I find more hits when searching 5 minute timeouts for that than for anything MCP-related.

Are you receiving any pings from LC? Are you sending anything back for pings to keep the connection active?

You may also want to look into refactoring the server with the streamable http transport, which LC will support soon, which is meant to address caveats of long-lived connections like this, and is more suitable for a multi-user environment:

#7020
https://modelcontextprotocol.io/specification/draft/basic/transports#streamable-http

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@danny-avila
Comment options

@mmalinov
Comment options

@danny-avila
Comment options

@danny-avila
Comment options

Answer selected by mmalinov
@danny-avila
Comment options

@mmalinov
Comment options

@danny-avila
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants