Built-in Pimcore MCP Servers
The bundle ships a catalog of Pimcore operations exposed as Model Context Protocol
tools, organised into tool groups. Each group is a streamable-HTTP MCP endpoint served at
/pimcore-mcp/agent/<group>. These endpoints serve the built-in Pimcore Agent only: they accept just the
chat's MCP access token (pmcp_…) and answer 403 to every other credential. An external MCP-capable LLM client
(Claude Desktop, Cursor, a custom integration) connects through a configured MCP server of the Studio Backend
bundle instead (/pimcore-mcp/studio/<slug>, see below).
Both paths use the same tools where a tool is offered on both, and are subject to the same Pimcore permissions.
The built-in tool groups
All internal tools are registered via the pimcore.mcp_tool service tag. Endpoints follow the pattern
/pimcore-mcp/agent/<group>.
Always-current list: run
bin/console pimcore-agent:mcp:list-toolsto see the live set of groups and tools registered in your installation. Add-vto also print the backing PHP class and method for each tool.
Data Objects
| Group | Description | Tools |
|---|---|---|
pimcore-data-objects-read | Read-only data object access | list_classes, get_class_definition, get_field_schema, get_data_object, get_queryable_fields, search_data_objects |
pimcore-data-objects-write | Propose new objects and updates (HITL) | propose_data_object_creation, propose_data_object_update |
pimcore-data-objects-direct-write | Direct create and update (no user approval) | create_data_object, update_data_object |
Assets
| Group | Description | Tools |
|---|---|---|
pimcore-assets-read | Read-only asset access with staging | get_asset, get_asset_queryable_fields, list_assets, search_assets, stage_asset |
pimcore-assets-write | Propose asset metadata changes (HITL) | propose_asset_metadata_update |
pimcore-assets-direct-write | Direct asset upload and update (no user approval) | update_asset, upload_asset |
Documents
| Group | Description | Tools |
|---|---|---|
pimcore-documents-read | Read-only document access | get_area_brick, get_document, get_document_schema, list_document_types, list_target_groups, search_documents |
pimcore-documents-write | Propose new documents and document changes (HITL) | propose_document_creation, propose_document_update |
pimcore-documents-direct-write | Direct create and editable updates (no user approval) | create_document, update_document |
list_target_groupslives in the read group only. An agent that authors target-group variants needs read access anyway (to inspect the document before proposing), so a second registration in the write group would register the same tool twice. When the optional Pimcore personalization-bundle is not installed it returns{available: false, targetGroups: []}- see Document Schema → Target-group variants.
To get good edits on YOUR documents, author example fixtures for your areabricks and document templates. The LLM uses them to pattern-match a valid edit. See Extending → Template Examples for the dev workflow (two CLI commands + a coding-agent SKILL that automates authoring). The MCP tools work without fixtures, but small LLMs benefit substantially from worked examples.
Tags
| Group | Description | Tools |
|---|---|---|
pimcore-tags-read | Read-only tag access | get_element_tags, list_tags |
pimcore-tags-write | Propose tag changes and new tags (HITL) | propose_tag_assignment, propose_tag_creation |
pimcore-tags-direct-write | Direct tag create/assign/unassign (no user approval) | create_tag, assign_tag, unassign_tag |
Agent Templates
| Group | Description | Tools |
|---|---|---|
pimcore-agent-templates | Generate Twig page/snippet/partial templates and HITL-propose them | list_editables, propose_agent_template, propose_agent_template_deletion, list_agent_templates, list_thumbnail_configs |
pimcore-file-staging | Stage developer-curated project files for reading. Auto-registered when the agent's allowedFileStagingSets is non-empty - do not list it in pimcoreMcpServers. | stage_file_set |
See Agent Templates for the feature, and
Configuration → File Staging /
Configuration → Agent Templates for the file_staging and
agent_templates reference.
Tasks
| Group | Description | Tools |
|---|---|---|
pimcore-task | End a headless agent task with its final, machine-readable result. Auto-injected only into a task-type session - do not list it in pimcoreMcpServers / pimcoreMetaGroups; it never reaches a regular chat session. | finalize_task |
See Features → Agent Tasks for the feature and Architecture → Agent Tasks for the mechanism that injects this group.
Workflows
Interact with the Pimcore workflow engine — inspect state, list transitions and global actions, and apply them to elements.
| Group | Description | Tools |
|---|---|---|
pimcore-workflows-read | Introspect workflows and their state on elements. | list_workflows, get_workflow_places, get_element_workflow_details, list_elements_by_workflow_state, get_workflow_graph |
pimcore-workflows-direct-write | Apply transitions and global actions (no approval). | apply_transition, apply_global_action |
Class definitions (data model)
| Group | Description | Tools |
|---|---|---|
pimcore-class-editor-read | Read field types and definition sources, dry-run validation. | list_field_types, describe_field_type, list_data_model_definitions, get_class_definition_source, get_fieldcollection_source, get_objectbrick_source, get_classification_store_source, get_select_options_source, validate_class_definition |
pimcore-class-editor-write | Propose schema changes as a change set (HITL). | propose_class_definition_update, propose_select_options, propose_classification_store |
pimcore-class-editor-direct-write | Direct schema writes (no user approval): model files + DDL. | create_class_definition, update_class_definition, delete_class_definition, create_fieldcollection, update_fieldcollection, create_objectbrick, update_objectbrick, create_select_options, update_select_options, create_classification_store, update_classification_store |
The shipped data-modeling preset holds the read and write groups only. A proposal from the write group carries the class together with the object bricks, field collections, classification stores and select-options lists it needs, reviewed and applied as one change set. With the same branch name, several write calls build one such change set step by step; data objects never join it.
The direct-write group applies transitions atomically (no HITL "propose" phase — transitions fire the standard Pimcore workflow events on submit). Studio enforces view permission on the target element at the boundary; further authorization is delegated to the per-transition guards configured on your workflow. Only wire this group into agents you trust to apply workflow actions unattended.
HITL vs. direct-write: the
*-writegroups create proposals the user must approve through the chat UI. The*-direct-writegroups bypass that approval step - use them only for agents that run in trusted / automated contexts.
See Extending → Custom MCP Tools for how to add tools to existing groups or register new ones.
Tools in the Studio tool catalogue
Every tool in the tables below is also tagged pimcore.studio_backend.mcp_tool. It therefore appears in the Studio tool
catalogue (GET /pimcore-studio/api/mcp/tools) and can be assigned to a Studio-managed MCP server
(/pimcore-mcp/studio/<slug>, see the Studio backend documentation MCP Server Management), which external
OAuth clients connect to. Only tools that work without an agent chat session qualify: the propose_* tools,
the agent template tools, finalize_task, stage_* tools and delete_class_definition are not in the catalogue.
- Read / write: a read tool is annotated
readOnlyHint: trueand is offered under the OAuth scopemcp:read; every other tool is offered undermcp:write. Whether a call is checked against that scope depends on the Studio backend version: only a version that contains the scope check refuses a write tool to an OAuth token that carries scopes but notmcp:write. Before it, the scope is advertised but not enforced on a call. Do not rely on it for the class-editor write tools (they change the database schema); rely on the server's tool selection, who may access the server, and the user's permissions. - Propose / direct-write: every tool in the catalogue is a direct tool. It changes data at once, as the
connecting user, with no approval step; Pimcore permissions of that user apply, checked per kind of definition:
classes(class definitions),fieldcollections,objectbricks,classificationstoreandselectoptions. Aclassesgrant does not cover the other four.create_objectbrickandupdate_objectbrickalso needclasseswhen the objectbrick has to be added to a class field that does not list it yet, because that saves the class definition; they are refused before anything is stored. Reviewed proposals (propose_*) need the agent chat and are not available there. - The class-editor write tools generate model files and database tables, so they fail where class definitions are
not writable (
PIMCORE_CLASS_DEFINITION_WRITABLE=0).
Data objects
| Tool | Purpose | Read / write | Propose / direct-write |
|---|---|---|---|
list_classes | List the data object classes with their field summaries. | read | – |
get_class_definition | Read the field schema of a class. | read | – |
get_field_schema | Read the detailed schema of one field of a class. | read | – |
get_queryable_fields | List the fields of a class that PQL filters can use. | read | – |
get_data_object | Read one or more data objects by ID. | read | – |
search_data_objects | Search data objects by fulltext and PQL filter. | read | – |
create_data_object | Create a data object. | write | direct-write |
update_data_object | Update field values of a data object. | write | direct-write |
Assets
| Tool | Purpose | Read / write | Propose / direct-write |
|---|---|---|---|
get_asset | Read an asset with its metadata. | read | – |
get_asset_queryable_fields | List the asset fields that PQL filters can use. | read | – |
list_assets | Browse the assets of a folder. | read | – |
search_assets | Search assets by filename and PQL filter. | read | – |
update_asset | Update the key or the custom metadata of an asset. | write | direct-write |
upload_asset | Upload a new asset from base64 content. | write | direct-write |
Documents
| Tool | Purpose | Read / write | Propose / direct-write |
|---|---|---|---|
get_area_brick | Read the editable schema of one or more areabricks. | read | – |
get_document | Read one or more documents. | read | – |
get_document_schema | Read the editable schema of a document. | read | – |
list_target_groups | List the personalization target groups. | read | – |
search_documents | Search documents by fulltext and PQL filter. | read | – |
list_document_types | List the configured document types (presets). | read | – |
create_document | Create an empty document (page, snippet, email, link, hardlink or folder). | write | direct-write |
update_document | Update the editables, settings or properties of a document. | write | direct-write |
Tags
| Tool | Purpose | Read / write | Propose / direct-write |
|---|---|---|---|
list_tags | List tags, optionally below a parent tag. | read | – |
get_element_tags | Read the tags assigned to an element. | read | – |
create_tag | Create a tag. | write | direct-write |
assign_tag | Assign a tag to an element. | write | direct-write |
unassign_tag | Remove a tag from an element. | write | direct-write |
Saved searches
| Tool | Purpose | Read / write | Propose / direct-write |
|---|---|---|---|
list_saved_searches | List the saved searches the user can see. | read | – |
get_saved_search | Read one saved search in full. | read | – |
get_saved_search_preview | Run a saved-search filter without saving and return a sample. | read | – |
list_saved_search_columns | List the columns a saved search can show. | read | – |
Workflows
| Tool | Purpose | Read / write | Propose / direct-write |
|---|---|---|---|
list_workflows | List the configured workflows. | read | – |
get_workflow_places | List the places of a workflow. | read | – |
get_element_workflow_details | Read the state, transitions and global actions of an element. | read | – |
list_elements_by_workflow_state | List the elements in a workflow place. | read | – |
get_workflow_graph | Render the workflow diagram of an element as SVG. | read | – |
apply_transition | Apply a workflow transition to up to 5 elements. | write | direct-write |
apply_global_action | Apply a workflow global action to up to 5 elements. | write | direct-write |
Class definitions (data model)
| Tool | Purpose | Read / write | Propose / direct-write |
|---|---|---|---|
list_field_types | List the field types a class definition can use. | read | – |
describe_field_type | Read the authoring schema of field types. | read | – |
list_data_model_definitions | List the fieldcollections, objectbricks, classification stores and Select Options lists that class fields can reference. | read | – |
get_class_definition_source | Read the complete, writable definition of a class. | read | – |
get_fieldcollection_source | Read the writable definition of a fieldcollection. | read | – |
get_objectbrick_source | Read the writable definition of an objectbrick. | read | – |
get_classification_store_source | Read the groups, keys and collections of a classification store. | read | – |
get_select_options_source | Read the options of a Select Options list. | read | – |
validate_class_definition | Validate a class definition without saving it. | read | – |
create_class_definition | Create a class (generates the model files and database tables). | write | direct-write |
update_class_definition | Replace the definition of a class; removing a field deletes its stored data and needs allowFieldRemoval=true. | write | direct-write |
create_fieldcollection | Create a fieldcollection. | write | direct-write |
update_fieldcollection | Replace the definition of a fieldcollection; removing a field deletes its stored data and needs allowFieldRemoval=true. | write | direct-write |
create_objectbrick | Create an objectbrick bound to class fields. | write | direct-write |
update_objectbrick | Replace the definition and class bindings of an objectbrick; removing a field deletes its stored data and needs allowFieldRemoval=true. | write | direct-write |
create_classification_store | Create a classification store with its groups and keys. | write | direct-write |
update_classification_store | Add groups and keys to a classification store (additive). | write | direct-write |
create_select_options | Create a reusable Select Options list. | write | direct-write |
update_select_options | Replace the option list of a Select Options list. | write | direct-write |
Using the tool groups
From the Pimcore Agent (inside Studio)
This is the primary path. An agent declares the groups it may use in its YAML via pimcoreMcpServers (schemas inline
every turn) or pimcoreMetaGroups (behind the meta-tool). Calls are authenticated with the chat-scoped pmcp_…
bearer, so the tools run with exactly the permissions of the user who started the chat, and HITL proposals surface
as approval cards in the chat UI.
→ Configure this in Configuration → MCP Servers.
From an external LLM / MCP client
External clients do not connect to /pimcore-mcp/agent/*. Those endpoints answer 403 to a personal access
token, an OAuth token and a Studio session; only the chat's MCP access token is accepted. External clients use a
configured MCP server of the Studio Backend bundle: an administrator creates it in Studio, assigns tools from the
Studio tool catalogue, shares it with users and gives the client the URL
https://<your-pimcore-host>/pimcore-mcp/studio/<slug>. Such a server accepts OAuth (hosted clients such as ChatGPT
or Claude connect without a static token) and personal access tokens, and the request runs as the connecting user
with exactly that user's Pimcore permissions. See the Studio Backend bundle's MCP Server Management documentation.
{
"mcpServers": {
"pimcore-data-objects": {
"url": "https://your-pimcore-host/pimcore-mcp/studio/<slug>",
"headers": { "Authorization": "Bearer <your-token>" }
}
}
}
Direct writes through a configured server are stamped with the coauthor type mcp-server and the server's slug (see
Version Coauthor).
Tools without external access. A tool is offered on a configured server only when it carries the service tag
pimcore.studio_backend.mcp_tool. Tools taggedpimcore.mcp_toolonly are available to the built-in Pimcore Agent and have no external route: the HITL proposal groups (*-write),pimcore-file-staging(stage_asset,stage_file_set),pimcore-agent-templates,pimcore-task, the class editor proposal group (pimcore-class-editor-write), thedelete_class_definitiontool ofpimcore-class-editor-direct-write,pimcore-collab-tasks(Collab) anddata-onboarding(Data Onboarding), and the automation tools of the Copilot bundle.bin/console pimcore-agent:mcp:list-toolsshows the tools of your installation. Which of them get the catalogue tag is decided per tool; until then they are not reachable from an external client.
On Studio-managed MCP servers
The session-free tools are offered in the Studio Backend tool catalogue, so an administrator can
assign them to a runtime-managed MCP server (/pimcore-mcp/studio/<slug>). Such servers add per-server sharing (who
may connect) and OAuth discovery.
The catalogue carries 57 tools of this bundle (every tool of the tables in Tools in the Studio tool catalogue):
- Read: the
*-readgroups for data objects, assets, documents, saved searches, tags and workflows (exceptstage_asset, which needs a chat session),list_document_types, and the nine class-editor read tools ofpimcore-class-editor-read. - Write (direct):
create_data_object,update_data_object,create_document,update_document,update_asset,upload_asset,create_tag,assign_tag,unassign_tag,apply_transitionandapply_global_action, plus ten class-editor tools ofpimcore-class-editor-direct-write:create_andupdate_class_definition,create_/update_fieldcollection,create_/update_objectbrick,create_/update_select_optionsandcreate_/update_classification_store.
The write tools apply their change directly, with no approval step, like the *-direct-write groups: an
MCP client can change data, and with the class-editor tools the data model, with the full Pimcore permissions of the
connecting user. A server that holds at least one write tool advertises mcp:write. Whether the granted OAuth scope is
checked against the tool being called depends on the Studio backend version (see above); otherwise what limits a
client is the server's tool selection, who may access the server, and the user's permissions. Keep write tools on
servers you share deliberately.
Not included: the propose_* tools (their approval card lives in the agent chat), the template and task tools, the
staging tools, and delete_class_definition (it deletes every object of the class).
A tool joins the catalogue through a second service tag, pimcore.studio_backend.mcp_tool, in
config/mcp_services.yaml. StudioCatalogueToolSurfaceTest pins the selection and rejects tools that need a chat
session, are propose_* tools, or do not declare readOnlyHint (a *-read group tool must declare true, a *-write group tool false), and
requires a title and a description on every catalogue tool.
For the firewall, the PAT configuration, and how the three MCP authenticators relate, see the Studio Backend bundle's
MCP Server Infrastructure documentation. For the internal (pmcp_…) credential and token lifecycle, see
Architecture → MCP Integration and
Architecture → Authentication.
Related docs
- Configuration → MCP Servers - how an agent declares MCP access (the YAML keys).
- Architecture → MCP Integration - transport, auth forwarding, meta-tool mechanism.
- Architecture → Communication Flows - where MCP calls sit among all flows.