supergateway

supergateway

An AI gateway that runs MCP stdio servers via SSE and WebSocket.

MCPDevOpen source
Type
MCP
Transport
sse
Open source
Yes
GitHub Stars
★ 2.7k
Source
mcp-github

Overview

Supergateway is an AI gateway that allows running stdio-based MCP servers via SSE or WebSocket. It supports remote access, debugging, and connecting to MCP servers that only support stdio. Ideal for scenarios where a local MCP server needs to be exposed to remote clients. Can be quickly installed and used via the npx command. Suitable for developers and users requiring remote access to MCP servers.

Capabilities

  • Run MCP stdio server via SSE
  • Run MCP stdio server via WebSocket
  • Convert SSE to stdio
  • Convert Streamable HTTP to stdio
  • Support CORS configuration
  • Support OAuth2 authentication

Use cases

Remote access to local MCP serverDebugging MCP serverIntegrate remote SSE MCP server into local environmentShare local MCP server via ngrok

Setup

Requires: Node 环境
npx -y supergateway --stdio "uvx mcp-server-git"

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to run an MCP stdio server via SSE?

Specify the MCP server command using the --stdio flag, and set parameters like --port and --baseUrl.

How to integrate a remote SSE MCP server into a local environment?

Specify the SSE URL using the --sse flag, and optionally add --oauth2Bearer and --header for authentication.

Related skills