analytics
Microsoft Power BI MCP Gateway for AI Agents
Expose Microsoft Power BI tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
6 functions 6 read 0 write Bearer token auth
Microsoft Power BI MCP Gateway
Expose Microsoft Power BI to MCP clients with `kosmokrator mcp:serve --integration=microsoft_powerbi`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=microsoft_powerbi --write=deny --json {
"mcpServers": {
"kosmokrator-microsoft_powerbi": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=microsoft_powerbi",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=microsoft_powerbi --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__microsoft_powerbi__powerbi_list_reports | microsoft_powerbi.powerbi_list_reports | Read read |
integration__microsoft_powerbi__powerbi_get_report | microsoft_powerbi.powerbi_get_report | Read read |
integration__microsoft_powerbi__powerbi_list_datasets | microsoft_powerbi.powerbi_list_datasets | Read read |
integration__microsoft_powerbi__powerbi_get_dataset | microsoft_powerbi.powerbi_get_dataset | Read read |
integration__microsoft_powerbi__powerbi_list_workspaces | microsoft_powerbi.powerbi_list_workspaces | Read read |
integration__microsoft_powerbi__powerbi_get_current_user | microsoft_powerbi.powerbi_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.