Skip to content

Cline on VsCode(Version: 1.101.0): Unable to authenticate with Remote Github MCP server #531

Closed
@pahadiprogrammer

Description

@pahadiprogrammer

Describe the bug

On VsCode Cline when adding remote github mcp server config getting the error 401. The config is

"github-mcp-server": {
      "disabled": false,
      "timeout": 60,
      "type": "sse",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer <PAT>"
      }
}

Affected version

Trying to connect to remote github mcp server. VsCode version is recommended one only - 1.101.0

Steps to reproduce the behavior

  1. Add the above config in cline mcp server config
  2. Can see the below error
Image

Expected vs actual behavior

Expected behavior is that Github mcp server should be added successfully on cline in VsCode successfully. Actual behavior is that github mcp server connection fails with 401 on cline

Logs

None

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions