supergateway

supercorp-ai
1700
Run MCP stdio servers over SSE and SSE over stdio. AI gateway.

Overview

supergateway Introduction

Supergateway is a tool that allows you to run MCP stdio-based servers over Server-Sent Events (SSE) or WebSockets (WS) with a single command. It facilitates remote access, debugging, and client connections when the MCP server only supports stdio.

How to Use

To use Supergateway, run the command via npx: `npx -y supergateway --stdio "uvx mcp-server-git"`. You can customize various options such as the transport method (sse or ws), port, and additional headers.

Key Features

Key features of Supergateway include support for multiple transport methods (SSE and WS), easy installation via npx, customizable command options, and the ability to enable CORS for cross-origin requests.

Where to Use

Supergateway can be used in various fields such as web development, remote server management, and debugging applications that rely on MCP servers, especially in scenarios where stdio is the only supported interface.

Use Cases

Use cases for Supergateway include remote debugging of MCP servers, connecting clients to MCP servers that only support stdio, and integrating MCP servers into web applications using SSE or WS for real-time data streaming.

Content