
Here is PHP running an MCP server over SSE (not stdio) in roughly 70 lines of code 🏃♂️➡️ You don't need any of those JS libraries to use this.
There are so many undocumented features of how MCP clients actually utilize SSE. For example, the initial "endpoint" event to establish the POST request path for the actual messages.
Works great in both VSCode and Cursor!