VS Code + Copilot
MCP support in VS Code requires GitHub Copilot extensions and specific settings to be enabled. See the prerequisites below.
Prerequisites
- GitHub Copilot and GitHub Copilot Chat extensions installed and enabled.
- MCP enabled in workspace settings: Settings → search "mcp" → under Chat, ensure MCP is enabled.
- Instruction files enabled: Settings → search "github.copilot.chat.codeGeneration.useInstructionFiles" → check the box.
Configuration
Create .vscode/mcp.json in your project root:
{
"servers": {
"driver-mcp": {
"type": "http",
"url": "https://api.us1.driverai.com/mcp/v1"
}
}
}The URL above is for Driver's shared multi-tenant environment. If your organization uses a single-tenant deployment, your URL will follow the format https://api.<tenant>.driverai.com/mcp/v1. Check with your Driver admin for the correct URL.
Authentication
Start the server
Open .vscode/mcp.json in the editor. Click the Start button that appears inline.
Accept authentication
Accept the prompt to authenticate with driverai.com.
Open external site
Accept the prompt to open the external website.
Log in
Log in with your Driver credentials. The status changes from Start to Running.
Agent Instructions
Add Driver's tool instructions to .github/copilot-instructions.md in your project root, then use Agent mode in Copilot Chat. See Agent Instructions for the full setup and the instruction content to include.