@umbraco-engage/mcp 17.5.0 → 18.2.0

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 CHANGED
@@ -15,23 +15,20 @@ The MCP server authenticates using an Umbraco API user, ensuring secure, permiss
15
15
 
16
16
  It chains to the [Umbraco CMS MCP server](https://www.npmjs.com/package/@umbraco-cms/mcp-dev), proxying its tools with a `cms:` prefix. This gives your AI agent access to both Engage and CMS capabilities in a single session — useful when personalization, A/B tests, or campaigns need to reference real documents, media, or content types.
17
17
 
18
- ## Which version for which Umbraco
18
+ ## Versions
19
19
 
20
- | Umbraco | Umbraco Engage | Package |
21
- |---------|----------------|---------|
22
- | 18 | 18.2.0 or later | `@umbraco-engage/mcp` (18.x, built from `v18/main`) |
23
- | **17** | **17.5.0 or later** | **`@umbraco-engage/mcp@lts-17`** (built from `main`) |
20
+ Install the line that matches your Umbraco major:
24
21
 
25
- Install the version that matches your site's Umbraco major — the API client differs between them.
22
+ | Umbraco | Package version | Source branches |
23
+ |---|---|---|
24
+ | 18 (with Umbraco Engage 18.2.0 or later) | `18.x` | `v18/main`, `v18/dev` |
25
+ | 17 (with Umbraco Engage 17.x) | `17.x` | `main`, `dev` |
26
+
27
+ Engage changed its Management API within 18.x, so the Umbraco 18 line needs Umbraco Engage 18.2.0 or later. On an older Umbraco Engage the affected tools (A/B tests, personalization, analytics queries and a few others) refuse to run, with a message naming the required version; the other tools keep working.
26
28
 
27
- Umbraco Engage 17.5.0 changed its Management API (A/B tests and applied personalization reference
28
- goals, projects and segments by key, and two endpoints were removed), so the Umbraco 17 line needs
29
- Umbraco Engage 17.5.0 or later. On an older Umbraco Engage the affected tools (A/B tests, personalization,
30
- analytics queries and a few others) refuse to run, with a message naming the required version; the
31
- other tools keep working.
29
+ The server checks the connected Umbraco's major version at startup and blocks the first tool call with a warning if it doesn't match. Set `UMBRACO_EXPECTED_MAJOR` only to override that deliberately.
32
30
 
33
- The Umbraco 17 line is published under its own `lts-17` dist-tags, so it never takes over `latest`
34
- or `beta` from the Umbraco 18 line. Install `@lts-17`.
31
+ Note for contributors: this repo's branch layout is deliberately the reverse of the Umbraco CMS, Forms and Automate MCP repos, which keep their newest major on `main`/`dev` and Umbraco 17 on `v17/*`.
35
32
 
36
33
  ## Quick Start
37
34
 
@@ -52,7 +49,7 @@ Add the server to your MCP client configuration (Claude Desktop, Cursor, VS Code
52
49
  "mcpServers": {
53
50
  "umbraco-engage": {
54
51
  "command": "npx",
55
- "args": ["@umbraco-engage/mcp@lts-17"],
52
+ "args": ["@umbraco-engage/mcp"],
56
53
  "env": {
57
54
  "NODE_TLS_REJECT_UNAUTHORIZED": "0",
58
55
  "UMBRACO_CLIENT_ID": "your-api-user-id",
@@ -83,6 +80,7 @@ client's `env` block) win over a `.env` file in the working directory. A file pa
83
80
  | `UMBRACO_CLIENT_ID` | `--umbraco-client-id` | OAuth client ID |
84
81
  | `UMBRACO_CLIENT_SECRET` | `--umbraco-client-secret` | OAuth client secret |
85
82
  | `UMBRACO_BASE_URL` | `--umbraco-base-url` | Umbraco instance URL |
83
+ | `UMBRACO_EXPECTED_MAJOR` | `--umbraco-expected-major` | Override the Umbraco major this server expects (normally leave unset) |
86
84
 
87
85
  ### Tool Filtering
88
86
 
@@ -116,7 +114,7 @@ Modes are named groups that enable related collections together. Set `UMBRACO_TO
116
114
 
117
115
  | Collection | Tools | Description |
118
116
  |---|---|---|
119
- | `ab-test` | 11 | A/B test CRUD, pages, preview URL, runtime indication, view model |
117
+ | `ab-test` | 12 | A/B test CRUD, start/stop, pages, runtime indication, view model |
120
118
  | `ab-test-project` | 6 | A/B test project CRUD and details |
121
119
  | `ab-test-variant` | 7 | Variants: create, disable, details, segment lookup |
122
120
  | `add-ons` | 1 | Engage add-on metadata |
@@ -143,7 +141,7 @@ Modes are named groups that enable related collections together. Set `UMBRACO_TO
143
141
  | `referral-scoring` | 2 | Mark referrals as scored / unscored |
144
142
  | `reporting` | 6 | Reporting generation, segment and goal performance |
145
143
  | `search-terms` | 1 | Search terms report |
146
- | `segments` | 7 | Segments CRUD, content assignment, priority, locations |
144
+ | `segments` | 6 | Segments CRUD, priority, locations |
147
145
  | `statistics` | 1 | Overall Engage statistics |
148
146
  | `suspicious-activity` | 1 | Suspicious activity overview |
149
147
  | `traffic-filter` | 5 | Traffic filter CRUD |