
zhengkunwang223/mcp-gateway-go
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
A Go gateway that converts stdio-based MCP servers to SSE endpoints using mcp-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. - : Port to listen on (default: 7979) - : Base URL for SSE - : Path for SSE subscriptions (default: /sse) - : Path for messages (stdio→SSE default: /message) - : Adds an Authorization header with the provided Bearer token
README
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 anAuthorizationheader with the provided Bearer token
📚 Additional Resources
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →