MCP server · Audited from source
Power BI MCP server
by sulaiman013/powerbi-mcpMIT licenceAudited 7 Oct 2026 · source 200d247c8351
Is it safe? Yes — SAFE, grade B (89/100). It exposes 74 tools: 46 read, 25 write and 3 destructive. The audit recorded 5 findings (0 critical, 0 high, 1 medium, 4 low). Maintainer's description: MCP server for natural language interaction with Power BI datasets
Cite
Cite this page
ModelsAtlas. “Power BI MCP server (sulaiman013/powerbi-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/sulaiman013/power-bi-1
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
5 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 4 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
sulaiman013User accountAccount type recorded when we read the repository. - PackageNo packageRuns from a repository checkout or a hosted URL.
- LicenceMITFrom the repository, as read at the audited commit.
- Last push3 months agoActivity of the repository when we read it.
- Source commit read200d247c8351The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory74 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (5)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
delete_measure, delete_relationship, desktop_set_rls_role
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWObfuscation / stealthobf.decode_call · src/server.py:4257
data = base64.b64decode(snap.get("payload") or "")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · tests/test_phase3_rename_safety.py:31
p.write_bytes("table Sales\r\n\tcolumn Amount\r\n".encode("utf-8"))- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · tests/test_phase3_rename_safety.py:33
check("BOM stripped from text", not text.startswith(""))- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · requirements.txt
mcp, msal, requests, python-dotenv, psutil, pythonnet, pyadomd, pyyaml
- Why
- 8 requirement(s) not pinned with ==
- Fix
- pin exact versions
Tools it exposes
74 declared in source · 3 destructive
3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_measure | destructive | Delete a measure from the Power BI Desktop model. |
delete_relationship | destructive | Delete a relationship in the connected Power BI Desktop model (TOM), identified by name or by from/to table (and optionally column). Honors an open tom transaction. |
desktop_set_rls_role | destructive | Set or clear the active RLS role for testing. When set, all queries will be filtered by that role |
analyze_query_performance | write | Execute a DAX query and report duration, row count, and heuristic optimization hints. For storage-engine vs formula-engine server timings use DAX Studio. |
batch_create_measures | write | Create MANY measures on a table of the connected Power BI Desktop model in one all-or-nothing batch (TOM). The whole batch is pre-validated (each expression probed against the live model, duplicate names rejected) before anything is created. Honors an open tom transaction. |
batch_rename_columns | write | ⚠️ DEPRECATED: Use |
batch_rename_measures | write | ⚠️ DEPRECATED: Use |
batch_rename_tables | write | ⚠️ DEPRECATED: Use |
batch_update_measures | write | Bulk update multiple measure expressions in the Power BI Desktop model. |
create_measure | write | Create a new DAX measure in the Power BI Desktop model. |
create_relationship | write | Create a relationship between two columns in the connected Power BI Desktop model (TOM). Honors an open tom transaction. |
desktop_execute_dax | write | Execute a DAX query against the connected Power BI Desktop model |
execute_dax | write | Execute a DAX query against a Power BI Service dataset |
pbip_add_hierarchy | write | Add a drill-down hierarchy to a table OFFLINE in the loaded PBIP project (TMDL), e.g. Year > Quarter > Month > Date or Category > Subcategory > Product. Levels are existing columns of the table (validated first). |
pbip_add_measures | write | Bulk-add measures OFFLINE into a loaded PBIP project |
pbip_create_date_table | write | Create a complete DAX date-dimension table OFFLINE in the loaded PBIP project: a calculated table over CALENDAR() with Year/Quarter/Month/Month Number/Week/Day columns, marked as the model |
pbip_fix_broken_visuals | write | Fix broken visual references after a table rename. Use this when TOM/API renamed a table but visuals still reference the old name. Supports both PBIR-Legacy and PBIR-Enhanced formats. |
pbip_rename_columns | write | ✅ RECOMMENDED: Safely rename columns in a PBIP project. Updates TMDL files, DAX references, and report visuals. Close Power BI Desktop first, then reopen after. |
pbip_rename_measures | write | ✅ RECOMMENDED: Safely rename measures in a PBIP project. Updates TMDL files, DAX references, and report visuals. Close Power BI Desktop first, then reopen after. |
pbip_rename_tables | write | ✅ RECOMMENDED: Safely rename tables in a PBIP project. Updates EVERYTHING: TMDL files, DAX references (with proper quoting), report visuals, and Q&A schema. Close Power BI Desktop first, then reopen after. |
pbir_add_page | write | [PREVIEW] Add a new report page to the loaded PBIR-Enhanced PBIP project. Writes a schema-valid page.json and registers it in pages.json. Close Power BI Desktop before editing; reopen after. |
pbir_add_visual | write | [PREVIEW] Add a visual to a page in the loaded PBIR-Enhanced project. Supported visual_type: card, kpi, tableEx, slicer, barChart, columnChart, lineChart, areaChart, pieChart, donutChart, gauge, pivotTable. |
pbir_bind_fields | write | [PREVIEW] Add or replace field bindings on an existing visual without recreating it. mode |
pre_deploy_gate | write | CI/pre-deploy quality gate: runs the Best Practice Analyzer and AI-readiness audit and returns a machine PASS/FAIL verdict with blocking issues. Fails on any BPA error (and optionally warnings) or AI score below min_ai_score. |
run_bpa | write | Run a Best Practice Analyzer over the connected semantic model (performance, DAX, naming, formatting, maintenance, error-prevention rules). Returns findings with severity, the offending object, and a fix hint. |
run_dax_tests | write | Run a suite of DAX regression tests against the model: each test is {name, dax, expected, tolerance?}; returns PASS/FAIL per test and an overall verdict. Use to catch measure regressions before deploy. Provide tests inline or via tests_path (JSON file). |
tom_begin_transaction | write | Begin a TOM write transaction. While open, model write tools (create_measure, delete_measure, batch_update_measures) defer saving until tom_commit_transaction, so a batch of edits is atomic and can be rolled back. |
tom_commit_transaction | write | Commit (SaveChanges) all pending TOM model edits made since tom_begin_transaction and close the transaction. |
analyze_model_storage | read | VertiPaq-style storage analysis: per-table row counts (exact via DAX COUNTROWS), column counts, and best-effort sizes, ranked to find the biggest/most expensive tables for optimization. |
audit_ai_readiness | read | Score how AI-ready (Copilot/agent-ready) the model is: coverage of descriptions and format strings on measures, columns, and tables. Returns a 0-100 score, metrics, and concrete recommendations. |
audit_naming | read | Audit naming conventions across the connected model |
bpa_audit_rule_sources | read | Audit where BPA rules live for the loaded PBIP project: rules embedded in the model (BestPracticeAnalyzer annotation), external rule-file URLs, and ignored rule IDs, merged with any local user/machine BPARules.json found. Reveals shadow governance and ignored rules. |
bridge_manifest | read | Return the Desktop Bridge method manifest for a running Power BI Desktop process: which bridge methods this Desktop build supports, with their descriptions. Use to discover capabilities before calling them (the bridge surface is preview and grows over time). |
bridge_screenshot | read | Capture PNG screenshots of report pages from the RUNNING Power BI Desktop via the Desktop Bridge - the agent can literally see the rendered report. Pass a page id or display name, or |
dax_lint | read | Static-analyze DAX for performance anti-patterns and correctness traps (FILTER over a whole table in CALCULATE, nested CALCULATE, |
dax_suggest_rewrite | read | For the auto-fixable DAX anti-patterns (bare |
desktop_connect | read | Connect to a Power BI Desktop instance by port number. Optionally specify an RLS role to test. |
desktop_discover_instances | read | Discover all running Power BI Desktop instances on this machine |
desktop_get_model_info | read | Get comprehensive model info (tables, columns, measures, relationships) from Power BI Desktop |
desktop_list_columns | read | List columns for a table in the connected Power BI Desktop model |
desktop_list_measures | read | List all measures in the connected Power BI Desktop model |
desktop_list_rls_roles | read | List all RLS (Row-Level Security) roles defined in the Power BI Desktop model |
desktop_list_tables | read | List all tables in the connected Power BI Desktop model |
desktop_rls_status | read | Get the current RLS status including active role and available roles |
export_data_dictionary | read | Generate a portable data dictionary (tables, columns, measures with DAX, relationships) for the connected model, with a documentation-coverage score. Returns Markdown or HTML; optionally writes to a file. Re-runnable in CI so docs never go stale. |
find_unused_objects | read | Find columns and measures not referenced by any other model object (INFO.CALCDEPENDENCY), relationship, or - when a PBIP project is loaded - any report visual. Safe-cleanup candidate list (a free replacement for paid unused-object tools). |
fleet_refresh_monitor | read | Refresh health across many datasets: for each refreshable dataset in the given workspaces, check the most recent refresh and classify failures (root cause). Centralized |
generate_svg_measure | read | Generate a ready-to-use DAX measure that returns an inline SVG micro-visual (progress bar, bullet chart, status pill, or sparkline) as a data:image/svg+xml URI. Set the measure |
get_model_info | read | Get comprehensive model info from a Power BI Service dataset using INFO.VIEW functions |
impact_analysis | read | Blast radius before a change: lists model objects that depend on a measure/column (INFO.CALCDEPENDENCY) and, when a PBIP project is loaded, the report files/visuals that reference it. Run before renaming or deleting. |
list_columns | read | List columns for a table in a Power BI Service dataset |
list_datasets | read | List all datasets in a Power BI Service workspace |
list_tables | read | List all tables in a Power BI Service dataset via XMLA |
list_workspaces | read | List all Power BI Service workspaces accessible to the Service Principal |
model_diff | read | Produce a human-readable semantic diff (added/removed/changed tables, columns, measures, relationships) between a baseline snapshot and either another snapshot or the live model. Ideal for PR review and pre-deploy |
model_snapshot | read | Capture the connected model |
pbip_fix_dax_quoting | read | Fix all DAX expressions by properly quoting table names with spaces. Fixes: Leads Sales Data[Amount] -> |
pbip_get_project_info | read | Get information about the loaded PBIP project including paths to TMDL files and report.json |
pbip_load_project | read | Load a PBIP (Power BI Project) for file-based editing. PBIP format allows safe bulk renames without breaking report visuals. Use |
pbip_scan_broken_refs | read | Scan the PBIP project for broken references. Compares table names in semantic model vs report visuals to find mismatches. |
pbip_validate | read | Validate TMDL syntax in the loaded PBIP project. Checks for unquoted names with spaces, invalid references, etc. |
pbir_validate_report | read | [PREVIEW] Validate that every field referenced by the report |
pbix_extract | read | Extract a .pbix package to a folder (Zip-Slip protected). Also decodes the legacy UTF-16-LE Report/Layout into a readable UTF-8 Report/Layout.json so an agent can inspect or edit the report structure. Returns the list of extracted files. |
pbix_inspect | read | Inspect a .pbix file (an OPC ZIP package) without extracting: classify it as thick (imported model) vs thin (live connection), detect the report format (legacy Report/Layout vs PBIR), count pages, and list every internal entry with size. The first step to working with a real .pbix. |
refresh_doctor | read | Diagnose a dataset |
rls_test_harness | read | Evaluate a measure or table row count under EVERY RLS role and return a pass/fail matrix vs the unrestricted baseline, flagging roles that see everything (no filtering) or nothing. Tests row-level security systematically on the connected Desktop model. Always restores the cleared role afterward. |
scan_measure_dependencies | read | Analyze the dependency graph of a measure or column using INFO.CALCDEPENDENCY: upstream (what it depends on) and downstream (what depends on it). Use before renaming or deleting to see what would break. |
scan_referential_integrity | read | Scan every active relationship for referential-integrity violations: fact keys with no matching dimension row (the cause of the hidden blank row and silently wrong totals). Runs an EXCEPT count per relationship against the connected model and reports orphan-key counts with samples. |
scan_table_dependencies | read | Scan a table to find all references before renaming. Shows measures, calculated columns, and relationships that depend on this table. IMPORTANT: Use this before batch_rename_tables to understand the impact. |
security_audit_log | read | View recent entries from the security audit log |
security_status | read | Get the current security settings and status (PII detection, audit logging, access policies) |
tom_rollback_transaction | read | Roll back (UndoLocalChanges) all pending TOM model edits made since tom_begin_transaction and close the transaction. |
usage_and_orphan_analytics | read | Tenant usage analytics from the Admin Activity Events API for one UTC day: total events, distinct users, top activities, top viewed reports, top users. Requires Fabric admin (28-day retention). Defaults to yesterday (today is incomplete). |
validate_dax | read | Validate a DAX query or scalar measure expression against the connected model WITHOUT committing anything. Executes a minimal probe and returns syntax/semantic errors so an agent can self-correct before writing a measure. |
Install
audited commit 200d247
No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.
Audit history
- ✓SAFE B 89 / 100
First audit ·
200d247c8351
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/sulaiman013/power-bi-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Power BI MCP server
What is the Power BI MCP server?
What tools does Power BI expose?
Is Power BI safe to connect to an agent?
What credentials does Power BI need?
How does Power BI run?
How current is this page?
Sources
- sulaiman013/powerbi-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 200d247c8351Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Power BI MCP server?
- What tools does Power BI expose?
- Is Power BI safe to connect to an agent?