MCP Tools
The bundle contributes MCP tools to the Pimcore Agent that read Simple REST configurations and propose changes to them.
The tools are registered only when the Change Control bundle and the Pimcore Agent bundle are installed and enabled. They reach a caller in one of two ways:
- Agent chat: every tool below, in the Pimcore Agent's tool groups
pimcore-data-hub-simple-rest-readandpimcore-data-hub-simple-rest-propose. - Studio-managed MCP server: only the tools tagged
pimcore.studio_backend.mcp_tool. They are listed in the Studio tool catalogue (GET /pimcore-studio/api/mcp/tools), and an administrator can assign them to a configured MCP server (/pimcore-mcp/studio/<slug>) that external MCP clients connect to. Such a client carries no agent chat session; a proposal it makes is stored in the calling user's session on that server.
| Tool | Purpose | Read / write | Propose / direct-write | Studio-managed server |
|---|---|---|---|---|
list_simple_rest_configs | List the Simple REST configurations the user may read, with group, description and whether each is active. | read | – | yes |
get_simple_rest_config | Read one Simple REST configuration in full; a proposal sends back only the sections and keys it changes. | read | – | yes |
propose_simple_rest_config | Propose changes to a Simple REST configuration, or a new one, for review in a change set. | write | propose | yes |
- Read / write: a read tool is annotated
readOnlyHint: true, so a Studio-managed server offers it under the OAuth scopemcp:read; the propose tool is offered undermcp:write. - Propose / direct-write: no tool of this bundle writes a configuration directly.
propose_simple_rest_configrecords the configuration as a proposal in a change set; it is applied only once a user approves it. From the agent chat the proposal is stored in the chat session and reviewed on its card; from a Studio-managed server it is stored in the calling user's session on that server and reviewed in Studio's change requests. - Permissions: every tool runs as the calling user. It needs the
plugin_datahub_configpermission and, for a single configuration, read access to it (list_simple_rest_configslists only those). - Withheld fields:
get_simple_rest_configleaves outdeliverySettings,schema.assets.deliveryUrlSigningKey,permissions,workspaceSettingsand names them underwithheld;propose_simple_rest_configrefuses a proposal that carries them. The delivery settings hold the API keys of the endpoint and its MCP server, the signing key signs the anonymous asset delivery URLs, and permissions decide who may approve a proposal; a person changes them in the Data Hub editor. An approved proposal keeps the stored signing key; it is rotated only with the editor's regenerate action.
Tools of the Simple REST MCP endpoint
The bundle also serves its own MCP endpoint, /pimcore-datahub-webservices/simplerest-mcp, with tools that query the
indexed data of a configuration (see MCP Server Integration). They are a separate server: a caller
authenticates with the API key of a configuration that has the MCP server enabled, and the tools see only what that
configuration delivers. They are not tagged pimcore.studio_backend.mcp_tool, as a Studio-managed server would call
them as a Studio user instead of under a configuration's API key.
| Tool | Purpose | Read / write | Propose / direct-write | Studio-managed server |
|---|---|---|---|---|
pimcore_datahub_list_configs | List the configurations the API key may query. | read | – | no, own endpoint |
pimcore_datahub_get_config_schema | List the indexed fields of a configuration with their types. | read | – | no, own endpoint |
pimcore_datahub_get_query_syntax | Return the query syntax reference for search and tree queries. | read | – | no, own endpoint |
pimcore_datahub_search | Search the data objects and assets of a configuration. | read | – | no, own endpoint |
pimcore_datahub_tree_items | List the children of a tree node. | read | – | no, own endpoint |
pimcore_datahub_get_by_id | Read one data object or asset by id. | read | – | no, own endpoint |
pimcore_datahub_get_canonical_urls | Resolve the public website URLs of assets. | read | – | no, own endpoint |
pimcore_datahub_search, pimcore_datahub_tree_items and pimcore_datahub_get_by_id take an optional language
when the configuration indexes additional languages for its localized fields; pimcore_datahub_list_configs lists
them as localized_languages. See Filtering and Paging.