bun-mcp-sse-transport
Bun을 사용하여 MCP(Model Context Protocol)에 대한 SSE(Server-Sent Events) 전송을 구현합니다.
개요
이 패키지는 MCP 서버를 위한 Bun 전용 SSE 전송 구현을 제공합니다. SSE 프로토콜을 사용하여 서버와 클라이언트 간 실시간 단방향 통신을 지원하며, 클라이언트와 서버 간 통신은 HTTP POST 요청을 통해 처리됩니다.
주요 특징
- Bun 런타임을 위해 특별히 제작됨
- MCP 전송 인터페이스를 구현합니다.
- 적절한 헤더로 SSE 연결을 관리합니다.
- 수신 JSON-RPC 메시지를 처리합니다.
- Bun.serve와의 간단한 통합
빠른 사용
지엑스피1
작동 원리
- 클라이언트가
/sse
에 연결하면 서버는 SSE 연결을 생성합니다. - 서버는 클라이언트가 메시지를 POST해야 하는 엔드포인트 URL을 전송합니다.
- 클라이언트는 엔드포인트 URL로 JSON-RPC 메시지를 보냅니다.
- 서버는 이러한 메시지를 수신하여 MCP 서버로 전달합니다.
- MCP 서버는 메시지를 처리하고 SSE 연결을 통해 응답을 보냅니다.
이 구현은 효율적인 실시간 통신을 위해 Bun의 스트리밍 기능을 활용하면서 MCP 표준을 따릅니다.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Bun JavaScript 런타임을 위해 특별히 구축된 모델 컨텍스트 프로토콜의 SSE(Server-Sent Events)를 사용하여 클라이언트와 서버 간의 실시간 통신을 가능하게 합니다.
Related MCP Servers
- AsecurityFlicenseAqualityAn implementation of the Model Context Protocol (MCP) server using Server-Sent Events (SSE) for real-time communication, providing tools for calculations and dynamic resource templates.Last updated -1JavaScript
- -securityFlicense-qualityA server for Model Context Protocol (MCP) that uses Server-Sent Events (SSE) for streaming communication, enabling tools like the HackerNews API to be accessed through a secure HTTP+SSE transport.Last updated -23TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables real-time communication using Server-Sent Events (SSE), providing standardized model management and resource templating capabilities.Last updated -TypeScript
- -securityFlicense-qualityA Model Context Protocol (MCP) server implementation that uses Server-Sent Events (SSE) to enable real-time, server-pushed updates between AI models and tools over HTTP connections.Last updated -1Python