How does authentication work?
On first connection to an auth‑requiring server, you are prompted to open a URL in your browser to authorize. The program waits for the OAuth flow, then stores tokens in `~/.mcp-auth` for reuse.
@naotama2002
Basic information
This Go implementation allows MCP clients that only support local (stdio) connections to connect to remote MCP servers with authentication support.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-remote-go": {
"command": "docker",
"args": [
"pull",
"ghcr.io/naotama2002/mcp-remote-go:latest"
]
}
}
}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.
It is a Go implementation that proxies between a local MCP client using stdio transport and a remote MCP server using Server-Sent Events (SSE) with OAuth authentication. It enables MCP clients that only support local connections to reach remote servers securely.
Install by building from source or pulling the Docker image from GitHub Container Registry. Run as mcp-remote-go <remote-sse-url> [port] [--header ...] [--allow-http] or via Docker with docker run .... Configure MCP clients (Claude Desktop, Cursor, Windsurf) by editing their JSON config files to point to the binary or Docker command.
~/.mcp-auth for reuse.On first connection to an auth‑requiring server, you are prompted to open a URL in your browser to authorize. The program waits for the OAuth flow, then stores tokens in `~/.mcp-auth` for reuse.
Run `rm -rf ~/.mcp-auth` to delete all stored OAuth tokens.
Set the environment variable `SSL_CERT_FILE` to the path of your CA certificates file before running the program.
Pass the port number as a second argument; e.g., `mcp-remote-go https://remote.mcp.server/sse 9090`. In Docker, map the container port accordingly.
Yes, use the `--allow-http` flag. This should only be done on trusted internal networks, as HTTPS is normally required.
MCP Toolbox for Databases is an open source MCP server for databases.
Hindsight: Agent Memory That Learns
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
Painless E2E Automation for Mobile and Web
Comments