servers key (not mcpServers) and can be scoped globally or per-project.
MCP tool use requires GitHub Copilot Chat with Agent mode enabled. Make sure you’re running VS Code 1.99 or later.
Global installation
The global MCP config is stored in VS Code’s user data directory.- macOS
- Linux
- Windows
File:
~/Library/Application Support/Code/User/mcp.jsonProject-scoped installation
Add.vscode/mcp.json to your project root. VS Code picks this up automatically when the workspace opens.
Verify the server is running
- Open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P). - Run “MCP: List Servers” — confirm perfai-mcp appears and shows a running status.
- If it’s stopped, run “MCP: Restart Server” and select perfai-mcp.
Login
The prompts below run inside Copilot Chat (Agent mode), not your terminal. The only terminal/file steps are editing the config.
PERFAI_USERNAME / PERFAI_PASSWORD from the config, signs you in, and saves the session locally. Confirm with:

