claude-code
claude-code copied to clipboard
Claude Code cannot connect to GitHub's remote MCP server using OAuth authentication
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