无头网关OAuth远控
原名:mcp-oauth-remote-gateway
Manual OAuth for remote MCP servers on headless gateways.
- 分类
- 开发提效
- 版本
- v1.0.0
- 作者
- 弈韬(@ra1nzzz)
- 下载
- 2
- 收藏
- 0
- 发布
- 2026-08-25
- 更新
- 2026-09-29
- TRACE 评分
- 4.2 / 5
内容概览
Hermes' built-in MCP OAuth client runs a one-shot HTTP listener on 127.0.0.1:<port inside the Hermes process and registers that loopback address as the OAuth redirect uri. That works perfectly for a local CLI on the user's own machine. It breaks completely when Hermes runs as a remote gateway (container, VPS, messaging bot), because the user's browser resolves 127.0.0.1 to the user's own laptop, not the remote container — so the authorization code never reaches Hermes. This skill does the OAuth dance by hand and writes the resulting tokens into the exact files Hermes' token storage expects, so a subsequent /reload-mcp finds cached tokens and skips the browser flow entirely. Use this skill when all of the following are true: 1. The user wants to add a remote HTTP MCP server that requires OAuth (not a static Bearer token). 2. Hermes is running as a remote gateway (container, VPS, Docker, m…