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

Offen
#46,327 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@ashis-baral arbeitet bereits daran.

Seit 15.10.2026.

  • #46328 von @ashis-baral — offen

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
25/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
vscode
Bereich
documentation

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
21.1k
Forks
69.3k
Ø Merge
17 Std. 10 Min.
Gemergte PRs (30 T.)
89

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/docs

Alle Issues in github/docs

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.