bun-mcp-sse-transport
@tigranbs
关于 bun-mcp-sse-transport
Bun Server Transport implementation for MCP - MCP SSE
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is bun-mcp-sse-transport?
A Server-Sent Events (SSE) transport implementation for the Model Context Protocol (MCP) built specifically for the Bun runtime. It enables real-time, one-way communication from server to client using SSE, with client-to-server communication handled via HTTP POST requests. Designed for developers building MCP servers on Bun.
How to use bun-mcp-sse-transport?
Install the package and import the BunSSEServerTransport class. Create an MCP server with @modelcontextprotocol/sdk, connect it to the transport, then set up a Bun HTTP server with routes: /sse returns the SSE response and /messages handles incoming POST requests.
Key features of bun-mcp-sse-transport
- Built specifically for the Bun runtime
- Implements the MCP transport interface
- Manages SSE connections with proper headers
- Handles incoming JSON-RPC messages
- Simple integration with Bun.serve
- Real-time, one-way server-to-client communication via SSE
Use cases of bun-mcp-sse-transport
—
FAQ from bun-mcp-sse-transport
What runtime does bun-mcp-sse-transport require?
It requires Bun.
How does the client communicate back to the server?
The client sends JSON-RPC messages via HTTP POST requests to an endpoint URL provided in the initial SSE connection.
What endpoints must a server expose?
The example shows /sse for establishing the SSE connection and /messages for receiving client POST requests.
What protocol does it implement?
It implements the Model Context Protocol (MCP) transport interface and handles JSON-RPC messages.
Does it support the standard MCP flow?
Yes. The server creates an SSE connection, sends the endpoint URL, receives JSON-RPC messages via HTTP POST, and sends responses back over the SSE connection.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.

EverArt
modelcontextprotocolModel Context Protocol Servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
评论