Basic information
About mcp-gateway-go Server
A Go gateway that converts stdio-based MCP servers to SSE endpoints using mcp-go.
mcp-gateway-go is a MCP server in the Other category listed in the AddMCP.net directory, published by zhengkunwang223. Supported transport: stdio. Runtime: go. The repository has 4 GitHub stars. Source code is hosted on github.com.
Setup
claude mcp add mcp-gateway-go --transport http http://localhost:7979/sse
[mcp_servers.mcp-gateway-go] url = "http://localhost:7979/sse"
{
"mcpServers": {
"mcp-gateway-go": {
"url": "http://localhost:7979/sse"
}
}
}
{
"servers": {
"mcp-gateway-go": {
"type": "http",
"url": "http://localhost:7979/sse"
}
}
}
mcp-gateway-go config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-gateway-go": {
"type": "http",
"url": "http://localhost:7979/sse"
}
}
}
mcp-gateway-go tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is 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.
How to use mcp-gateway-go?
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.
Key features of mcp-gateway-go
- 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.
Use cases of mcp-gateway-go
- Expose a local MCP server to web applications via SSE.
- Enable AI agents to communicate with MCP servers over HTTP.
- Bridge stdio-based MCP tools to browser-based interfaces.
- Add authentication to an MCP server without modifying it.
Frequently asked questions
1 What is the purpose of mcp-gateway-go?
It acts as a bridge, turning a stdio-only MCP server into an SSE endpoint so that HTTP clients (e.g., web browsers or AI agents) can communicate with it in real time.
2 How do I install mcp-gateway-go?
Install it via Go: go install github.com/zhengkunwang223/mcp-gateway-go@latest.
3 What command-line flags are supported?
Key flags: --port (default 7979), --baseUrl, --command, --ssePath (default "/sse"), --messagePath (default "/message"), and --oauth2Bearer for Bearer token authentication.
4 Does mcp-gateway-go support authentication?
Yes. The --oauth2Bearer flag adds an Authorization header with the provided Bearer token to outgoing messages.
5 What runtimes and dependencies are required?
mcp-gateway-go is distributed as a single Go binary; the only requirement is a system that can run the compiled executable. No external runtime or framework is needed.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In