github / github/copilot-cli

Can not authorize MCP server using Oauth

Abierto
#3,393 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:authentication area:mcp
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start with the `/mcp auth sentry` entry point and the MCP configuration shown in `~/.copilot/mcp-config.json`. Reproduce the flow over SSH using the Sentry server URL, then trace where browser authorization is awaited. Done means remote users can complete or continue OAuth without requiring a browser on the CLI host.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Área
authentication, cli
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.