claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Claude Code cannot connect to GitHub's remote MCP server using OAuth authentication

Open pablospe opened this issue 5 months ago • 7 comments

Environment

  • Platform (select one):
    • [x] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: 1.0.51 (Claude Code)
  • Operating System: Ubuntu 22.04
  • Terminal: any

Bug Description

Claude Code cannot connect to GitHub's remote MCP server using OAuth authentication at https://api.githubcopilot.com/mcp/, while the same configuration works in VS Code.

Steps to Reproduce

Configure Claude Code with GitHub MCP server: claude mcp add github-server https://api.githubcopilot.com/mcp/

Additional Context

Related Issues:

https://github.com/github/github-mcp-server/issues/549#issuecomment-3013969822 https://github.com/github/github-mcp-server/issues/603

pablospe avatar Jul 13 '25 08:07 pablospe