repowiserepowise

Command-line tool

supercorp-ai / supergateway

Run MCP stdio servers over HTTP streamable, SSE and SSE over stdio. AI gateway.

★ 2,965stars on GitHubTypeScriptMIT

This connects Repowise to supercorp-ai/supergateway's code. It does not install supergateway.

Repowise maps public repos from their source. Not affiliated with supercorp-ai. What is Repowise?

github.com/supercorp-ai/supergatewayIndexed at 5ad19d3

What is supergateway?

supergateway is a command-line tool that runs MCP stdio-based servers over SSE, WebSockets or Streamable HTTP with one command. It is meant for remote access, debugging, or connecting clients when an MCP server only supports stdio. It wraps a stdio server command and serves it over the chosen transport, and it can also serve a remote SSE or Streamable HTTP server over stdio. The project is written mainly in TypeScript. To install it, run npx -y supergateway --stdio "uvx mcp-server-git" and follow the steps below. Its code health is 8.8 out of 10 (Excellent), ranked #20 of 4,000+ indexed repos. The last commit to supergateway was on Nov 10, 2026, and 9 people have contributed.

As of commit 5ad19d3, indexed Nov 10, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentssupergateway.md

Repo facts: type, license, health, rank, contributors
supergateway facts
TypeCommand-line tool
LicenseMIT
Code health8.8 / 10 (Excellent)
Health rank#20 of 4,000+ indexed repos
Last commitNov 10, 2026
Contributors9
Bus factor1
Size450 files, 57,767 lines

Install supergateway

Commands copied from the README

  1. 1Run supergateway with npx, starting an MCP server that speaks stdio, in this case the git server from uvx.
    npx -y supergateway --stdio "uvx mcp-server-git"
  2. 2Start MCP Inspector in a second terminal to connect to the gateway and list tools, resources and other MCP actions.
    npx @modelcontextprotocol/inspector

Releases on GitHub (latest v4.2.2, Nov 10, 2026)

Full install notes on GitHub

Explore supergateway

Ask about this code in your agent

This connects Repowise to supergateway's code. It does not install supergateway. To install supergateway, use the install steps.

Useful if you want to change or fork supergateway: your agent can ask how it is put together and get answers that cite its files.

Ask about supergateway

Answers come from supergateway's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

supergateway is a command-line tool that runs MCP stdio-based servers over SSE, WebSockets or Streamable HTTP with one command. It is aimed at remote access, debugging, or connecting clients when an MCP server only supports stdio, and it can also serve a remote SSE or Streamable HTTP server over stdio. The package has entry points at src/cli.ts and src/index.ts, and command-line flags choose which mode runs. The src/gateways directory holds one module per conversion, such as stdioToStatefulStreamableHttp.ts, stdioToStatelessStreamableHttp.ts and streamableHttpToStdio.ts, and src/lib/modernHttp.ts is listed among the central hotspot files. Client requests arrive over the chosen transport, pass through the matching gateway module, and responses return to the client, with the tests and scripts directories holding supporting code. For reading, start with src/cli.ts, src/index.ts and then src/gateways, noting the layers by file count: Service with 71 files, Application with 41, Config with 20, and Docs & Tooling with 19.

Files per layer in supergateway4 layers.

Basis: Inferred · knowledge graph· as of 5ad19d3

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of supercorp-ai/supergateway from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

supercorp-ai/supergateway FAQ

What is supergateway?

supergateway is a command-line tool that runs MCP stdio-based servers over SSE, WebSockets or Streamable HTTP with one command. It is used for remote access, debugging, or connecting clients to a stdio-only MCP server.

How does supergateway work?

supergateway runs a stdio MCP server command and serves it over SSE, WebSockets or Streamable HTTP. It can also connect to a remote SSE or Streamable HTTP server and serve it over stdio, with the mode chosen by flags such as --stdio, --sse and --streamableHttp.

How do I install supergateway?

supergateway is run with npx, so no separate install step is shown in the README. The command npx -y supergateway --stdio "uvx mcp-server-git" starts a stdio server behind the gateway. See the install steps

What language is supergateway written in?

supergateway is written mainly in TypeScript. The repository also contains JavaScript files and a few Python, Go, Ruby and Rust files.

How is the supergateway code organized?

supergateway keeps its entry points in src/cli.ts and src/index.ts, and its per-mode gateway modules in src/gateways. Its tests are in the tests directory and helper scripts are in the scripts directory.

When should I use supergateway?

supergateway is useful when you need remote access to an MCP server, want to debug one, or need to connect clients to an MCP server that only supports stdio.

What license does supergateway use?

supergateway is released under the MIT license.

Code health

8.8out of 10Excellent

Hotspots average 8.2, the place fixes pay off most.

On the leaderboards:#8 of 66 TypeScript repos

Key features of supergateway

  • Runs an MCP stdio-based server over SSE or WebSockets with one command.
  • Serves a remote SSE or Streamable HTTP MCP server over sse, ws or streamableHttp.
  • Adds optional API key checks, CORS support and health endpoints to the gateway.
  • Exposes only selected tools with the --tools flag and can prefix tool names with --toolPrefix.
  • Reads servers and settings from a JSON configuration file with --config.

How supercorp-ai/supergateway works

The package has two entry points, src/cli.ts and src/index.ts, and the command-line flags select which mode runs. The src/gateways directory holds one module per conversion, including stdioToStatefulStreamableHttp.ts, stdioToStatelessStreamableHttp.ts and streamableHttpToStdio.ts, so a stdio server is exposed over Streamable HTTP in stateful or stateless form, or a remote Streamable HTTP server is turned into stdio. src/lib/modernHttp.ts is listed among the central hotspot files of the code. The tests directory holds most of the repository's files and covers the clients and the gateway behavior, and the scripts directory holds supporting scripts. Client requests come in over the selected transport, pass through the matching gateway module, and the server's responses go back out to the client.

The codebase has 450 files and 1,896 symbols in 4 modules, led by TypeScript, JavaScript and Python. Code health is 8.8 out of 10, rated excellent.