Supergateway
Supergateway enables running stdio-based MCP servers over SSE
Overview
Supergateway
Main Purpose: Supergateway is a tool that allows you to run MCP (Model Context Protocol) stdio-based servers over Server-Sent Events (SSE). This is particularly useful for remote access, debugging, or connecting to SSE-based clients when your MCP server only supports stdio.
Key Features:
- Exposes an SSE-based interface for your MCP stdio server
- Supports running MCP servers with a single command
- Integrates with tools like MCP Inspector for remote access and management
- Allows you to use ngrok to share your local MCP server with remote clients
Target Audience and Use Cases:
- Developers who work with MCP-based AI tools and need to expose their stdio-based servers to remote clients
- Researchers and engineers who need to debug or remotely access their MCP servers
- Teams building SSE-based applications that need to integrate with MCP-powered services
Uniqueness and Noteworthiness: Supergateway is a unique solution that bridges the gap between MCP stdio servers and SSE-based clients. By providing a simple and straightforward way to expose stdio servers over SSE, it simplifies the process of connecting remote tools and clients to your MCP-based infrastructure.
Configuration Example
{
"mcpServers": {
"supergateway": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--stdio",
"uvx mcp-server-git"
],
"env": {
"PORT": "8000"
}
}
}
}
Technical Implementation
Installation
npx -y supergateway --stdio "uvx mcp-server-git"
Platform Support
| Feature | Details | |---------|----------| | Runtime | Node.js | | Protocol | SSE, stdio | | Port | Default 8000 | | Category | Development |
The server provides essential bridging capabilities between different MCP transport protocols, with support from superinterface.ai and supercorp.ai.