github / github/app

[Bugs] Copilot App fails to start MCP OAuth login for github-spaces from the Setting...

Abierto
#306 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Bugs
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Mood:** 😊
**Category:** Bugs

Copilot App fails to start MCP OAuth login for github-spaces from the Settings “Sign in” flow.

Observed behavior

In Copilot App Settings, github-spaces shows Sign in.
Clicking Sign in immediately returns Request Error.
App log shows:
start_mcp_oauth_login is received
then Request session.mcp.oauth.login failed with message: Failed to register OAuth client
server name: github-spaces
Why this looks like an App-side OAuth flow issue

Running the bundled CLI binary directly (...github-copilot-sdk-1.0.49\copilot.exe) does not reproduce this exact failure.
Direct CLI can call github-spaces MCP and reaches a later-stage API response (twirp error not_found) instead of failing at OAuth client registration.
So the failure appears specific to the Copilot App “Sign in” path (OAuth client registration step), not basic MCP connectivity.
Relevant config/log context

MCP server config is in ~/.copilot/mcp-config.json (not ~/.copilot/mcp.json in this environment).
github-spaces config:
URL: https://api.githubcopilot.com/mcp/
Header: X-MCP-Toolsets: default,copilot_spaces
App log evidence includes:
failed to start MCP OAuth login ... Failed to register OAuth client server_name=github-spaces
repeated on multiple attempts.

---
| Field | Value |
| --- | --- |
| App version | 0.2.7 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 7 (Week 1) |

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.