I’m at my wit’s end. I’ve been trying for a week to get an MCP SSE server up and running. It doesn’t matter if I build a native MCP server in PHP, use the Python SDK, or use a Node.js library. I’m truly desperate. I’ve already asked on Reddit, StackOverflow, ChatGPT Pro, and Cursor, but none of them could help. It always gets stuck at the same point. The server establishes a connection, then the status stays yellow and nothing else happens. A reload only gives a log message “from Handling ListOfferings action,” there’s no request sent to the server, nothing happens.
I’m really hoping someone will have mercy and provide me with the exact request/response flow with sample data. Starting from entering the SSE URL, what does Cursor send, what does it expect, which URLs are triggered internally that I don’t know about, what format, what events, and so on. That would help me a great deal to replicate this somehow, because I’m truly stuck and something seems to be missing. It looks like Cursor is expecting something. I haven’t tried STDIO yet, and it wouldn’t help in my scenario.
Thank you to anyone who can give me even the smallest hint or instructions that actually work.
After one week of try and error here a working example Server in Node.JS GitHub - b3nelof0n/node-mcp-server feel free to use it for learning purpose or…
cursor team has just updated docs, perhaps revisit again. i also recommend anthropics example implementations of mcp servers like memory. they work well and not too complex
Thanks @b3nelof0n! After taking inspiration from your code, I’ve started creating a framework to build an MCP server based on SSE only. I might target HTTP-stream later, but I’m keeping it minimal for now since I faced a lot of issues using Anthropic’s MCP SDK.