mcp-gateway-go
About
A Go gateway that converts stdio-based MCP servers to SSE endpoints using mcp-go.
Details
- Author
- zhengkunwang223
- GitHub stars
- 4
- Downloads
- 163
- Categories
- Other
Jump to
- Converts stdio MCP servers to SSE endpoints.
- Configurable SSE and message paths.
- Optional OAuth2 Bearer token authentication.
- Lightweight, single Go binary.
- Uses standard HTTP for real-time client communication.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
mcp-gateway-goCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install the binary with go install github.com/zhengkunwang223/mcp-gateway-go@latest, then run it from the command line using flags such as --port, --baseUrl, and --command to specify the target MCP server. Optional flags like --ssePath, --messagePath, and --oauth2Bearer allow further customisation.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp-gateway-go": {
"mcp-gateway-go": {
"type": "http",
"url": "http://localhost:7979/sse"
}
}
}
}
McpServers
{
"mcp-gateway-go": {
"type": "http",
"url": "http://localhost:7979/sse"
}
}
mcp-gateway-go
mcp-gateway-go is a lightweight Go-based gateway that transforms a standard input/output (stdio) Model Context Protocol (MCP) server into a Server-Sent Events (SSE) endpoint. This enables real-time communication with clients such as web browsers or AI agents over HTTP.
Installation & Usage
go install github.com/zhengkunwang223/mcp-gateway-go@latest
mcp-gateway-go --port 7979 --baseUrl http://127.0.0.1:7979 --command "npx -y @modelcontextprotocol/server-filesystem /tmp"
- --port 7979: Port to listen on (default: 7979)
- --baseUrl "http://localhost:7979": Base URL for SSE
- --ssePath "/sse": Path for SSE subscriptions (default: /sse)
- --messagePath "/message": Path for messages (stdio→SSE default: /message)
- --oauth2Bearer "some-access-token": Adds an Authorization header with the provided Bearer token
📚 Additional Resources
- mcp-go
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



