create-document-type

Creates a new document type in Umbraco. IMPORTANT: IMPLEMENTATION REQUIREMENTS 1. ALWAYS use the get-icons tool to find a valid icon name 2. When referencing data types, first find them using find-data-type to get their correct IDs 3. When adding compositions or allowed document types, first use ...

Server Mcp Dev @umbraco-cms/mcp-dev
Category Write
Risk class Medium
Parameters 00 required

What create-document-type does on Mcp Dev

AI agents use create-document-type to create or update resources in Mcp Dev — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Dev environment.

Why create-document-type needs a policy

Creating a new document type in Umbraco CMS adds structural content to the system. While the action is reversible (the document type can be deleted), it modifies the CMS schema and configuration. This is a Write operation rather than Execute because it creates data structures rather than running arbitrary code or triggering external operations.

From the tool's definition Tool description states 'Creates a new document type in Umbraco.' The verb 'creates' and the action of adding a new document type represents a data modification operation that is reversible (can be deleted).

Risk signalsAdmin/system-level operation

Questions about create-document-type

What does the create-document-type tool do? +

Creates a new document type in Umbraco. IMPORTANT: IMPLEMENTATION REQUIREMENTS 1. ALWAYS use the get-icons tool to find a valid icon name 2. When referencing data types, first find them using find-data-type to get their correct IDs 3. When adding compositions or allowed document types, first use get-document-type-root to find the actual IDs 4. The tool will automatically generate UUIDs for properties and containers 5. Document types can be created in folders by specifying a parentId, or at the root level by omitting the parentId 6. Do not try to add templates to document types they are not currently supported 7. Property container structure: - Properties MUST specify either a. It is categorised as a Write tool in the Mcp Dev MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on create-document-type? +

Register the Mcp Dev MCP server in PolicyLayer and add a rule for create-document-type: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Dev. Nothing to install.

What risk level is create-document-type? +

create-document-type is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit create-document-type? +

Yes. Add a rate_limit block to the create-document-type rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block create-document-type completely? +

Set action: deny in the PolicyLayer policy for create-document-type. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides create-document-type? +

create-document-type is provided by the Mcp Dev MCP server (@umbraco-cms/mcp-dev). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.