Skip to main content
Glama
Mavline

MCP_powerbi_TS

by Mavline

MCP_powerbi_TS

用于Power BI Desktop集成的TypeScript MCP(模型上下文协议)服务器。通过其本地Analysis Services(XMLA)端点连接到正在运行的Power BI Desktop实例,并公开一组用于模型工作的专用代理:运行DAX查询、检查和编辑表结构以及管理模型关系。

布局

src/
  index.ts    entry point
  agents/     13 specialized agents (DAX, tables, relationships, ...)
  server/     MCP server wiring
  services/   XMLA / Power BI connection services
  types/      shared types
  utils/      helpers
tests/        unit and integration tests (synthetic star-schema demo data)

Related MCP server: Claude Power BI MCP

安装与构建

npm install
npm run build   # tsc -> dist/

与MCP客户端一起使用

Power BI Desktop必须正在运行且目标模型已打开(服务器会发现本地XMLA端口)。

{
  "mcpServers": {
    "powerbi": {
      "command": "node",
      "args": ["<path-to-repo>/dist/index.js"]
    }
  }
}

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude Code to read and modify Power BI data models locally, including searching DAX formulas and editing measures through a direct SSAS connection.
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    Enables AI agents to author and edit Power BI files locally (.pbix/PBIP), covering semantic models, reports, and Power Query M with 490 tools.
    100
    23 npm
    3
    Cryptographic Autonomy 1.0 (Combined Work Exception)
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables authorized AI agents to inspect, query, create, modify, validate, refresh, and manage eligible cloud semantic models in Microsoft Fabric and Power BI through stateless Streamable HTTP.
    -