You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Get started with the CMS developer MCP.
2
+
description: Get started with the Umbraco CMS Developer Model Context Protocol (MCP).
3
3
---
4
4
5
-
# Developer Model Context Protocol (MCP) server
5
+
# Developer Model Context Protocol (MCP) Server
6
6
7
7
The Developer [MCP Server](./concepts/model-context-protocol.md#mcp-servers) makes it straightforward for developers to connect AI tools with Umbraco. It allows you to harness large language models (LLMs) to perform almost any task that can be achieved within the Umbraco backoffice. This includes generating and editing content, managing media, automating workflows, and assisting with complex development tasks.
8
8
9
-
This MCP Server acts as a secure gateway between your Umbraco installation and MCP-compatible AI environments. These include Claude (Desktop or Code), Cursor, or GitHub Copilot and many more.
9
+
This MCP Server acts as a secure gateway between your Umbraco installation and MCP-compatible AI environments. These include Claude (Desktop or Code), Cursor, GitHub Copilot, and many more.
10
10
11
-
Through this bridge, your AI assistant can interact directly with Umbraco's Management API. This enables a more natural, conversational way to develop and maintain your sites.
11
+
Through this bridge, your AI assistant can interact directly with the Umbraco Management API. This enables a more natural, conversational way to develop and maintain your sites.
12
12
13
13
{% hint style="info" %}
14
14
Think of it as giving your AI tools a secure, structured way to “speak to Umbraco.”
15
15
{% endhint %}
16
16
17
-
## How does it work
17
+
## How it works
18
18
19
-
Unlike most Umbraco integrations, the Developer CMS MCP Server is not a plugin that you install into your Umbraco site.
20
-
Instead, it runs as a standalone Node.js application that acts as an MCP server.
19
+
Unlike most Umbraco integrations, the Developer MCP Server is not a plugin that you install into your Umbraco site. Instead, it runs as a standalone Node.js application that acts as an MCP Server.
21
20
22
-
[MCP clients](./concepts/model-context-protocol.md#mcp-clients) are implemented inside compatible [host applications](./concepts/model-context-protocol.md#host-applications) such as Claude Desktop, Cursor, or Windsurf. These clients connect to this server. When you interact with your chat-based development environment, the client communicates with the MCP Server using the Model Context Protocol (MCP).
21
+
[MCP clients](./concepts/model-context-protocol.md#mcp-clients) are implemented inside compatible [host applications](./concepts/model-context-protocol.md#host-applications) such as Claude Desktop, Cursor, or Windsurf. These clients connect to the server. When you interact with your chat-based development environment, the client communicates with the MCP Server using the Model Context Protocol (MCP).
23
22
24
-
Learn more about [Model Context Protocol (MCP)](./concepts/model-context-protocol.md)
23
+
Learn more about [Model Context Protocol (MCP)](./concepts/model-context-protocol.md).
25
24
26
25
The MCP Server, in turn, talks directly to Umbraco through the Management API. This is the same API layer that powers the Umbraco backoffice and allows the server to directly read from and modify the CMS.
27
26
@@ -31,70 +30,73 @@ By exposing these endpoints as MCP tools, the Developer MCP Server enables you t
31
30
The MCP Server acts as the bridge between your Umbraco instance and your AI assistant. It translates and adapts your tasks into Management API calls.
32
31
{% endhint %}
33
32
34
-
## Who is this for?
33
+
## Intended audience
35
34
36
-
**The Developer MCP Server is designed specifically to be used by Umbraco developers.**
35
+
The Developer MCP Server is designed specifically to be used by Umbraco developers.
37
36
38
-
While the Model Context Protocol (MCP) can be used for many types of solution, automation, and workflow integrations. This particular MCP Server focuses on developer-oriented tasks and productivity enhancements within Umbraco projects.
37
+
The Model Context Protocol (MCP) can be used for many types of solution, automation, and workflow integrations. This particular MCP Server focuses on developer-oriented tasks and productivity enhancements within Umbraco projects.
39
38
40
39
Example use cases:
41
40
42
-
-**Automation of content, media and schema**
41
+
-**Automation of content, media, and schema**
42
+
43
43
Automate repetitive actions through conversational commands. This includes creating or updating content or media, generating content models, or performing large-scale operations.
44
44
45
45
-**Developer quality-of-life improvements**
46
-
Speed up tasks that would otherwise take time or require numerous clicks in the backoffice UI. Examples include batch-moving Document Types or Data Types, cleaning up unused entities, or synchronising content structures.
46
+
47
+
Speed up tasks that would otherwise take time or require numerous clicks in the backoffice UI. Examples include batch-moving Document Types or Data Types, cleaning up unused entities, or synchronizing content structures.
47
48
48
49
-**Integration into modern development workflows**
49
-
Use the Developer MCP Server alongside other MCP servers such as Playwright MCP, Figma MCP, or GitHub MCP. This streamlines your end-to-end site development process.
50
50
51
-
-**Leveraging LLM reasoning**
52
-
Use your LLM to understand, debug, or make better decisions. For example, ask it to interpret entries from Umbraco Logs, suggest schema changes, or explain configuration errors.
51
+
Use the Developer MCP Server alongside other MCP Servers such as Playwright MCP, Figma MCP, or GitHub MCP. This streamlines your end-to-end site development process.
52
+
53
+
-**Leveraging LLM reasoning**
53
54
54
-
-[**Plus many, many more**](./scenarios.md)
55
+
Use an LLM to understand, debug, or make better decisions. For example, ask it to interpret entries from Umbraco Logs, suggest schema changes, or explain configuration errors.
56
+
57
+
-[**And many more**](./scenarios.md)
55
58
56
59
**Not recommended for non-developers**
57
60
58
-
While it’s technically feasible for non-developers to connect to Umbraco using this MCP server, we do not recommend it for the following reasons:
61
+
While it’s technically feasible for non-developers to connect to Umbraco using this MCP Server, it is not recommended for the following reasons:
62
+
63
+
-**Complex setup requirements**
64
+
65
+
This MCP server must run locally and it requires a configured Umbraco user account with appropriate permissions.
59
66
60
-
-**Complex setup requirements**
61
-
This MCP server must be run locally, and it requires a configured Umbraco user account with appropriate permissions.
67
+
-**Powerful tool access**
62
68
63
-
-**Powerful tool access**
64
69
Even for users with limited permissions, the MCP Server exposes many management-level tools. Incorrect commands could unintentionally alter or damage your Umbraco instance.
65
70
66
71
{% hint style="warning" %}
67
-
Do not connect the Developer MCP Server to a production Umbraco environment.
68
-
Always use a local or isolated development instance.
72
+
Do not connect the Developer MCP Server to a production Umbraco environment. Always use a local or isolated development instance.
69
73
{% endhint %}
70
74
71
-
We are actively working on additional MCP servers tailored to other roles such as editors and content managers. These will provide safer, simplified toolsets and workflows.
75
+
Additional MCP servers tailored to other roles such as editors and content managers are in development. These will provide safer, simplified toolsets and workflows.
72
76
73
77
## Getting started
74
78
75
79
### Umbraco Setup
76
80
77
81
Before connecting the MCP Server, you need to create an [API User](../../fundamentals/data/users/api-users.md) in Umbraco. This user allows the MCP Server to communicate securely with the Management API.
78
82
79
-
The level of access you assign to this API user determines what actions your AI agent can perform.
80
-
For example:
83
+
The level of access you assign to this API user determines what actions your AI agent can perform:
81
84
82
-
-A user with Editor permissions can manage and update content but cannot modify Document Types or perform administrative tasks.
83
-
-A user with Administrator permissions grants full access to all capabilities. This includes the ability to create, edit, or delete document types, data types, and more within Umbraco.
85
+
-**Editor permissions:** Manage and update content but cannot modify Document Types or perform administrative tasks.
86
+
-**Administrator permissions:** Full access including the ability to create, edit, or delete Document Types, Data Types, and more within Umbraco.
84
87
85
88
{% hint style="warning" %}
86
-
Only use a dedicated API user for MCP connections.
87
-
Do not share or reuse credentials from an existing backoffice user.
89
+
Only use a dedicated API user for MCP connections. Do not share or reuse credentials from an existing backoffice user.
88
90
{% endhint %}
89
91
90
92
### Host Setup
91
93
92
-
Each MCP-compatible host application has its own setup process. For this reason, we provide dedicated setup guides for the main developer environments we see most often:
94
+
Each MCP-compatible host application has its own setup process. Below you can find dedicated setup guides for the main developer environments seen most often:
93
95
94
-
[Claude Desktop](./host-setup/claude-desktop.md)
95
-
[Claude Code](./host-setup/claude-code.md)
96
-
[GitHub Copilot](./host-setup/github-copilot.md)
97
-
[Cursor](./host-setup/cursor.md)
96
+
-[Claude Desktop](./host-setup/claude-desktop.md)
97
+
-[Claude Code](./host-setup/claude-code.md)
98
+
-[GitHub Copilot](./host-setup/github-copilot.md)
99
+
-[Cursor](./host-setup/cursor.md)
98
100
99
101
Although the details vary slightly, the general pattern is the same across all hosts:
100
102
@@ -115,13 +117,12 @@ Although the details vary slightly, the general pattern is the same across all h
115
117
116
118
```
117
119
118
-
Add your Umbraco MCP configuration values (Client ID, Client Secret, URL of Umbraco) in the appropriate section of your host setup. Then restart the MCP Server or, in some cases, restart the host application itself.
120
+
Add your Umbraco MCP configuration values (Client ID, Client Secret, and Umbraco URL) in the appropriate section of your host setup. Then restart the MCP Server or, in some cases, restart the host application.
119
121
120
122
Once restarted, you’ll have access to the full suite of tools available through the Umbraco CMS Developer MCP Server.
121
123
122
124
{% hint style="info" %}
123
-
This Developer MCP Server requires Node.js version 22 or higher to be installed.
124
-
You can check your current Node.js version by running node -v in your terminal.
125
+
This Developer MCP Server requires `Node.js` version 22 or higher. Check your current `Node.js` version by running `node -v` in your terminal.
125
126
{% endhint %}
126
127
127
128
#### Never Use Against Production Environments
@@ -132,11 +133,13 @@ You can check your current Node.js version by running node -v in your terminal.
132
133
The Developer MCP Server provides powerful, direct access to your Umbraco Management API. While this makes it a good tool for development and testing, mistakes can have serious consequences. Misconfigurations or misunderstood commands can cause immediate and potentially destructive damage.
133
134
134
135
**Always use the Developer MCP Server with:**
136
+
135
137
- Local development instances only
136
138
- Isolated staging or test environments
137
139
- Environments where data loss or corruption would not impact live users or business operations
138
140
139
141
**Never connect to:**
142
+
140
143
- Production websites
141
144
- Live client sites
142
145
- Any environment where content, media, or configuration changes could affect real users
@@ -146,20 +149,14 @@ Even with limited user permissions, the scope and power of LLM-driven actions ma
146
149
147
150
### Choosing Your Tools
148
151
149
-
Your first step after setup should be deciding which tools you want to enable.
150
-
All tools are grouped into collections for easier management and isolation.
151
-
152
-
[Learn more about Tool Collections](./available-tools.md)
152
+
Your first step after setup should be deciding which tools you want to enable. All tools are grouped into collections for easier management and isolation. [Learn more about Tool Collections](./available-tools.md).
153
153
154
-
Choosing the right tools improves how efficiently the AI communicates with Umbraco, making each conversation faster and more context-aware.
154
+
Choosing the right tools improves how efficiently the AI communicates with Umbraco, making each conversation faster and more context-aware.[Learn more about Context Engineering](./concepts/context-enginerring.md).
155
155
156
-
[Learn more about Context Engineering](./concepts/context-enginerring.md)
156
+
### Using npx?
157
157
158
-
### Why Use npx?
159
-
160
-
We recommend launching the Developer MCP Server using npx.
161
-
This allows you to run the Node.js application without needing to install anything globally.
162
-
npx will temporarily download the package, execute it, and clean up automatically — ensuring you’re always using the latest version.
158
+
It is recommended to launch the Developer MCP Server using npx. This allows you to run the `Node.js` application without needing to install anything globally.
159
+
npx will temporarily download the package, execute it, and clean up automatically, ensuring you’re always using the latest version.
163
160
164
161
If you prefer, you can also install it globally with:
165
162
@@ -173,12 +170,12 @@ For advanced configuration options and environment variable settings, see the [C
173
170
174
171
## Working with the MCP Server
175
172
176
-
Once your MCP server is configured and connected, explore these guides to get the most out of your setup:
173
+
Once your MCP Server is configured and connected, explore these guides to get the most out of your setup:
177
174
178
-
-[Creating Media](./creating-media.md) - Learn how to upload and manage media items programmatically
179
-
-[Available Tools](./available-tools.md) - Complete reference of all available tools and collections
180
-
-[Scenarios](./scenarios.md) - Real-world examples and use cases
181
-
-[Best Practices](./best-practice/README.md) - Tips for effective MCP usage
175
+
-[Creating Media](best-practice/creating-media.md) - Learn how to upload and manage media items programmatically.
176
+
-[Available Tools](./available-tools.md) - Complete reference of all available tools and collections.
177
+
-[Scenarios](./scenarios.md) - Real-world examples and use cases.
178
+
-[Best Practices](./best-practice/README.md) - Tips for effective MCP usage.
182
179
183
180
## Version Compatibility
184
181
@@ -193,9 +190,8 @@ The Umbraco MCP Server is designed to work with specific major versions of Umbra
193
190
194
191
The MCP server automatically checks version compatibility on startup:
195
192
196
-
-**✅ Version Match**: No message displayed, server functions normally
197
-
-**⚠️ Version Mismatch**: The first tool request will fail with an error message asking you to retry if you want to proceed. After you retry, the warning displays once more. It is then never shown again for that session.
193
+
-**✅ Version Match**: No message displayed, server functions normally.
194
+
-**⚠️ Version Mismatch**: The first tool request fails with an error message prompting a retry. After retrying, the warning displays once more and is then suppressed for the rest of the session.
198
195
-**⚠️ API Error**: If the version check API call fails, a warning is displayed once but does not block tool execution.
199
196
200
197
The version check uses the Umbraco Management API endpoint `/umbraco/management/api/v1/server/information` to detect the connected Umbraco version and compares the major version number.
0 commit comments