What is SuperGateway?
SuperGateway is a tool that converts standard input and output (stdio) into Server-Sent Events (SSE). This enables Model Context Protocol (MCP) servers, which typically use stdio, to be accessed remotely over an SSE connection.
How to use it?
After building the project with Maven, run the application with the necessary command-line options to start the conversion from stdio to SSE.
Key features include:
Converting stdio-based MCP servers into SSE services.
Supporting multiple simultaneous client connections.
Automatic recognition and forwarding of JSON-formatted output.
CORS support and a dedicated health check endpoint.
Configurable log levels for operation visibility.
Common use cases:
Providing remote access to MCP servers via SSE.
Integrating with web applications that require real-time data streams.
Facilitating JSON-based communication between different services.
Frequently Asked Questions:
What are the system requirements?
Java 17 or higher and Maven 3.6 or higher are required.
Can I run multiple instances?
Yes, by specifying a different port for each instance.
How do I check if the service is running?
Use the provided health check endpoint to verify the service status.