drio
Open app

MCP Gateway, Server, and Client

Source

An MCP stdio to HTTP SSE transport gateway with example server and MCP client

Catalog onlyCatalog onlySTDIO

Overview

MCP Gateway, Server, and Client is a tool that facilitates the transport of data using the Model Context Protocol (MCP) from standard input/output (stdio) to HTTP Server-Sent Events (SSE).

To use this project, set up the example server and client as outlined in the documentation. Configure the MCP gateway to receive input from stdio and output it over HTTP SSE.

  • Converts MCP stdio to HTTP SSE transport - Includes example implementations of both server and client - Facilitates real-time data transport over HTTP
  1. Enabling real-time notifications from a backend service to web clients.
  2. Streaming data from a data processing application to web applications.
  3. Implementing live updates in applications using model context protocols.

Add to your AI client

Use these steps to connect MCP Gateway, Server, and Client 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-server-and-gw-boilingdata": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-and-gw-boilingdata"
      ]
    }
  }
}

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-server-and-gw-boilingdata": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-and-gw-boilingdata"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-and-gw-boilingdata": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-and-gw-boilingdata"
      ]
    }
  }
}

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-server-and-gw-boilingdata": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-and-gw-boilingdata"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-and-gw-boilingdata": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-and-gw-boilingdata"
      ]
    }
  }
}

Cline

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

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-and-gw-boilingdata": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-and-gw-boilingdata"
      ]
    }
  }
}

FAQ

What is Model Context Protocol (MCP)?

Model Context Protocol (MCP) is a protocol designed for transporting contextual data for applications, enabling a better flow of information.

Can this gateway work with any programming language?

Yes, as long as the language supports HTTP and has a way to interact with stdin/stdout, you can use this gateway.

Is there any support for using this project?

Documentation is provided in the repository, and the community can offer support via GitHub issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":155,"uuid":"6226a8db-37a4-4fd3-9a48-6a6b223d0e9d","name":"mcp-server-and-gw","title":"MCP Gateway, Server, and Client","description":"An MCP stdio to HTTP SSE transport gateway with example server and MCP client","avatar_url":"https://avatars.githubusercontent.com/u/104162157?v=4","created_at":"2024-12-13T09:02:40.023Z","updated_at":"2024-12-13T09:42:53.194Z","status":"created","author_name":"boilingdata","author_avatar_url":"https://avatars.githubusercontent.com/u/104162157?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/boilingdata/mcp-server-and-gw","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"68\",\"license\":\"MIT license\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-04-15 11:17:19\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]