Table of Contents

Connect GitHub Copilot

Connect GitHub Copilot in Visual Studio Code to a DynamicWeb 10 solution through the MCP server

Use this guide to connect GitHub Copilot in Visual Studio Code to your DynamicWeb solution through the DynamicWeb MCP Server.

Note

Before you follow this guide, make sure you've completed the setup in Connect an agent.

Visual Studio Code 1.99 or later is required.

Configure mcp.json

GitHub Copilot uses an mcp.json file for MCP configuration.

  1. In Visual Studio Code, open or create .vscode/mcp.json in your project, or use the user-level configuration for global access
  2. Add the DynamicWeb MCP server:
{
	"servers": {
		"dynamicweb": {
			"type": "http",
			"url": "https://<your-dw-instance>/Admin/mcp",
			"headers": {
				"Authorization": "Bearer <your-api-key>"
			}
		}
	}
}
  1. Click the Start button shown at the top of the file to activate the server
  2. Open Copilot Chat, switch to Agent mode, and click the tools icon to confirm that the DynamicWeb tools are available
Note

If you are on a Copilot Business or Enterprise plan, an organization admin must enable the MCP servers in Copilot policy before this will work

To top