powerbi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_POWERBI_ALLOWED_READ_ROOTS | No | Semicolon-separated list of allowed roots for all file reads. Defaults to the working directory. | |
| MCP_POWERBI_ALLOWED_WRITE_ROOTS | No | Semicolon-separated list of allowed roots for all file writes. Defaults to the working directory. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pbix_overviewA | Inspect a .pbix (also .abf / PowerPivot .xlsx) without opening it: model size, tables, rough row counts, and counts of columns, measures and relationships. Start here when looking at a Power BI file. |
| pbix_schemaC | All columns of a .pbix model (table, column, data type). Optional table filter. |
| pbix_measuresC | Every DAX measure in a .pbix: home table, name, expression. |
| pbix_relationshipsB | All relationships of a .pbix model: from/to table and column, cardinality, active. |
| pbix_power_queryB | All Power Query (M) expressions of a .pbix, one per table. |
| pbix_table_dataC | Decoded rows of one table in a .pbix (max 500 rows per call). |
| create_pbip_projectA | Create a new Power BI project skeleton that opens in Power BI Desktop. Makes <parent_dir>// containing the .pbip, an empty report and an empty semantic model. Follow up with add_csv_table / add_measure / add_relationship, then validate_pbip. |
| add_csv_tableA | Add a table to a project, loaded from a CSV via Power Query. Types are inferred from the CSV. pbip_path may be the .pbip file or the project folder. Refresh in Power BI Desktop loads the data. |
| list_excel_sheetsC | Sheets of an .xlsx file with row/column counts and headers. |
| add_excel_tableB | Add a table to a project, loaded from one sheet of an .xlsx file (types come from the Excel column types). sheet='' = first sheet. |
| add_measureC | Add a DAX measure to a table of a project. Example: dax='SUM(Sales[NetAmount])', format_string='"$"#,##0.00'. |
| add_relationshipC | Relate two tables in a project. from_column = MANY side, to_column = ONE side, DAX style like 'Sales[StoreId]'. |
| add_date_tableA | Add a calculated calendar table (CALENDAR over MIN..MAX of date_column, e.g. 'Tilaukset[Tilauspäivämäärä]'), marked as date table, with Vuosi/Kuukausi/Kuukauden nimi/Neljännes/Vuosineljännes columns. Then relate it with add_relationship. |
| get_pbip_summaryC | Tables, columns, measures, relationships and CSV sources of a project. |
| validate_pbipB | Structural validation of a project (required files, JSON, table refs, relationship columns, duplicate lineage tags). Empty issues = valid. |
| add_pageB | Add a report page to a project. Returns the page_id for add_visual. |
| add_visualA | Add a visual to a page. visual_type: card, slicer, donutChart, pieChart, filledMap, map, barChart / columnChart (stacked; "stackedBarChart" is accepted as an alias), clusteredBarChart, clusteredColumnChart, textbox, table, matrix. fields maps roles to fields, e.g. {"Y": "Tilaukset[Myynnin arvo]", "Category": "Kunnat[Kommun]", "Series": "Tilaukset[Tuoteryhmä]"}. Roles: card/slicer=Values; donut/pie=Category+Y; bar/column charts= Category+Series+Y; filledMap/map=Category(+Y/Size); textbox: options {"text": "..."}. x/y/width/height are pixels on a 1280x720 page. legend: "Top"|"Bottom"|"Left"|"Right". title: show header. options: extra PBIR objects merged into the visual. |
| list_reportC | Pages and visuals of a project (name, type, position, fields). |
| remove_visualC | Delete a visual from a page by name. |
| remove_pageA | Delete a whole page (id or display name). Cannot remove the last page. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
The set splits cleanly into .pbip authoring tools (add_*, remove_*, create_pbip_project, validate_pbip) and .pbix inspection tools (pbix_*), and descriptions make the file-format distinction explicit. The only mild overlaps are get_pbip_summary vs list_report vs pbix_overview, which are separated by target artifact, and add_date_table vs add_measure, which the description clarifies.
Most tools follow a readable verb_noun snake_case pattern (add_measure, remove_page, list_report, validate_pbip). The pbix_* family uses a noun-first namespace prefix instead, and pbix_overview is a noun-style tool where others are verbs, but it functions as a coherent grouping convention rather than chaos.
20 tools is slightly above the comfortable band, but the surface covers two genuinely distinct workflows (authoring .pbip projects and introspecting .pbix binaries), and each tool maps to a concrete operation. Very few tools look redundant or filler-ish, so the count is defensible.
Creation is well covered (project, tables, measures, relationships, date table, pages, visuals) plus validation and inspection, but the surface is add-heavy: there is no remove/update for measures, tables, or relationships, and no way to edit an existing visual. An agent that makes a modeling mistake has to fall back to manual file edits, which is a notable lifecycle gap.