“I’m facing the same issue — it loses connection, and I have to toggle it manually. In your case, it shows an error, but in mine, even when it’s connected, the UI displays a red dot. The logs are clear, and it’s able to list the tools and prompts, yet it still shows the red dot. Every tool works for a while and then stops.”
Thank you for your prompt response deanrie. When the toggle was activated, logs were generated as highlighted, and this is the full log for it. There were multiple errors at a time, it’s when I try to execute a tools after some time. Can you please let me know how does cursor client handles the connection with it?
Which MCP server are you using? If it’s public, could you share it? If it’s your own, it’d be great if you could provide a link to the repo. If you don’t want to share it publicly here, I’ll DM you.
It’s a Moorcheh MCP here is the public MCP: moorcheh-ai/moorcheh-mcp
It’s working if I run it locally. I have another one that uses Streamable https (I cannot share this), but the functionality is the same as the public one. Let me know if you need anything else from my side.
I’ve just set up the Moorcheh MCP server in Cursor, and everything works for me. If you could share your MCP server with the team, we’d do a detailed investigation.
There might be something I’m doing incorrectly, but if you could confirm how Cursor handles the connection-or share any Streamable HTTPS MCP that works with Cursor-then I can check how they’ve set up the connection.
If your MCP Server is running with Streamable HTTP transport and is stateless, note that SSE notifications are not supported in stateless mode, which might be causing the issue. You should handle this scenario gracefully.
You are right, since our MCP is running behind API Gateway and Lambda with Streamable HTTP, I may not be handling this correctly, and that could be the issue!
@deanrie I talked again to the internal team, they agreed to share a server. How can I DM you about the code?