MCP server unavailable is reported as "waiting on ide" and hangs copilot-cli
Nadie ha tomado este issue todavía.
- 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
If you have an entry like this in your ~/.copilot/mcp-config.json
"dummy": {
"tools": [
"*"
],
"type": "http",
"url": "http://bextop17:4000/mcp",
"headers": {
"Authorization": "Bearer token"
}
}
And the host is unavailable (it is in DNS but the system as a whole is unreachable) then copilot will hang on startup eventually showing the message "waiting on ide." IDE is not in use.
Important: using a non-existent dns name will NOT recreate this error. The host must be defined in DNS and not available. Using an existing host with a down service (system up, but port not) will NOT recreate this. My tests were confirmed by unplugging a system next to me's ethernet cable.
Affected version
GitHub Copilot CLI 1.0.81-6
Steps to reproduce the behavior
- Define an mcp server for a system that has a valid dns name but is not on the network
- start copilot cli
- see error
Expected behavior
The cli should report the correct error message and not hang on a missing mcp server.
Additional context
This is on MacOS 15.7.7 (24G720) connecting to an mcp server on my local network which I had unplugged from the network for $reasons. This left the name in DNS but the system unavailable.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza por la ruta de inicio de la CLI que se conecta a los servidores MCP configurados y, a continuación, reproduce el problema usando un host resoluble mediante DNS que no sea accesible en la red. Se considera terminado cuando la CLI informa correctamente del fallo de conexión de MCP y continúa sin quedarse bloqueada ni mostrar incorrectamente "waiting on ide.".
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- macos
- Área
- cli, networking
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 58/100