Power BI Modeling MCP SSE Bridge
Power BI Modeling MCP SSE Bridge
Dieses Projekt ist eine leistungsstarke SSE (Server-Sent Events) Bridge für den offiziellen Microsoft Power BI Modeling MCP-Server. Sie ermöglicht eine nahtlose, URL-basierte Interaktion mit Power BI-Semantikmodellen aus jeder Sprache (Laravel, Python, Go) heraus, ohne dass lokales stdio-Piping erforderlich ist.
🔥 Wichtige Innovationen
Auto-Auth (Token-Injektion): Führt automatisch einen Azure ROPC-Flow unter Verwendung Ihrer Admin-Anmeldedaten durch, um ein Zugriffstoken einzufügen. Ergebnis: Keine Browser-Popups auf Ihrem Server.
Dynamische Binärauflösung: Erkennt automatisch Ihr Betriebssystem und Ihre CPU-Architektur, um die korrekte Microsoft MCP-Binärdatei zu starten.
Laravel-Kontextinjektion: Übergeben Sie Workspace- und Dataset-IDs über URL-Abfrageparameter, um sitzungsspezifische Kontexte beizubehalten.
Web-Ready: Perfekt für den Aufbau benutzerdefinierter KI-Chat-Schnittstellen für Power BI.
Related MCP server: powerbi-mcp-proxy
🛠️ Installation & Schnellstart
1. Anforderungen
Node.js v18 oder höher.
Power BI-Administratorkonto (Master-Benutzer) oder Service Principal.
2. Einrichtung
git clone https://github.com/nusagates/mcp_pbi.git
cd mcp_pbi
npm install3. Konfiguration
Erstellen Sie eine .env-Datei aus der Vorlage:
cp .env.example .envFüllen Sie Ihre MS_PBI_...-Anmeldedaten aus. Wichtig: Damit die passwortbasierte Anmeldung ohne Browser funktioniert, aktivieren Sie "Allow public client flows" in Ihren Azure App-Registrierungs-Einstellungen unter Authentifizierung.
4. Ausführen
npm startDie Bridge ist unter http://localhost:3000/sse verfügbar.
🔗 Laravel-Integrationsbeispiel
Verwendung der Http-Fassade von Laravel zur Interaktion mit der 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();🛡️ Power BI-Berechtigungs-Checkliste
[ ] Azure Portal: App-Registrierung existiert mit
Tenant.Read.All.[ ] Power BI Admin: "Allow service principals to use Power BI APIs" ist AN.
[ ] Arbeitsbereich: App oder Benutzer wurde als Mitglied/Mitwirkender hinzugefügt.
🤝 Credits
Diese Bridge verwendet den Microsoft Power BI Modeling MCP-Server als Kern-Engine. Besonderer Dank geht an das Microsoft-Team für die Protokollimplementierung.
📄 Lizenz
MIT-Lizenz. Fühlen Sie sich frei, sie zu nutzen und dazu beizutragen!
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