开发环境配置工具

一个用于配置本地开发环境的工具,集成GitHub Copilot和多个MCP服务器(NuGet、Docker Hub、GitHub、Microsoft Learn和假数据生成器)。

  • by renatogroffe
  • 本地部署
  • 6 星标
  • 更新于
在 GitHub 查看 renatogroffe/vscode-mcp-dev-enviroment-2026-01

使用说明

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
		}
	]
}