I didn't find any information over internet to use existing SSE connection between mcp host and mcp client to send event from server to client.
Comment From: hbsjz-swl
长度和风格 Indeed, this is an action initiated by the client, with the server's information transmitted via SSE (Server-Sent Events). To help you better implement this functionality, please follow the steps below:
- Ensure that your client has successfully established an SSE connection with the MCP server.
- On the server side, use appropriate framework methods (such as Spring Boot) to send events. For example, you can use
SseEmitterto send events. - Ensure that your server is correctly configured to handle SSE connections and event sending.
If you encounter specific technical issues or need further assistance, please provide more details, and we will do our best to help you.
Comment From: hbsjz-swl
Indeed, this is an action initiated by the client, with the server's information transmitted via SSE (Server-Sent Events). To help you better implement this functionality, please follow the steps below:
- Ensure that your client has successfully established an SSE connection with the MCP server.
- On the server side, use appropriate framework methods (such as Spring Boot) to send events. For example, you can use
SseEmitterto send events.- Ensure that your server is correctly configured to handle SSE connections and event sending.
If you encounter specific technical issues or need further assistance, please provide more details, and we will do our best to help you.