MCP Server Setup for Power BI 2026

You are installing the Power BI Modeling MCP Server β€” a local server that allows VS Code + GitHub Copilot to connect to a running Power BI Desktop model so your AI assistant can read and interact with the semantic model. (GitHub)


πŸ› οΈ Prerequisites (Before You Start)

Make sure you have:

βœ”οΈ Windows OS (MCP for Desktop works only on Windows)
βœ”οΈ Power BI Desktop installed
βœ”οΈ Visual Studio Code
βœ”οΈ GitHub Copilot + GitHub Copilot Chat extensions in VS Code


πŸ“¦ Step 1 β€” Install the MCP Server

βœ… Option A β€” Use VS Code Integration (Recommended)

  1. Open Visual Studio Code
  2. Go to Extensions
  3. Search and install:
    • Power BI Modeling MCP extension
    • GitHub Copilot + Copilot Chat
  4. After installation open the GitHub Copilot Chat panel and confirm that powerbi-modeling-mcp appears as a registered MCP server option. (GitHub)

This method manages the MCP server for you inside VS Code.


🧠 Step 2 β€” Make Sure Power BI Desktop Is Running

  1. Open Power BI Desktop
  2. Load your .pbix file
  3. Keep the file open β€” the MCP server will auto-discover the model when connecting later.

βš™οΈ Step 3 β€” Enable GitHub Copilot Agent Mode

  1. In VS Code, open GitHub Copilot Chat
  2. Click the Tools / Agent Mode button to activate agent-style interactions
  3. This lets Copilot use the MCP tools to communicate with your Power BI model.

Copilot + its MCP toolset must be running together so that the MCP server appears active when you start querying. (GitHub)


πŸ§ͺ Step 4 β€” Connect to Your Power BI Model

With VS Code + Copilot Chat open:

  1. Ask a simple prompt like:List all tables in my open Power BI model
  2. Copilot will use the MCP server to detect the open desktop instance and return the list.

Once connected, you can use natural language to:

βœ” list tables, columns, measures
βœ” run or validate DAX queries
βœ” get column details, relationships, model stats
βœ” ask Copilot to generate or refactor DAX code based on your prompts

The MCP server handles all the connection and tooling protocols under the hood. (GitHub)


🧹 Optional Manual MCP Server Install

If you don’t want to use the VS Code extension:

  1. Download the latest .vsix from the marketplace
  2. Rename it to .zip and extract
  3. Run the included powerbi-modeling-mcp.exe
  4. Register it manually in VS Code’s MCP config (.vscode/mcp.json) with:
{
  "servers": {
    "powerbi-modeling-mcp": {
      "type": "stdio",
      "command": "C:\\MCPServers\\PowerBIModelingMCP\\extension\\server\\powerbi-modeling-mcp.exe",
      "args": ["--start"],
      "env": {}
    }
  }
}

This is only needed if you can’t use the VS Code extension. (GitHub)


🎯 Quick Troubleshooting Tips

βœ” Make sure Power BI Desktop is open with your report loaded
βœ” Restart VS Code after installing the MCP extension
βœ” Enable Agent Mode in GitHub Copilot Chat
βœ” Confirm Copilot + MCP server appears in the chat tools panel

If Copilot doesn’t show an MCP connection, reload the window. (GitHub)

πŸ”– Summary

βœ… Install VS Code + GitHub Copilot extensions
βœ… Install the Power BI Modeling MCP extension
βœ… Open your Power BI Desktop file
βœ… Enable Agent Mode in Copilot Chat
βœ… Use natural language prompts to explore or modify your model

This setup lets your AI-assisted development workflows connect directly to your local Power BI Desktop semantic model. (GitHub)


#PowerBI #MCPServer #PowerBIDesktop #VSCode #GitHubCopilot #DataModeling #SemanticModels #DAX #AIforBI #DataAnalytics #Datatipss