Atlas / MCP servers / supercorp-ai / supergateway

supergatewaySAFE

mcp/supercorp-ai/supergateway

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

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
39 38r · 1w · 0d
Transport
sse · stdio · streamable-http
License
MIT
Stars
2,895
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Supergateway runs MCP stdio-based servers over SSE (Server-Sent Events) or WebSockets (WS) with one command. This is useful for remote access, debugging, or connecting to clients when your MCP server only supports stdio.

Questions, ideas or just want to chat? Join the community on Discord.

Supported by:

Installation & Usage

Run Supergateway via npx:

npx -y supergateway --stdio "uvx mcp-server-git"
  • `--stdio "command"`: Command that runs an MCP server over stdio
  • `--sse "https://mcp-server-ab71a6b2-cd55-49d0-adba-562bc85956e3.supermachine.app"`: SSE URL to connect to (SSE→stdio mode)
  • `--streamableHttp "https://mcp-server.example.com/mcp"`: Streamable HTTP URL to connect to (StreamableHttp→stdio mode)
  • `--outputTransport stdio | sse | ws | streamableHttp`: Output MCP transport (default: sse with --stdio, stdio with --sse or --streamableHttp). A remote server given with --sse or --streamableHttp can be served over sse, ws or streamableHttp too; see Remote server → SSE, WS or Streamable HTTP
  • `--port 8000`: Port to listen on (stdio→SSE, stdio→WS or stdio→Streamable HTTP mode, default: 8000)
  • `--host 127.0.0.1`: Address to listen on, e.g. 127.0.0.1 or ::1 ([::1] also works) (stdio→SSE, stdio→WS or stdio→Streamable HTTP mode, default: every interface). --baseUrl does not control binding: only --host limits which addresses accept connections. Refused in SSE→stdio and Streamable HTTP→stdio mode, which listen on nothing
  • `--baseUrl "http://localhost:8000"`: Base URL for SSE clients (stdio
Read from source at commit 21a82611f485OBSERVED · 2026-10-12
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add supergateway --env CONTINUATION_SHARED_TEST_KEY=${CONTINUATION_SHARED_TEST_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "supergateway": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CONTINUATION_SHARED_TEST_KEY": "${CONTINUATION_SHARED_TEST_KEY}"
      }
    }
  }
}
03

Exposed tools (39)

38 read · 1 write · 0 destructive.

ToolRiskDescription
TemplatereadA resource template
WatchedreadA resource to subscribe to
addwrite
announceread
arg1readFirst test argument
arg2readSecond test argument
armExitread
askread
bigread
chattyread
crashread
delayedread
diagnosticread
echoread
elicitread
gh_searchreadd
holdread
largeread
logread
noteread
pingread
plainread
proberead
progressread
resourceUrireadThe resource
rootsread
sampleread
searchreadd
separatorsread
shadowedErrorread
slowread
statusread
stepread
throwsread
toolErrorread
toolsChangedread
touchread
unicoderead
whoamiread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (6 observation(s))
Network
declared (3 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (18)

MEDIUMFilesystem / path · fs.system_paths · CWE-22, CWE-59
scripts/real-servers/servers.ts:232
tool('read_text_file', { path: '/etc/hosts' }),
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/install-baselines.mjs:54
JSON.parse(readFileSync(resolve(entry, '../../package.json'), 'utf8'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/install-soak-artifact.mjs:48
JSON.parse(readFileSync(resolve(entry, '../../package.json'), 'utf8'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/overnight-release.mjs:13
readFileSync(resolve(entry, '../../package.json'), 'utf8'),
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/overnight-release.mjs:19
readFileSync(resolve(entry, '../../../../artifact.json'), 'utf8'),
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/test-package.mjs:419
readFileSync(resolve(entry, '../../package.json'), 'utf8'),
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
.github/workflows/tests.yaml:508
if ! timeout 5 wget -q -S -O /dev/null http://127.0.0.1:8123/sse 2>&1 |
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/continuation-lifetime.test.ts:63
const response = await fetch(`http://127.0.0.1:${port}/mcp`, {
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/soak-scenarios.test.ts:283
sse: `http://127.0.0.1:${ports.sse}/sse`,
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/soak-scenarios.test.ts:284
stateful: `http://127.0.0.1:${ports.stateful}/mcp`,
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/soak-scenarios.test.ts:285
stateless: `http://127.0.0.1:${ports.stateless}/mcp`,
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
tests/clients/battery-peer.mjs:18
export const UNICODE = 'a👩👩👧👦b عربى c éèê d 漢字 e Uni f'
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
tests/clients/battery.go:25
unicodeStr = "a👩👩👧👦b عربى c éèê d 漢字 e Uni f"
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
tests/clients/battery.mjs:20
const UNICODE = 'a👩👩👧👦b عربى c éèê d 漢字 e Uni f'
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
tests/clients/battery.py:22
UNICODE = "a👩👩👧👦b عربى c éèê d 漢字 e Uni f"
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
tests/clients/battery.rb:11
UNICODE = "a\u{1F469}\u{1F469}\u{1F467}\u{1F466}b عربى c éèê d 漢字 e \u{1D518}\u{1D52B}\u{1D526} f"
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
body-parser, cors, express, uuid, ws, yargs, zod, @types/body-parser
Why it matters. 23 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 21a82611f485full audit observations/trust-audit/mcp-server/supercorp-ai__supergateway.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1221a82611f485SAFEB89first audit
06

Questions

What is the supergateway MCP server?

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

What tools does supergateway expose?

39 in total: 38 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is supergateway safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does supergateway need?

It reads CONTINUATION_SHARED_TEST_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does supergateway run?

It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as supergateway at 4.2.0-rc.1.

How current is this page?

The grade is for one exact copy of the source (21a82611f485), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement