Frequent SSE Disconnections in Cursor MCP Server Integration

I’m using the MCP server integration feature in Cursor and experiencing frequent disconnections with the SSE stream. As shown in the screenshots, the server status changes from connected (green indicator) to disconnected (red indicator) with an “SSE error: undefined” message appearing at the bottom of the interface.

Version: 0.47.7
VSCode Version: 1.96.2
Commit: 33ec0dad159bc0ad620f6bbda539efe90c397480
Date: 2025-03-18T00:08:08.998Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.5.0

Details:

  • The server seems to be running (showing as “Enabled”)
  • In the second image, an explicit “SSE error: undefined” error appears
  • The server link appears to be an API endpoint with “api/sse” in the URL
  • Important observation: Even when the indicator turns red and shows “SSE error: undefined,” the MCP server still appears to be functional based on my testing

Questions:

  1. Why does the SSE connection keep dropping randomly?
  2. Is this a known issue with the MCP server integration?
  3. Are there configuration settings I should adjust to maintain a more stable connection?
  4. Is this just a UI status indicator issue rather than an actual connection problem?
1 Like

Got repetitive sse disconnections too, related to the fact my /sse endpoint was regularly pushing ping server events to the cursor client

Might be related to your issue.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.