Power BI Modeling MCP SSE Bridge
Power BI Modeling MCP SSE ブリッジ
このプロジェクトは、公式Microsoft Power BI Modeling MCPサーバーのための高性能な SSE (Server-Sent Events) ブリッジ です。ローカルの stdio パイプを必要とせず、あらゆる言語(Laravel、Python、Goなど)からURLベースでPower BIセマンティックモデルとシームレスに対話できます。
🔥 主な革新機能
自動認証 (トークン注入): 管理者資格情報を使用してAzure ROPCフローを自動的に実行し、アクセストークンを注入します。結果: サーバー上でブラウザのポップアップが一切発生しません。
動的バイナリ解決: OSとCPUアーキテクチャを自動検出し、適切なMicrosoft MCPバイナリを起動します。
Laravelコンテキスト注入: URLクエリパラメータを介してワークスペースIDとデータセットIDを渡し、セッション固有のコンテキストを維持します。
Web対応: Power BI用のカスタムAIチャットインターフェースを構築するのに最適です。
Related MCP server: powerbi-mcp-proxy
🛠️ インストールとクイックスタート
1. 要件
Node.js v18以上。
Power BI管理者アカウント(マスターユーザー)またはサービスプリンシパル。
2. セットアップ
git clone https://github.com/nusagates/mcp_pbi.git
cd mcp_pbi
npm install3. 設定
テンプレートから .env ファイルを作成します:
cp .env.example .envMS_PBI_... 資格情報を入力します。重要: ブラウザなしでパスワードベースのログインを機能させるには、Azureアプリ登録の「認証」設定で 「パブリッククライアントフローを許可する」 を有効にしてください。
4. 実行
npm startブリッジは http://localhost:3000/sse で起動します。
🔗 Laravel統合の例
Laravelの Http ファサードを使用してブリッジと対話する例:
use Illuminate\Support\Facades\Http;
// 1. Establish connection context (via Browser/SSE Client)
// URL: http://localhost:3000/sse?workspace_id=abc&dataset_id=123
// 2. Execute a Tool through the bridge
$response = Http::post("http://localhost:3000/messages?sessionId=YOUR_SESSION_ID", [
"jsonrpc" => "2.0",
"id" => 1,
"method" => "tools/call",
"params" => [
"name" => "execute_dax_query",
"arguments" => [
"query" => "EVALUATE TOPN(10, 'YourTable')"
]
]
]);
return $response->json();🛡️ Power BI権限チェックリスト
[ ] Azureポータル:
Tenant.Read.Allを持つアプリ登録が存在すること。[ ] Power BI管理者: 「サービスプリンシパルによるPower BI APIの使用を許可する」が ON になっていること。
[ ] ワークスペース: アプリまたはユーザーが メンバー/共同作成者 として追加されていること。
🤝 クレジット
このブリッジは、コアエンジンとして Microsoft Power BI Modeling MCP Server を使用しています。プロトコル実装を提供してくれたMicrosoftチームに感謝します。
📄 ライセンス
MITライセンス。自由にご利用・ご貢献ください!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityAmaintenanceLocal-first MCP server for Power BI Desktop automation. Automate semantic model changes, DAX, Power Query, Excel, and report layout from MCP-capable AI clients.100MIT
- AlicenseNot gradedqualityDmaintenanceA self-hosted MCP server that proxies MCP clients to Power BI, using your own Entra tenant and Azure subscription. It enables DAX queries, workspace listing, and dataset management while preserving user-specific row-level security.2MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for reading and analyzing Fabric semantic models. Supports getting model definitions and executing DAX queries against Power BI datasets.17
- AlicenseNot gradedqualityCmaintenanceThe Power BI Modeling MCP Server implements the MCP specification to create a seamless connection between AI agents and Power BI semantic models. This allows developers and AI applications to interact with Power BI models in entirely new ways, from using natural language to execute modeling changes to autonomous AI agentic development workflows.1,078MIT
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/nusagates/mcp_pbi'
If you have feedback or need assistance with the MCP directory API, please join our Discord server