Confusing “SSE error: undefined” Despite Successful Tool Execution

I’m seeing an error message that’s a bit confusing:

SSE error: undefined

This shows up both in the MCP server list and in the MCP logs as:

[error] -mcp: Client error for command SSE error: undefined

However, despite this error, the MCP server still works perfectly fine! For example, calling the getBeijingWeather tool succeeds and returns the expected result.

So my question is:
What exactly does this “SSE error: undefined” mean?
Is it something I should be concerned about, or can it be safely ignored?

If this is a real error, the message should be clearer to help users understand what’s wrong.
But if it’s not actually an error, it probably shouldn’t be shown as one in the first place.

Thanks!