Update MCP documentation to use `mcp.json` file instead of `settings.json` in VS Code

Ouverte
#46,327 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@ashis-baral y travaille déjà.

Depuis le 15/10/2026.

  • #46328 par @ashis-baral — ouverte

Évaluation

Difficulté
1/5
Temps estimé
Moins d'une heure
Accessibilité débutants
25/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
vscode
Domaine
documentation

Piste de recherche

The affected text is the 'Configuring MCP servers manually' section of the Copilot Chat MCP article on docs.github.com. Check the Visual Studio Code instruction that says to use settings.json, and confirm against the issue's report that the user configuration opens mcp.json. Pull request #46328 is already open against this issue, so review that work rather than starting a new edit. Done means the section names mcp.json and the user-level setup steps match what VS Code does.

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

Description

content
Code of Conduct
What article on docs.github.com is affected?

https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/extend-copilot-with-tools-and-context/extend-copilot-chat-with-mcp#configuring-mcp-servers-manually

What part(s) of the article would you like to see updated?

The article states:


Your personal instance of Visual Studio Code. You will be the only person who has access to configured MCP servers. To do this, add the configuration to your settings.json file in Visual Studio Code. MCP servers configured this way will be available in all workspaces.

However, this instruction does not work as expected with Visual Studio Code.

When I add the MCP server configuration to settings.json, the MCP server does not work. When I add the same configuration to mcp.json, the MCP server works correctly.

Additionally, when I open the Command Palette and run MCP: Open User Configuration, Visual Studio Code opens mcp.json, not settings.json.

Additional information

The documentation should specify the correct configuration file and provide accurate instructions for configuring user-level MCP servers that are available across workspaces.

Langage dominant
TypeScript
Étoiles
21.1k
Forks
69.3k
Merge moyen
17 h 10 min
PR mergées (30 j)
89

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/docs

Toutes les issues de github/docs

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

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