opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Is github mcp serve with oauth supposed to be working?

Open sheldonhull opened this issue 1 month ago • 2 comments

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

sheldonhull avatar Dec 18 '25 00:12 sheldonhull

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.

github-actions[bot] avatar Dec 18 '25 00:12 github-actions[bot]