MCP Catalogs
首页powerbi-mcp screenshot

powerbi-mcp

by sulaiman013·111·综合分 48

一款面向 Power BI 的企业级 MCP 服务器,通过自然语言查询实现 AI 助手与数据集的交互,同时支持桌面和云环境。

databasedeveloper-toolsai-llm
46
Forks
1
活跃 Issue
6 个月前
最近提交
2 天前
收录于

概述

Power BI MCP Server 通过模型上下文协议将 AI 助手与 Microsoft Power BI 连接起来。它为查询数据、管理模型和执行批量操作提供了统一接口,支持本地 .pbix 文件和云托管数据集。该服务器具有高级安全功能,包括 PII 检测、审计日志记录和可配置的访问策略。其突出功能是 PBIP 连接器,它能够安全地重构操作,同时更新语义模型和报表可视化,防止重命名表格导致报表引用中断的常见问题。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:商业智能分析师通过自然语言进行数据查询
:自动化 Power BI 模型重构和维护
:开发过程中的行级安全测试和验证
:这个服务器能否同时支持 Power BI Desktop 和 Power BI Service?
:服务器如何在不破坏可视化的情况下重命名表格?

什么时候选它

当您需要 AI 助手通过自然语言与 Power BI 数据集交互时选择此服务器,特别是在进行复杂模型重构同时保持报表可视化完整性的场景。

什么时候不要选它

如果您不使用 Power BI、需要数据集写入权限(此服务器主要关注读取/分析操作)或需要跨平台支持(仅限 Windows),请避免使用。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • desktop_discover_instances

    Auto-discover running Power BI Desktop instances

  • desktop_connect

    Connect to a specific Power BI Desktop instance with optional RLS role

  • desktop_execute_dax

    Execute DAX queries against Power BI Desktop model with security processing

  • list_workspaces

    List accessible Power BI Service workspaces

  • list_datasets

    List datasets in a specified Power BI workspace

  • execute_dax

    Execute DAX queries against Power BI Service datasets

  • desktop_list_rls_roles

    List Row-Level Security roles defined in the model

  • desktop_set_rls_role

    Activate a specific RLS role for testing data access

  • scan_table_dependencies

    Analyze dependencies before renaming tables/columns/measures

  • batch_update_measures

    Bulk update measure expressions in the model

  • pbip_rename_tables

    Safely rename tables in PBIP projects (updates model + visuals + DAX)

  • pbip_load_project

    Load a PBIP project for editing operations

可对比工具

mcp-server-google-sheetsmcp-server-airtablemcp-server-sqlitemcp-postgres

安装

# 通过 pip 安装
pip install powerbi-mcp

# 配置 Claude Desktop
{
  "mcpServers": {
    "powerbi": {
      "command": "python",
      "args": ["-m", "powerbi_mcp"],
      "env": {
        "POWERBI_MCP_WORKSPACE": "your_workspace_path"
      }
    }
  }
}

FAQ

这个服务器能否同时支持 Power BI Desktop 和 Power BI Service?
是的,该服务器支持双重连接 - 它可以与本地 Power BI Desktop 实例和通过 XMLA 端点连接的云托管 Power BI Service 进行交互。
服务器如何在不破坏可视化的情况下重命名表格?
PBIP 连接器使用 TMDL 文件的文本编辑和报告定义的 JSON 操作,同时更新模型层和报告层引用,确保重命名操作后不会破坏任何可视化引用。

powerbi-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。