github / github/app

[Bug] MCP settings shows no servers although user config APIs return enabled servers

Ouverte
#2,891 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Aucune donnée de langage
Étoiles
2.1k
Forks
153
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Short summary

After upgrading and restarting the GitHub Copilot app, **Settings > MCP servers** shows **"No servers configured"**, even though user-level MCP configuration is intact and the configured servers remain available to sessions.

This may be related to #2838, but this report includes a reproducible case on v1.1.10 where the bundled SDK can read and discover the servers successfully while the settings UI renders an empty list.

### Affected version or release

- GitHub Copilot app: 1.1.10
- Bundled Copilot CLI runtime: 1.0.80
- OS: Windows

### What happened?

The MCP settings page reports that no servers are configured.

Independent checks using the app's bundled SDK show:

- `mcp.config.list`: 5 user-configured servers
- `mcp.discover`: 5 servers
- Source: `user`
- Enabled: `true` for all 5

Each of the five configured MCP servers was also tested with a real, read-only tool call and responded successfully. The issue therefore appears limited to the settings UI's configured-server list rather than configuration loss or MCP runtime failure.

Server names, URLs, credentials, and tool response data are intentionally omitted.

### Steps to reproduce

1. Configure multiple user-level MCP servers for Copilot CLI / the GitHub Copilot app.
2. Confirm they are available and functioning.
3. Upgrade to GitHub Copilot app v1.1.10 and restart the app.
4. Open **Settings > MCP servers**.
5. Observe **"No servers configured"**.
6. Query the same runtime through the bundled SDK using `mcp.config.list` and `mcp.discover`.
7. Observe that both APIs still return the enabled user servers.

### Expected behavior

The MCP settings page should list the same user-configured servers returned by `mcp.config.list` / `mcp.discover`, including their enabled and connection state.

### Additional context

- The user-level MCP configuration file remains valid and unchanged.
- No configured servers are marked disabled.
- No enterprise MCP policy is filtering these servers.
- Restarting the app did not restore the list.
- The configured MCP tools remain usable from sessions despite the empty settings page.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start at Settings > MCP servers and trace how the UI obtains its configured-server list; compare it with the bundled SDK calls mcp.config.list and mcp.discover. Done means the page lists the same enabled user servers and shows their enabled and connection state, while existing sessions continue to use them.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github
Domaine
desktop
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.