Bun SSE Transport
Createdtigranbs
Enables real-time, one-way server-to-client communication via Server-Sent Events (SSE) within a Bun-based Model Context Protocol (MCP) server environment.
About
This package provides a Bun-specific implementation of SSE transport for MCP servers, facilitating real-time, one-way communication from server to client using the SSE protocol while leveraging HTTP POST requests for client-to-server interactions. It offers simple integration with Bun.serve, managing SSE connections, and handling incoming JSON-RPC messages for efficient real-time communication within an MCP environment.
Key Features
- Manages SSE connections with proper headers
- 1 GitHub stars
- Implements the MCP transport interface
- Simple integration with Bun.serve
- Built for Bun runtime
- Handles incoming JSON-RPC messages