MCP Gateway, Server, and Client

by boilingdata

91 228 downloads Not rated yet MIT
GitHub

About

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

Details

License
MIT

Explore

- Bridges stdio to HTTP SSE transport for MCP.
- Includes example server and client implementations.
- Works with MCP Inspector for testing and debugging.
- Allows independent SSE server development.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Gateway, Server, and Client
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository


npm install -g mcp-server-and-gw

MCP_HOST=localhost MCP_PORT=8808 npx mcp-server-and-gw

> The bridge script is node javasscript, but your server code can be whatever you use.

A Model Context Protocol gateway src/mcp-server-and-gw.ts from stdio to HTTP SSE transport.

```shell

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp gateway, server, and client": {
            "mcp-server-and-gw": {
                "command": "npx",
                "args": [
                    "mcp-server-and-gw",
                    "http://localhost:8808/"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-and-gw": {
        "command": "npx",
        "args": [
            "mcp-server-and-gw",
            "http://localhost:8808/"
        ]
    }
}

As long as Claude Desktop does not support connecting to remote servers, you can use this script to run a bridge from stdio to HTTP SSE (Server-Sent Events) endpoint.

Install mcp-server-and-gw

```shell

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.

Videos about MCP Gateway, Server, and Client

Relevant YouTube tutorials, setups, and demos