GitHub Copilot in VS Code supports MCP via a user or workspace MCP configuration file.
Open MCP settings
- Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`) → MCP: Open User Configuration
- Or edit `.vscode/mcp.json` in your workspace
OAuth configuration
VS Code uses a top-level `servers` key (not `mcpServers`):
json
{
"servers": {
"chamelain": {
"url": "https://your-mcp-host.example.com/mcp"
}
}
}Enable tools in agent mode
- Open GitHub Copilot Chat.
- Switch to Agent mode.
- Ensure MCP tools are enabled for the workspace.
Reload the window after saving MCP settings. Complete browser OAuth when Copilot first invokes chamelAIn tools.