Server facts
Supergateway MCP Server
GitHub stars
2,907
Last commit
Oct 18, 2026
Runtime
node
License
MIT
Project
- Author
- supercorp-ai
- Repository
- github.com/supercorp-ai/supergateway
- License
- MIT
- Category
- MCP Gateways & Proxies
Tech
- Runtime
- node
- Transports
- stdio
- Remote access
- No
Activity
- GitHub stars
- 2,907
- Last commit
- Data as of
Tags
- Mcp Proxy
- Sse
- Stdio
- Streamable Http
- Transport Bridge
- Websocket
Overview
Supergateway adapts MCP connections when a server and client do not share the same transport. It can launch a stdio server and expose it over SSE, WebSockets, or Streamable HTTP. In the other direction, it connects to a remote SSE or Streamable HTTP service and presents a local stdio interface. The project is therefore infrastructure around an existing MCP server, not a domain-specific tool catalog of its own. The README presents remote access, debugging, and client compatibility as primary uses, with examples for filesystem, Git, and other underlying servers.
The simplest example runs through npx and wraps a uvx Git server command. Options set the listening port, endpoint paths, output transport, headers, bearer authentication, logging, CORS, and health checks. Streamable HTTP exposure supports stateless operation or stateful sessions with a configurable timeout. Docker images provide an alternative to local Node.js setup, including variants with uvx or Deno dependencies. The README also demonstrates using MCP Inspector and sharing a local service through ngrok. Configuration still depends on the wrapped server and chosen direction: its command, dependencies, or remote URL must be available. A documented Cursor argument-handling issue means bearer credentials should use the dedicated OAuth bearer flag instead of a space-containing Authorization header argument in that client.
Install & configure
Requirements
- npx for this execution method
- uvx and mcp-server-git for the wrapped example
- An MCP client compatible with the selected output transport
npx -y supergateway --stdio 'uvx mcp-server-git'This example exposes a stdio Git server over the default SSE output; Supergateway is a transport bridge, not a Git tool implementation. The README uses port 8000 and /sse by default. It supplies no separate built-in domain tool catalog.
Use cases
- Expose a stdio-only MCP server to an SSE client.
- Connect a local stdio client to a remote Streamable HTTP server.
- Debug a wrapped server through MCP Inspector.
- Offer a stdio service through WebSockets or stateful HTTP sessions.
Strengths
- Bridges multiple MCP transport combinations in one utility.
- Provides configurable endpoints, session behavior, logging, and request headers.
- Offers Docker images with optional uvx or Deno dependencies.
Limitations
- Requires an underlying MCP server or reachable remote service.
- Wrapped server dependencies still need to be available.
- Cursor has a documented space-handling issue for Authorization header arguments.
Supergateway setup notes
- Supergateway records stdio only; confirm a network transport upstream before planning remote access.