Supported AI Agents
Umbraco MCP can be used with a range of AI agents, including Codex, Claude, GitHub Copilot, Cursor, and others.
For more niche agents, such as PI Agent or OpenCode, additional configuration may be required. In these cases, it is worth consulting the agent's own documentation and setup guides.
Verifying MCP connectivity
After configuring MCP according to the official Umbraco documentation and installing Umbraco Agent Skills, restart the AI assistant. This step is typically required before the new capabilities become available.
A simple way to verify that MCP is working correctly is to use a prompt such as:
Use MCP and check the ID of the Home page.
The result can then be validated directly in the Umbraco backoffice.
Working with uSync
If a project uses uSync, it is recommended to explicitly instruct the agent to use MCP and avoid modifying uSync files. This instruction can be added to an AGENTS.md file or a similar configuration file used by an AI tool.
For example:
Always use MCP for Umbraco changes and do not modify uSync files.
Direct modifications to uSync files may consume fewer tokens. In practice, MCP-based changes tend to be more reliable, especially when creating new content structures.
Building on existing functionality
When implementing new features, providing a reference to a similar implementation usually produces better results.
For example:
Check the current structure of blog pages and add a new document type called "Specific Blog". The new blog pages should work similarly to the existing blog pages, but with...
The same principle applies when extending content structures, introducing new blocks, or adding editor functionality. Established patterns provide valuable context and improve the consistency of AI-generated output.
Common AI-generated issues
Even with direct access to project structures, AI-assisted changes should be reviewed before becoming part of the solution.
View templates
When creating new page types, AI agents sometimes create the corresponding .cshtml file but fail to create or assign the matching template in Umbraco. Manual template creation and assignment may still be required.
Invalid collection IDs
Under:
Structure → Presentation → Collection
the agent may occasionally assign an invalid ID.
This does not affect the underlying functionality. However, child items may appear empty when content editors view the document type in the backoffice.
Removing the invalid value typically resolves the issue.
Content structure validation
Generated configurations should be reviewed before implementation. Allowed child document types and content hierarchy rules occasionally require manual adjustment to match project requirements.