drio
Open app

MCP SSE demo

Source

demo of MCP SSE server limitations using the bun runtime

Catalog onlyCatalog onlySTDIO

Overview

MCP SSE Demo is a reproducible demonstration that showcases the limitations of an MCP SSE server when using the Bun runtime compared to Node.js.

To use MCP SSE Demo, follow these steps:

  1. Install dependencies using Bun: bun install.
  2. Run the MCP inspector with npm run inspect.
  3. Open the inspector at http://localhost:5173.
  4. Select SSE as the transport and enter http://localhost:3500/sse as the URL.
  5. Open the dev tools network tab to inspect traffic.
  6. In another terminal, run the server using Bun: npm run start:bun.
  7. Connect to the server using the inspector and observe the logs.
  8. Kill the Bun server and run the server using Node.js: npm run start:node.
  9. Connect again to see the successful SSE connection.
  • Demonstrates server behavior with different runtimes (Bun vs Node.js). - Provides a visual inspector for monitoring SSE connections. - Allows users to observe network traffic and logs during the connection process.
  1. Testing server performance with different runtimes.
  2. Educational purposes for understanding SSE connections.
  3. Debugging server issues related to transport protocols.

Add to your AI client

Use these steps to connect MCP SSE demo in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-sse-the-vampiire": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sse-the-vampiire"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-sse-the-vampiire": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sse-the-vampiire"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-sse-the-vampiire": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sse-the-vampiire"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-sse-the-vampiire": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sse-the-vampiire"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-sse-the-vampiire": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sse-the-vampiire"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-sse-the-vampiire": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sse-the-vampiire"
      ]
    }
  }
}

FAQ

What is the purpose of this demo?

The demo illustrates how an MCP SSE server behaves under different runtime environments.

Is it necessary to use Bun?

No, you can also run the server using Node.js to compare the results.

Can I use this demo for production?

This demo is intended for educational and testing purposes, not for production use.