Skip to content

Commit bab12e6

Browse files
authored
Merge pull request #7590 from umbraco/mcp-dev-docs
Fixed typo, broken links, formatting, added missing periods
2 parents 4dfa575 + 6c6fc48 commit bab12e6

File tree

16 files changed

+329
-275
lines changed

16 files changed

+329
-275
lines changed
Lines changed: 54 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
---
2-
description: Get started with the CMS developer MCP.
2+
description: Get started with the Umbraco CMS Developer Model Context Protocol (MCP).
33
---
44

5-
# Developer Model Context Protocol (MCP) server
5+
# Developer Model Context Protocol (MCP) Server
66

77
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.
88

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.
1010

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.
1212

1313
{% hint style="info" %}
1414
Think of it as giving your AI tools a secure, structured way to “speak to Umbraco.”
1515
{% endhint %}
1616

17-
## How does it work
17+
## How it works
1818

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.
2120

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).
2322

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).
2524

2625
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.
2726

@@ -31,70 +30,73 @@ By exposing these endpoints as MCP tools, the Developer MCP Server enables you t
3130
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.
3231
{% endhint %}
3332

34-
## Who is this for?
33+
## Intended audience
3534

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.
3736

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.
3938

4039
Example use cases:
4140

42-
- **Automation of content, media and schema**
41+
- **Automation of content, media, and schema**
42+
4343
Automate repetitive actions through conversational commands. This includes creating or updating content or media, generating content models, or performing large-scale operations.
4444

4545
- **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.
4748

4849
- **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.
5050

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**
5354

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)
5558

5659
**Not recommended for non-developers**
5760

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.
5966

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**
6268

63-
- **Powerful tool access**
6469
Even for users with limited permissions, the MCP Server exposes many management-level tools. Incorrect commands could unintentionally alter or damage your Umbraco instance.
6570

6671
{% 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.
6973
{% endhint %}
7074

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.
7276

7377
## Getting started
7478

7579
### Umbraco Setup
7680

7781
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.
7882

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:
8184

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.
8487

8588
{% 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.
8890
{% endhint %}
8991

9092
### Host Setup
9193

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:
9395

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)
98100

99101
Although the details vary slightly, the general pattern is the same across all hosts:
100102

@@ -115,13 +117,12 @@ Although the details vary slightly, the general pattern is the same across all h
115117

116118
```
117119

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.
119121

120122
Once restarted, you’ll have access to the full suite of tools available through the Umbraco CMS Developer MCP Server.
121123

122124
{% 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.
125126
{% endhint %}
126127

127128
#### Never Use Against Production Environments
@@ -132,11 +133,13 @@ You can check your current Node.js version by running node -v in your terminal.
132133
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.
133134

134135
**Always use the Developer MCP Server with:**
136+
135137
- Local development instances only
136138
- Isolated staging or test environments
137139
- Environments where data loss or corruption would not impact live users or business operations
138140

139141
**Never connect to:**
142+
140143
- Production websites
141144
- Live client sites
142145
- 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
146149

147150
### Choosing Your Tools
148151

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).
153153

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).
155155

156-
[Learn more about Context Engineering](./concepts/context-enginerring.md)
156+
### Using npx?
157157

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.
163160

164161
If you prefer, you can also install it globally with:
165162

@@ -173,12 +170,12 @@ For advanced configuration options and environment variable settings, see the [C
173170

174171
## Working with the MCP Server
175172

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:
177174

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.
182179

183180
## Version Compatibility
184181

@@ -193,9 +190,8 @@ The Umbraco MCP Server is designed to work with specific major versions of Umbra
193190

194191
The MCP server automatically checks version compatibility on startup:
195192

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.
198195
- **⚠️ API Error**: If the version check API call fails, a warning is displayed once but does not block tool execution.
199196

200197
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.
201-

0 commit comments

Comments
 (0)