Skip to main content
Glama
nguyenanhducdeveloper86

mcp-powerBI-to-report

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POWERBI_TENANTNoAzure AD tenant ID or domain (e.g., 'vnu.edu.vn'). Required for service principal authentication.
POWERBI_CLIENT_IDNoAzure application client ID for service principal authentication.
POWERBI_ACCESS_TOKENNoPower BI access token for direct authentication. If set, service principal credentials are ignored.
POWERBI_CLIENT_SECRETNoAzure application client secret for service principal authentication.
POWERBI_KNOWN_WORKSPACESNoComma-separated list of known workspace names for CEO mode.
POWERBI_DEFAULT_WORKSPACENoDefault workspace name for CEO mode.
POWERBI_MODELING_MCP_ARGSNoAdditional arguments for the Modeling MCP command.
POWERBI_REPORT_OUTPUT_DIRNoDirectory to save generated HTML reports. Default: './powerbi-report-output'.
POWERBI_MODELING_MCP_COMMANDNoPath or command to the Microsoft Power BI Modeling MCP binary. Default: 'npx -y @microsoft/powerbi-modeling-mcp@latest --start'.
POWERBI_DEFAULT_SEMANTIC_MODELNoOptional fallback semantic model name if not provided in queries.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
auth_statusA

Show which Power BI authentication mode is configured without exposing tokens.

start_device_loginA

Start delegated user device-code login for Power BI REST API. Use only for one-time local setup; service principal is recommended for production.

complete_device_loginA

Poll Microsoft for the pending device-code login and cache the token when authorization is complete.

list_workspacesA

List all Fabric/Power BI workspaces visible to the authenticated account through the Power BI REST API. Use this first when the user does not provide a workspace name or id.

list_semantic_modelsA

List semantic models in My workspace or in a specific workspace by id. Use list_workspaces first to resolve workspace ids. If workspace discovery is not authenticated and the user did not name a workspace, ask the user which workspace to use.

get_catalogA

Return all visible workspaces and semantic models via Power BI REST API. This is the preferred tool for open-ended questions such as 'which model should I use?' or 'what workspaces can I access?'.

list_semantic_models_in_workspace_via_modeling_mcpA

Use Microsoft powerbi-modeling-mcp/XMLA auth to list semantic models inside a known workspace name. This is a fallback when REST workspace discovery auth is unavailable. The workspace name must be explicit; if it is missing, ask the user instead of guessing.

get_known_workspace_catalogA

List semantic models for manually configured POWERBI_KNOWN_WORKSPACES using Microsoft Modeling MCP. Use this for CEO workflows when REST workspace discovery is unavailable.

execute_dax_queryA

Execute a DAX query against a Power BI semantic model using default workspace/model when omitted. This keeps the Microsoft Modeling MCP process alive to reduce repeated login prompts.

execute_dax_report_queryA

Execute a DAX query against a Power BI semantic model and return both a concise text answer and a self-contained HTML dashboard/report for executive review. Prefer this tool for boss/CEO business questions.

execute_dax_dashboard_queryA

Alias for execute_dax_report_query kept for compatibility with earlier dashboard workflows.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nguyenanhducdeveloper86/mcp-powerBI-to-report'

If you have feedback or need assistance with the MCP directory API, please join our Discord server