mcp.json file that can be scoped to a workspace or to your user profile.
Workspace config
Create.vscode/mcp.json in your project:
User config
For a setup that applies to every workspace, open the command palette and run MCP: Open User Configuration. VS Code opens the user-levelmcp.json.
Note the key is servers, not mcpServers like Cursor and Claude. This is a VS Code-specific variation.
Enabling agent mode
- Install the GitHub Copilot extension if you haven’t already.
- Open the Copilot chat panel.
- Switch the mode selector from “Ask” to “Agent”.
Reloading after changes
Run MCP: Reload Servers from the command palette after editingmcp.json, or reload the VS Code window.

