@umbraco-engage/mcp 17.5.0 → 17.5.2

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
@@ -13,7 +13,7 @@ An MCP (Model Context Protocol) server for [Umbraco Engage](https://umbraco.com/
13
13
 
14
14
  The MCP server authenticates using an Umbraco API user, ensuring secure, permission-based access to the Umbraco Engage API. Credentials are provided via OAuth2 client credentials and used for every request to the Engage Management API.
15
15
 
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.
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
18
  ## Which version for which Umbraco
19
19
 
@@ -157,12 +157,21 @@ For example, `UMBRACO_INCLUDE_SLICES=read,list` registers only read and list too
157
157
 
158
158
  ## CMS MCP Server Chaining
159
159
 
160
- This server automatically chains to the [Umbraco CMS MCP server](https://www.npmjs.com/package/@umbraco-cms/mcp-dev), sharing the same API user credentials. All CMS tools are proxied with a `cms:` prefix (e.g. `cms:get-document`, `cms:list-media`).
160
+ This server automatically chains to the [Umbraco CMS MCP server](https://www.npmjs.com/package/@umbraco-cms/mcp-dev), sharing the same API user credentials. All CMS tools are proxied with a `cms--` prefix (e.g. `cms--get-document`, `cms--get-media-root`).
161
161
 
162
162
  This means your AI agent can work with both Engage and CMS content in a single conversation without needing to configure two separate MCP servers. Any mode, collection, and slice filter configuration is passed through to the chained server.
163
163
 
164
164
  To disable chaining, set `DISABLE_MCP_CHAINING=true`.
165
165
 
166
+ The hosted (Cloudflare Worker) server chains the same CMS tools, with the same `cms--` prefix,
167
+ in-process rather than as a subprocess, using the signed-in backoffice user's token. By default
168
+ its consent screen has no tool choices, as in the CMS editor MCP, and every Engage and CMS tool is
169
+ available. Set `ENABLE_CONSENT_TOOL_SELECTION=true` on the Worker to let users pick tool groups.
170
+ There the CMS tools are **opt-in**: the CMS groups have their own section, and only the ones
171
+ ticked are added. If you tick only CMS groups, tick the Engage groups you want too, or the Engage
172
+ tools are left out. `DISABLE_MCP_CHAINING=true` on the Worker leaves the CMS tools out, as it
173
+ does over stdio.
174
+
166
175
  ## License
167
176
 
168
177
  MIT
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import { randomUUID } from 'crypto';
12
12
 
13
13
  // package.json
14
14
  var package_default = {
15
- version: "17.5.0"};
15
+ version: "17.5.2"};
16
16
  var isMockMode = () => process.env.USE_MOCK_API === "true" && !process.env.JEST_WORKER_ID;
17
17
  var mockItems = /* @__PURE__ */ new Map();
18
18
  function initializeMockData() {
@@ -10911,7 +10911,7 @@ var collections = [
10911
10911
  ];
10912
10912
  await handleCliCommands(collections, {
10913
10913
  cliFlags: serverConfig.cliFlags,
10914
- serverName: "my-umbraco-mcp",
10914
+ serverName: "umbraco-engage-mcp",
10915
10915
  serverVersion: package_default.version,
10916
10916
  filterConfig,
10917
10917
  serverConfig: serverConfig.umbraco
@@ -10919,7 +10919,7 @@ await handleCliCommands(collections, {
10919
10919
  var engageVersionStatus = clientId ? await checkEngageVersion({ readVersion: readInstalledEngageVersion }) : ENGAGE_VERSION_NOT_CHECKED;
10920
10920
  var instructions = [engageVersionWarning(engageVersionStatus)].filter(Boolean).join("\n\n");
10921
10921
  var server = new McpServer(
10922
- { name: "umbraco-engage-editor-mcp", version: package_default.version },
10922
+ { name: "umbraco-engage-mcp", version: package_default.version },
10923
10923
  instructions ? { instructions } : void 0
10924
10924
  );
10925
10925
  var registeredToolCount = 0;