MCP Tools for Agents
The bundle offers four MCP tools: three read tools and one that proposes a dashboard. They work in the agent chat of the Pimcore Agent Bundle and from external clients (for example Claude Code) through a Studio-managed MCP server configuration.
| Tool | Purpose | Kind | Scope |
|---|---|---|---|
list_dashboards | The dashboards the current user may see: id, name, owner, whether a change of it can be proposed (canEdit) | read | read |
get_dashboard | One dashboard as the document propose_dashboard takes: headline (name), rows, widgets per position with their settings | read | read |
list_widget_types | The widget types the user may use with their visualizations and data configuration options (for custom report widgets only the reports the user may run), and the row layouts with their positions | read | read |
propose_dashboard | A new dashboard, or a change to one the user may edit, for review in Change Control. Nothing is saved until a reviewer approves | propose | write |
Requirements
mcp/sdkand the Studio Backend Bundle: the read tools.- The Change Control bundle and the Pimcore Agent Bundle:
propose_dashboard, and the review of a dashboard. - Without a peer, exactly its part is left out; the bundle works as before.
Rights
- The read tools need the
studio_dashboards_viewpermission, the propose toolstudio_dashboards_edit. - A dashboard that is not shared with the user is neither listed nor returned; asking for it answers "no such dashboard".
- A widget type is offered only when the user holds the permissions it needs, and the reports of a custom report widget are only those the user may run.
- A change to a stored dashboard needs the right to edit it: its owner, or
studio_dashboards_edit_all. This is checked for the proposer when proposing and for the reviewer when merging.
Proposals
A proposal carries the whole dashboard and replaces it on approval. In Change Control's review view it shows as the headline and one block per row with the widgets per position (a simplified view, not the dashboard builder).
- Owner: a new dashboard belongs to the user who approves it, like a saved search. For a proposal of a service user this is the responsible user who reviews it.
- Sharing cannot be proposed. A new dashboard is not shared; a changed one keeps its sharing and menu shortcut.
- Delete is not offered.
- Refused at approval: a custom report widget naming a report that does not exist or that the dashboard's owner may
not run (see below), a widget whose permission the approving user lacks (for example
reportsfor a custom report widget,documentsfor recently modified documents), a layout or widget type that no longer exists, and a dashboard that was changed in Studio after the proposal was made (propose again against the current one). The review view says so for an open proposal when it is loaded; Change Control itself answers a refused approval with a general error. - Reports are checked for the owner: the stored owner for a change, the approving user for a new dashboard or when
the stored owner no longer exists. That user needs the
reportspermission and the report shared with them, so approve a new report first or share it with the owner. For a change to another user's dashboard, the report does not have to be shared with the approving user. - Refused when proposed and at approval: a dashboard or widget name outside 3 to 80 characters, missing or invalid widget settings, and read-only dashboard or widget storage.
- Current widgets: a change writes every widget anew. It is refused when the user may not remove one of the dashboard's current widgets (its permission or writeable storage is missing), also when the change drops it.
- Review values: the settings of a widget whose permission the reviewer lacks, or whose type no longer exists,
are left out; the review shows the reason as
unavailable. A change to only such settings is not visible to that reviewer, who cannot approve it either. - Custom widget types: a type can be proposed only when its configuration repository extends
AbstractConfigRepository, which can check a save in advance. A type that implementsConfigRepositoryInterfacedirectly is refused, and so is any change to a dashboard that keeps such a widget; change it in Studio. - Unreadable widgets:
get_dashboardreturns a widget the user may not read without settings and with the reason inunavailable. That user cannot change such a dashboard. - Not changeable: the default dashboard.
canEdit:list_dashboardsandget_dashboardanswerfalsewhen a change of the dashboard cannot be proposed: the user lacks the right to edit it, it is the default dashboard, its storage is read-only, or one of its current widgets cannot be read or removed.
Agent configuration
With the Pimcore Agent Bundle the bundle registers the tool pack dashboards: the skill dashboard-configuration
and the MCP groups pimcore-dashboards-read and (where proposals are available) pimcore-dashboards-propose. Select
the pack in the agent configuration. The tools are also in the Studio tool catalogue, so an administrator can assign
them to a Studio-managed MCP server.