loading…
Search for a command to run...
loading…
This MCP server provides a web-ready SSE bridge for Microsoft's Power BI Modeling MCP Server, enabling URL-based interaction with Power BI semantic models from
This MCP server provides a web-ready SSE bridge for Microsoft's Power BI Modeling MCP Server, enabling URL-based interaction with Power BI semantic models from any programming language without local stdio piping. It features automatic Azure authentication and dynamic binary resolution for seamless Power BI data analysis.
This project is a high-performance SSE (Server-Sent Events) Bridge for the Official Microsoft Power BI Modeling MCP Server. It enables seamless, URL-based interaction with Power BI semantic models from any language (Laravel, Python, Go) without the need for local stdio piping.
git clone https://github.com/nusagates/mcp_pbi.git
cd mcp_pbi
npm install
Create a .env file from the template:
cp .env.example .env
Fill in your MS_PBI_... credentials. Important: For the password-based login to work without a browser, enable "Allow public client flows" in your Azure App Registration -> Authentication settings.
npm start
The bridge will be live at http://localhost:3000/sse.
Using Laravel's Http facade to interact with the bridge:
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();
Tenant.Read.All.This bridge uses the Microsoft Power BI Modeling MCP Server as its core engine. Special thanks to the Microsoft team for the protocol implementation.
MIT License. Feel free to use and contribute!
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"power-bi-modeling-mcp-sse-bridge": {
"command": "npx",
"args": []
}
}
}