Power BI MCP server: reports, DAX queries, refreshes and exports in Claude, Codex or Cursor
Power BI reaches Claude, Codex or Cursor through the Agent Planners MCP endpoint with 35 tools (17 reads, 18 changes). Each call stays in the connected Power BI workspace; your licence and your own workspace rights apply.
How to configure it
- 1Connect Power BI (a work or school Microsoft account) on its card on Integrations.
- 2Create a key in API & MCP:
tools:readfor reading, addtools:writefor refreshes and exports — or sign in from the client with OAuth. - 3Add the server to your client, run
describe_permissions, thenpowerbi__list_workspacesandpowerbi__execute_querywith a DAX query.
# Claude Code
claude mcp add --transport http agent-planners https://www.agentplanners.com/api/mcp \
--header "Authorization: Bearer $AGENTPLANNERS_API_KEY"
# Codex (signs in with OAuth in the browser)
codex mcp add agent-planners --url https://www.agentplanners.com/api/mcpWhat waits for a person, whatever the key allows
Ordinary changes — a refresh, a refresh schedule, a copy, a rebind, an export, a new dashboard — follow how the key was minted. These are held for a person on every key mode and never ride a bulk approval:
- Deleting a report, a dashboard or a semantic model, replacing a report's content, taking over a semantic model and changing its data sources always wait for a person, on every lane — even with auto-approve on.
- Never: sharing and permission changes, embed tokens, admin, capacity and gateway calls, imports, and creating or deleting a workspace.
Gateways
- There is no
powerbi__raw_request:powerbi__getandpowerbi__mutatetake Power BI's own REST paths under the connected workspace, with the same holds and refusals. powerbi__execute_queryis a read: one DAX query (EVALUATE or DEFINE), capped and labelled when cut.
Frequently asked questions
- How do I connect Claude to Power BI?
- Connect Power BI on its card on Integrations, create an Agent Planners key in API & MCP (or sign in from the client), add the MCP server and call powerbi__list_workspaces.
- Can an MCP client delete Power BI reports?
- It can ask; a person approves it every time. Deleting a report, dashboard or semantic model is held on every key mode.