Skip to content
VS Code

Powerbi for VS Code

io.github.asklokesh/powerbi-mcp-server

MCP server for Power BI API integration

client:VS Code transport:stdio runtime:pypi

Install Powerbi in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "powerbi-api-key",
      "description": "POWERBI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "powerbi-api-url",
      "description": "POWERBI_API_URL",
      "password": true
    }
  ],
  "servers": {
    "powerbi-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "powerbi-mcp-server"
      ],
      "env": {
        "POWERBI_API_KEY": "${input:powerbi-api-key}",
        "POWERBI_API_URL": "${input:powerbi-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Powerbi in other clients