Skip to content

Can not authorize MCP server using Oauth #3393

@hieudmg

Description

@hieudmg

Describe the bug

I'm trying to add sentry MCP server to copilot but it stuck on authentication step.

Affected version

GitHub Copilot CLI 1.0.49

Steps to reproduce the behavior

  1. Add sentry MCP server to ~/.copilot/mcp-config.json
  "sentry": {
    "url": "https://mcp.sentry.dev/mcp"
  }
  1. start copilot cli and run /mcp auth sentry

Expected behavior

It shows a url to open and authorize on the web

Actual result

It show this and stuck until timed out

 Authenticating: sentry

 ◎ Waiting for authorization in browser...

Additional context

The CLI is running on a remove server and I accessed via SSH, so opening in a browser should not be expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authenticationLogin, OAuth, device auth, token management, and keychain integrationarea:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registry

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions