Skip to main content

Connect GitHub Copilot in VS Code

OAuth browser sign-in​

Install Reconstruct in VS Code adds the server https://reconstruct.dev/mcp to your user configuration. VS Code registers itself through automatic client registration and opens Reconstruct sign-in in the browser when the server starts. If sign-in does not complete, use a personal access token instead. See client compatibility.

Personal access token​

Copy your MCP access token from your Reconstruct Platform account settings. See Before you start for the connection requirements.

Create .vscode/mcp.json in your workspace. VS Code prompts for the token and stores the answer for later use.

{
"inputs": [
{
"id": "reconstruct-token",
"type": "promptString",
"description": "Reconstruct MCP access token",
"password": true
}
],
"servers": {
"reconstruct": {
"type": "http",
"url": "https://reconstruct.dev/mcp",
"headers": {
"Authorization": "Bearer ${input:reconstruct-token}"
}
}
}
}

Run MCP: List Servers to start and inspect it. In Copilot Chat, switch to Agent mode and enable the Reconstruct tools in the tool picker. Ask Copilot to call list_products to confirm access. See the official VS Code MCP configuration.

Next, try the prompt examples.