the_vampiire_mcp_sse

the_vampiire_mcp_sse

by the-vampiire
A demo showcasing the limitations of an MCP SSE server using the bun runtime compared to nodejs.

MCP SSE Server Limitations Demo

Overview

This project demonstrates the limitations of an MCP SSE (Server-Sent Events) server when using the Bun runtime compared to Node.js. The demo provides a reproducible setup to observe the differences in behavior between the two runtimes.

Tools

  • Bun Runtime: A fast JavaScript runtime.
  • Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
  • MCP Inspector: A tool to inspect and debug MCP SSE connections.

Configuration

To set up the demo, follow these steps:

  1. Install Dependencies:
    shell bun install

  2. Run the MCP Inspector:
    shell npm run inspect

  3. Open the Inspector:
    Navigate to http://localhost:5173.

  4. Select SSE as the Transport:
    Enter http://localhost:3500/sse as the URL.

  5. Inspect Traffic:
    Open the Dev Tools Network tab to monitor traffic.

  6. Run the Server Using Bun:
    shell npm run start:bun

  7. Observe Behavior:
    Attempt to connect to the server using the inspector. Observe the network, server, and inspector logs.

  8. Run the Server Using Node.js:
    shell npm run start:node

  9. Observe Behavior:
    Attempt to connect to the server using the inspector. Observe the network, server, and inspector logs.

Usage

The demo is designed to highlight the differences in SSE server behavior between Bun and Node.js. By following the steps, users can observe how the Bun runtime may fail to maintain SSE connections, whereas Node.js succeeds.

About

This project is a demo showcasing the limitations of an MCP SSE server when using the Bun runtime. It provides a clear, step-by-step guide to reproduce the observed issues.

Resources

Stars

1 star

Watchers

1 watching

Forks

0 forks

Languages

  • TypeScript 100.0%

Features & Capabilities

Categories
mcp_server model_context_protocol typescript bun nodejs sse server_demo

Implementation Details

Stats

0 Views
0 Favorites
1 GitHub Stars

Repository Info

the-vampiire Organization

Similar Servers

continuedev_continue by continuedev
0
0
0