Used as the web framework for implementing the MCP server with SSE capabilities as shown in the HTTP headers
References GitHub repositories for code examples, including vanilla SSE implementation and MCP Inspector
Provides the runtime environment for the MCP server implementation with examples given in the document
Demonstrates packet capture and analysis for examining MCP protocol traffic and Server-Sent Events (SSE) communication
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SSE MCP Serverget the top 10 stories from Hacker News"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SSE MCP
HTTP+SSE 将逐步被替换为 Streamable HTTP
Replace HTTP+SSE with new "Streamable HTTP" transport
现状
本地通过stdio运行MCP不安全
恶意MCP可以伪装成正常工具被LLM调用
敏感数据泄漏
安装不方便(npx/uvx/docker)
MCP服务器托管开始流行
经过筛选
身份认证
阿里云百练/腾讯云/Zapier
HTTP+SSE / Streamable HTTP
Related MCP server: MCP Tools
目标
SSE是什么,原理 (Server Sent Event)
ChatGPT使用SSE的例子
原生JS实现SSE的Server和Client
MCP的SSE实现
实现一个SSE传输的MCP服务器
CheeryStudio 调用
MCP Inspector + Wireshark 抓包
Server Sent Events
ChatGPT/KIMI/DeepSeek的SSE
ChatGPT: 使用event来声明自定义事件
KIMI: 全部用默认message事件,在JSON里面的event字段声明自定义事件
都没有定义ID
无需短线重连
有序发送数据,一次性消费
JS原生SSE实现
Client
Server