vscode-mcp-dev-enviroment-2026-01
Exemplo de arquivo mcp.json do Visual Studio Code configurado para testes de desenvolvimento locais, integrando o GitHub Copilot a MCP Servers do NuGet, Docker Hub, GitHub, Microsoft Learn e um gerador de dados fake (imagem renatogroffe/dotnet10-consoleapp-mcp-fakedata).
Referências utilizadas:
Arquivo mcp.json com as configurações:
{
"servers": {
"nuget": {
"type": "stdio",
"command": "dnx",
"args": [
"NuGet.Mcp.Server@1.1.29",
"--yes"
]
},
"docker": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"HUB_PAT_TOKEN=${input:hub_pat_token}",
"mcp/dockerhub"
],
"type": "stdio"
},
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
},
"microsoft-learn": {
"url": "https://learn.microsoft.com/api/mcp",
"type": "http"
},
"dotnet10-consoleapp-fakedata": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"renatogroffe/dotnet10-consoleapp-mcp-fakedata:2"
],
"type": "stdio"
}
},
"inputs": [
{
"id": "hub_pat_token",
"type": "promptString",
"description": "Docker Hub Personal Access Token",
"password": true
}
]
}