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

Aberta
#46,327 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@ashis-baral já está trabalhando nisso.

Desde 15/10/2026.

  • #46328 de @ashis-baral — aberto

Avaliação

Dificuldade
1/5
Tempo estimado
Menos de uma hora
Facilidade para iniciantes
25/100
Tipo de issue
Documentação
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
vscode
Domínio
documentation

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
21.1k
Forks
69.3k
Merge médio
11h 17min
PRs com merge (30d)
83

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/docs

Todas as issues de github/docs

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.