opencode
opencode copied to clipboard
Is github mcp serve with oauth supposed to be working?
Question
I have tried to get it to work but no luck with it showing up as a oauth based mcp server.
Tried this:
"github": {
"type": "remote",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"X-MCP-Toolsets": "repos,issues",
"X-MCP-Readonly": "true"
},
"timeout": 15000
}
Am I doing something wrong here?
$ opencode mcp list
● ✗ github failed
│ Dynamic client registration failed: HTTP 422
│ https://api.githubcopilot.com/mcp/
$ opencode mcp auth github
▲ No OAuth-enabled MCP servers configured
This issue might be a duplicate of existing issues. Please check:
- #5444: MCP with oauth doesn't work - User experiencing similar issue where OAuth-enabled MCP servers are not being recognized, with the same "No OAuth-enabled MCP servers configured" error message when trying to authenticate.
Feel free to ignore if none of these address your specific case.