Skip to main content
Glama

Bun SSE Transport for MCP

by tigranbs

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

작동 원리

  1. 클라이언트가 /sse 에 연결하면 서버는 SSE 연결을 생성합니다.
  2. 서버는 클라이언트가 메시지를 POST해야 하는 엔드포인트 URL을 전송합니다.
  3. 클라이언트는 엔드포인트 URL로 JSON-RPC 메시지를 보냅니다.
  4. 서버는 이러한 메시지를 수신하여 MCP 서버로 전달합니다.
  5. MCP 서버는 메시지를 처리하고 SSE 연결을 통해 응답을 보냅니다.

이 구현은 효율적인 실시간 통신을 위해 Bun의 스트리밍 기능을 활용하면서 MCP 표준을 따릅니다.

-
security - not tested
F
license - not found
-
quality - not tested

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)를 사용하여 클라이언트와 서버 간의 실시간 통신을 가능하게 합니다.

  1. 개요
    1. 주요 특징
      1. 빠른 사용
        1. 작동 원리

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            An unofficial JavaScript SDK to create customized servers for the Model Context Protocol, allowing definition of prompts, resources, and tools for tailored interactions.
            Last updated -
            6
            2
            JavaScript
            Apache 2.0
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that integrates with Cursor IDE, providing real-time communication, modern web dashboards, and extensible tools via SSE and WebSocket connections.
            Last updated -
            1,012
            1
            Python
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server built with Express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.
            Last updated -
            160
            JavaScript
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that integrates with Brave Search API to provide real-time search capabilities through Server-Sent Events (SSE).
            Last updated -
            TypeScript

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/tigranbs/bun-mcp-sse-transport'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server