analytics
Microsoft Power BI MCP Integration for OpenAI Agents SDK
Connect Microsoft Power BI to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Microsoft Power BI to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Microsoft Power BI MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-microsoft_powerbi": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=microsoft_powerbi",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=microsoft_powerbi --write=deny Why Use KosmoKrator Here
Expose only Microsoft Power BI instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Microsoft Power BI Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Microsoft Power BI integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__microsoft_powerbi__powerbi_list_reports | microsoft_powerbi.powerbi_list_reports | Read | List all Power BI reports the authenticated user has access to. Returns report names, IDs, embed URLs, and workspace associations. |
integration__microsoft_powerbi__powerbi_get_report | microsoft_powerbi.powerbi_get_report | Read | Get details of a specific Power BI report by ID. Returns the report name, embed URL, dataset ID, and other metadata. |
integration__microsoft_powerbi__powerbi_list_datasets | microsoft_powerbi.powerbi_list_datasets | Read | List all Power BI datasets the authenticated user has access to. Returns dataset names, IDs, and workspace associations. |
integration__microsoft_powerbi__powerbi_get_dataset | microsoft_powerbi.powerbi_get_dataset | Read | Get details of a specific Power BI dataset by ID. Returns the dataset name, tables, default mode, and other metadata. |
integration__microsoft_powerbi__powerbi_list_workspaces | microsoft_powerbi.powerbi_list_workspaces | Read | List all Power BI workspaces (groups) the authenticated user has access to. Returns workspace names, IDs, and isolation modes. |
integration__microsoft_powerbi__powerbi_get_current_user | microsoft_powerbi.powerbi_get_current_user | Read | Get the profile of the currently authenticated Power BI user. Returns display name, email address, and user identity details. |