Requires Node 18+ on your system so npx can fetch the package on first run. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register @microsoft/powerbi-modeling-mcp-win32-x64.
.vscode/mcp.json (project root — committed with the repo)~/.vscode/mcp.json{
"servers": {
"powerbi-modeling-mcp": {
"type": "stdio",
"command": "[Path To MCP Server folder]\\powerbi-modeling-mcp.exe",
"args": [
"--start",
"--skipconfirmation",
"--authmode=interactive"
],
"env": {
"PBI_MODELING_MCP_ACCESS_TOKEN": "[ACCESS_TOKEN]"
}
}
}
}