Supergateway
@supercorp-ai
About Supergateway
Run MCP stdio servers over SSE and SSE over stdio. AI gateway.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"supergateway": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--stdio",
"uvx mcp-server-git"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Supergateway?
Supergateway runs MCP stdio-based servers over SSE (Server-Sent Events) or WebSockets (WS) with one command. It is useful for remote access, debugging, or connecting to clients when your MCP server only supports stdio.
How to use Supergateway?
Run Supergateway via npx -y supergateway --stdio "command" to expose a stdio server as an SSE or WS endpoint. Alternatively, use --sse or --streamableHttp to connect to remote servers and expose locally over stdio. A Docker image is also available at supercorp/supergateway.
Key features of Supergateway
- Converts stdio MCP servers to SSE, WebSocket, or Streamable HTTP
- Supports SSE→stdio and Streamable HTTP→stdio modes
- Configurable ports, paths, headers, CORS, and logging levels
- Ready-to-run Docker images with optional dependencies (uvx, deno)
- Integrates with Claude Desktop, Cursor, and ngrok
Use cases of Supergateway
- Expose a local stdio MCP server for remote web-based clients
- Connect to a remote SSE MCP server from a local command-line environment
- Debug MCP servers using MCP Inspector via Supergateway
- Share a local MCP server publicly using ngrok
- Run MCP servers in Docker without local Node.js setup
FAQ from Supergateway
How do I install Supergateway?
Run npx -y supergateway (Node.js required) or use the Docker image supercorp/supergateway.
Can I use authentication headers?
Yes, use --header "key: value" for custom headers and --oauth2Bearer "token" to add an Authorization Bearer header.
Which MCP transports does Supergateway support?
It supports stdio, SSE, WebSocket, and Streamable HTTP as input or output transports.
Can I use Supergateway with Claude Desktop or Cursor?
Yes, configure it in SSE→stdio mode using npx or Docker in your client’s MCP settings.
Does Supergateway support CORS?
Yes, enable CORS with --cors (allow all origins) or specify allowed origins (e.g., --cors "http://example.com").
Frequently asked questions
How do I install Supergateway?
Run `npx -y supergateway` (Node.js required) or use the Docker image `supercorp/supergateway`.
Can I use authentication headers?
Yes, use `--header "key: value"` for custom headers and `--oauth2Bearer "token"` to add an Authorization Bearer header.
Which MCP transports does Supergateway support?
It supports stdio, SSE, WebSocket, and Streamable HTTP as input or output transports.
Can I use Supergateway with Claude Desktop or Cursor?
Yes, configure it in SSE→stdio mode using `npx` or Docker in your client’s MCP settings.
Does Supergateway support CORS?
Yes, enable CORS with `--cors` (allow all origins) or specify allowed origins (e.g., `--cors "http://example.com"`).
Basic information
More Other MCP servers
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Blender
ahujasidOpen-source MCP to use Blender with any LLM
ICSS
chokcoco不止于 CSS
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Comments