@umbraco-automate/mcp 18.6.3 → 19.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -20
- package/dist/collections.js +170 -87
- package/dist/collections.js.map +1 -1
- package/dist/index.js +173 -90
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,8 +8,9 @@ back to earlier versions — 62 Automate tools across 8 collections, plus a serv
|
|
|
8
8
|
Built on [`@umbraco-cms/mcp-server-sdk`](https://www.npmjs.com/package/@umbraco-cms/mcp-server-sdk).
|
|
9
9
|
|
|
10
10
|
> **Renamed:** this package was previously published as `@umbraco-automate/mcp-dev`. If your MCP
|
|
11
|
-
> client config still names it, change it to `@umbraco-automate/mcp` (Umbraco
|
|
12
|
-
> `@umbraco-automate/mcp@lts-17` (Umbraco 17). The command
|
|
11
|
+
> client config still names it, change it to `@umbraco-automate/mcp@beta` (Umbraco 19),
|
|
12
|
+
> `@umbraco-automate/mcp` (Umbraco 18) or `@umbraco-automate/mcp@lts-17` (Umbraco 17). The command
|
|
13
|
+
> (`automate-mcp-server`) is unchanged.
|
|
13
14
|
|
|
14
15
|
## Requirements
|
|
15
16
|
|
|
@@ -17,7 +18,7 @@ Built on [`@umbraco-cms/mcp-server-sdk`](https://www.npmjs.com/package/@umbraco-
|
|
|
17
18
|
- An **Umbraco instance with Umbraco Automate installed**, reachable over HTTP(S)
|
|
18
19
|
- An **API user** on that instance (see below)
|
|
19
20
|
|
|
20
|
-
This version targets **Umbraco
|
|
21
|
+
This version targets **Umbraco 19** with Umbraco Automate 19.x. Connecting to a different major
|
|
21
22
|
version warns and blocks the first tool call; set `UMBRACO_EXPECTED_MAJOR` to override if you know
|
|
22
23
|
what you're doing.
|
|
23
24
|
|
|
@@ -25,23 +26,28 @@ what you're doing.
|
|
|
25
26
|
|
|
26
27
|
| Umbraco | Umbraco Automate | Package |
|
|
27
28
|
|---------|------------------|---------|
|
|
28
|
-
| **
|
|
29
|
+
| **19** | **19.x** | **`@umbraco-automate/mcp@beta`** (19.0.0-beta.x, prerelease) |
|
|
30
|
+
| 18 | 18.x | `@umbraco-automate/mcp` |
|
|
29
31
|
| 17 | 17.x | `@umbraco-automate/mcp@lts-17` |
|
|
30
32
|
|
|
31
33
|
Install the version that matches your site's Umbraco major — the API client and the version check
|
|
32
34
|
differ between them.
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
Umbraco 19 isn't released as stable yet, so the Umbraco 19 line is published as `19.0.0-beta.x`
|
|
37
|
+
under the `beta` dist-tag; `latest` stays on the Umbraco 18 line until 19 is stable. Install
|
|
38
|
+
`@beta` for Umbraco 19. The Umbraco 17 line is published under the `lts-17` dist-tag, so it never
|
|
39
|
+
takes over `latest`.
|
|
35
40
|
|
|
36
|
-
Every Automate
|
|
37
|
-
|
|
41
|
+
Every Automate 19.x release works, prereleases included: Automate 19 shipped with every feature
|
|
42
|
+
below. On the 17 and 18 lines some arrived partway through (18.N ships the same features as 17.N);
|
|
43
|
+
on older versions the tools refuse them with a clear message, or fall back:
|
|
38
44
|
|
|
39
|
-
| Feature | Automate 18.x | Automate 17.x | Older versions |
|
|
40
|
-
|
|
41
|
-
| Request Approval `approved`/`rejected` outputs | 18.2+ | 17.2+ | One output that runs on approval; `rejected` refused |
|
|
42
|
-
| Container (While/ForEach/Parallel) `done` output | 18.3+ | 17.3+ | `done` refused; connect steps inside the `body` |
|
|
43
|
-
| `get-automation-webhook-url` reported by Umbraco | 18.4+ | 17.4+ | URL derived from `UMBRACO_BASE_URL`, with a note |
|
|
44
|
-
| Trigger `supportsManualRun` | 18.4+ | 17.4+ | Field omitted from `list-catalogue-triggers` |
|
|
45
|
+
| Feature | Automate 19.x | Automate 18.x | Automate 17.x | Older versions |
|
|
46
|
+
|---------|---------------|---------------|---------------|----------------|
|
|
47
|
+
| Request Approval `approved`/`rejected` outputs | 19.0+ | 18.2+ | 17.2+ | One output that runs on approval; `rejected` refused |
|
|
48
|
+
| Container (While/ForEach/Parallel) `done` output | 19.0+ | 18.3+ | 17.3+ | `done` refused; connect steps inside the `body` |
|
|
49
|
+
| `get-automation-webhook-url` reported by Umbraco | 19.0+ | 18.4+ | 17.4+ | URL derived from `UMBRACO_BASE_URL`, with a note |
|
|
50
|
+
| Trigger `supportsManualRun` | 19.0+ | 18.4+ | 17.4+ | Field omitted from `list-catalogue-triggers` |
|
|
45
51
|
|
|
46
52
|
## 1. Create an API user in Umbraco
|
|
47
53
|
|
|
@@ -65,7 +71,7 @@ Add to your `.mcp.json` (or `claude_desktop_config.json`):
|
|
|
65
71
|
"mcpServers": {
|
|
66
72
|
"umbraco-automate": {
|
|
67
73
|
"command": "npx",
|
|
68
|
-
"args": ["-y", "@umbraco-automate/mcp"],
|
|
74
|
+
"args": ["-y", "@umbraco-automate/mcp@beta"],
|
|
69
75
|
"env": {
|
|
70
76
|
"UMBRACO_BASE_URL": "https://your-site.example.com",
|
|
71
77
|
"UMBRACO_CLIENT_ID": "your-client-id",
|
|
@@ -86,7 +92,7 @@ The server speaks MCP over stdio. Run it however your client spawns servers:
|
|
|
86
92
|
UMBRACO_BASE_URL=https://your-site.example.com \
|
|
87
93
|
UMBRACO_CLIENT_ID=your-client-id \
|
|
88
94
|
UMBRACO_CLIENT_SECRET=your-client-secret \
|
|
89
|
-
npx -y @umbraco-automate/mcp
|
|
95
|
+
npx -y @umbraco-automate/mcp@beta
|
|
90
96
|
```
|
|
91
97
|
|
|
92
98
|
### Local Umbraco with a self-signed certificate
|
|
@@ -100,14 +106,14 @@ Without wiring up a client:
|
|
|
100
106
|
|
|
101
107
|
```bash
|
|
102
108
|
# List every tool this server exposes
|
|
103
|
-
npx -y @umbraco-automate/mcp --list-tools
|
|
109
|
+
npx -y @umbraco-automate/mcp@beta --list-tools
|
|
104
110
|
|
|
105
111
|
# Show resolved configuration and where each value came from
|
|
106
|
-
npx -y @umbraco-automate/mcp --debug-config
|
|
112
|
+
npx -y @umbraco-automate/mcp@beta --debug-config
|
|
107
113
|
|
|
108
114
|
# Call a tool directly
|
|
109
115
|
UMBRACO_BASE_URL=... UMBRACO_CLIENT_ID=... UMBRACO_CLIENT_SECRET=... \
|
|
110
|
-
npx -y @umbraco-automate/mcp --call list-automations --call-args '{}'
|
|
116
|
+
npx -y @umbraco-automate/mcp@beta --call list-automations --call-args '{}'
|
|
111
117
|
```
|
|
112
118
|
|
|
113
119
|
`--describe-tool <name>` prints a single tool's full input schema.
|
|
@@ -188,7 +194,8 @@ To copy an existing automation, use **`export-automation`** and then **`import-a
|
|
|
188
194
|
|
|
189
195
|
## Umbraco CMS tools
|
|
190
196
|
|
|
191
|
-
By default this server also chains to [`@umbraco-cms/mcp-dev`](https://www.npmjs.com/package/@umbraco-cms/mcp-dev)
|
|
197
|
+
By default this server also chains to [`@umbraco-cms/mcp-dev`](https://www.npmjs.com/package/@umbraco-cms/mcp-dev)
|
|
198
|
+
(`@^19.0.0-beta.3` on this line, the CMS MCP's Umbraco 19 prereleases),
|
|
192
199
|
exposing CMS tools (documents, media, members) alongside the Automate ones, prefixed `cms--`
|
|
193
200
|
(e.g. `cms--get-document-by-id`). It reuses the same credentials. The chained server is
|
|
194
201
|
configured in `src/config/mcp-servers.ts`.
|
|
@@ -210,7 +217,7 @@ as it does over stdio.
|
|
|
210
217
|
|---------|--------------|
|
|
211
218
|
| `401` on every tool | Wrong `UMBRACO_CLIENT_ID` / `UMBRACO_CLIENT_SECRET`, or the API user lacks permissions |
|
|
212
219
|
| Self-signed certificate errors | Local HTTPS instance — set `NODE_TLS_REJECT_UNAUTHORIZED=0` |
|
|
213
|
-
| Version mismatch warning, first tool call blocked | Instance isn't Umbraco
|
|
220
|
+
| Version mismatch warning, first tool call blocked | Instance isn't Umbraco 19 — use `@umbraco-automate/mcp` 18.x for Umbraco 18 or `@umbraco-automate/mcp@lts-17` for Umbraco 17, or set `UMBRACO_EXPECTED_MAJOR` |
|
|
214
221
|
| `404` on Automate tools | Umbraco Automate isn't installed on the instance |
|
|
215
222
|
| A tool you expected isn't listed | Check `UMBRACO_TOOL_MODES` and the include/exclude variables with `--debug-config` |
|
|
216
223
|
| A value in `.env` seems to be ignored | The same variable is also set in your MCP client's `env` block or your shell, and that wins over `./.env`. Remove one of them, or pass the file with `--env <path>` |
|