github / github/copilot-cli

Can not authorize MCP server using Oauth

Aperta
#3,393 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:authentication area:mcp
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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"
}
```
2. 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.