> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/mcp-servers/engage-developer-mcp/configuration.md). Agents can also search and read this documentation through its [MCP server](https://docs.umbraco.com/~gitbook/mcp).

# Configuration Options

Configuration options for the Engage Developer MCP server

The Engage Developer MCP Server uses the same configuration fields as any Umbraco MCP server built on the Base MCP SDK. For authentication, environment variables, CLI arguments, precedence rules, and all built-in fields, see the [SDK Configuration reference](https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/custom-mcp-server/sdk/configuration.md).

For a complete reference of CLI flags, runtime modes (readonly and dry-run), introspection commands, and input sanitization, see the [CLI Reference](https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/custom-mcp-server/sdk/cli.md).

This page lists the specific tool modes and slices that the Engage Developer MCP ships with. It also covers the connection and chaining fields it adds on top of the SDK defaults.

## Connection

| Variable                 | CLI Flag                   | Purpose                                                                                      |
| ------------------------ | -------------------------- | -------------------------------------------------------------------------------------------- |
| `UMBRACO_CLIENT_ID`      | `--umbraco-client-id`      | OAuth2 client ID of the Umbraco API user                                                     |
| `UMBRACO_CLIENT_SECRET`  | `--umbraco-client-secret`  | OAuth2 client secret of the Umbraco API user                                                 |
| `UMBRACO_BASE_URL`       | `--umbraco-base-url`       | URL of the Umbraco instance running Engage                                                   |
| `UMBRACO_EXPECTED_MAJOR` | `--umbraco-expected-major` | Overrides the Umbraco major version the server expects. See [Version Check](#version-check). |

{% hint style="warning" %}
Set the client secret as an environment variable, not as a CLI flag. CLI arguments can show up in process lists and shell history.
{% endhint %}

### Version Check

When the server starts, it compares the Umbraco major version of the connected instance with the version it targets. The Umbraco 18 line targets `18`.

If the versions do not match, the server logs a warning, and the first tool call returns the warning instead of running. Calling the tool again runs it.

Set `UMBRACO_EXPECTED_MAJOR` only when you deliberately connect to a different Umbraco major version. Otherwise, install the package that matches your site. See [Umbraco Engage Version Support](https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/mcp-servers/engage-developer-mcp.md#umbraco-engage-version-support).

## Tool Filtering

The Engage Developer MCP Server uses the SDK [tool filtering system](https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/custom-mcp-server/sdk/tool-filtering.md) to control which tools are registered. Filtering is built around three concepts: **modes**, **collections**, and **slices**. See the SDK documentation for how these compose and the available configuration keys.

### Available Modes

The Engage Developer MCP ships with the following modes:

| Mode              | Collections                                                                                                                                                                                       | Description                                                                  |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `ab-testing`      | `ab-test`, `ab-test-project`, `ab-test-variant`                                                                                                                                                   | A/B tests, projects, and variants.                                           |
| `analytics`       | `analytics`, `reporting`, `statistics`, `search-terms`, `heatmaps`                                                                                                                                | Analytics queries, reporting, statistics, search terms, and heatmaps.        |
| `personalization` | `persona`, `segments`, `applied-personalization`, `customer-journey`                                                                                                                              | Personas, segments, applied personalization, and customer journeys.          |
| `campaigns`       | `campaigns`, `campaign-group`, `goal`, `goals`, `annotations`                                                                                                                                     | Campaigns, campaign groups, goals, and annotations.                          |
| `scoring`         | `content-scoring`, `referral-scoring`, `referral-group`                                                                                                                                           | Content and referral scoring.                                                |
| `profiles`        | `profile`                                                                                                                                                                                         | Visitor profiles.                                                            |
| `administration`  | `configuration`, `main-switch`, `package`, `add-ons`, `cultures`, `content-types`, `document-type-permissions`, `user-group-permissions`, `data-cleanup`, `traffic-filter`, `suspicious-activity` | Configuration, permissions, data cleanup, main switch, package, and add-ons. |

Set `UMBRACO_TOOL_MODES` (or `--umbraco-tool-modes`) to one or more comma-separated mode names to enable all collections in those modes at once. See [Available Tools](https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/mcp-servers/engage-developer-mcp/available-tools.md) for the full list of collections and the tools within each.

### Available Slices

The Engage Developer MCP ships with the following slices, used with `UMBRACO_INCLUDE_SLICES` / `UMBRACO_EXCLUDE_SLICES`:

| Slice    | Description                                                     |
| -------- | --------------------------------------------------------------- |
| `create` | Create entities.                                                |
| `read`   | Get single items, or lists/searches of items.                   |
| `update` | Update entities.                                                |
| `delete` | Delete entities.                                                |
| `search` | Query and aggregate operations (analytics queries, reporting).  |
| `other`  | Catch-all for tools that do not map to any of the slices above. |

For example, `UMBRACO_INCLUDE_SLICES=read,search` registers only read and search tools, which is useful for a reporting-only or read-only integration.

## CMS MCP Server Chaining

The Engage Developer MCP Server automatically chains to the [Umbraco CMS Developer MCP Server](https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/mcp-servers/cms-developer-mcp.md), reusing the same `UMBRACO_CLIENT_ID`, `UMBRACO_CLIENT_SECRET`, and `UMBRACO_BASE_URL` credentials. The Umbraco 18 line starts `@umbraco-cms/mcp-dev@18`. All CMS tools are proxied with a `cms--` prefix (for example, `cms--get-document-by-id`, `cms--get-media-by-id`).

This means a single MCP connection gives your AI agent access to both Engage and CMS capabilities. It is useful when personalization rules, A/B tests, or campaigns need to reference real documents, media, or content types.

Any mode, collection, and slice filter configuration set on the Engage MCP Server is passed through to the chained CMS server. Filtering therefore also narrows which `cms--` tools are registered.

| Variable               | CLI Flag                 | Purpose                                                                   |
| ---------------------- | ------------------------ | ------------------------------------------------------------------------- |
| `DISABLE_MCP_CHAINING` | `--disable-mcp-chaining` | Disable chaining to the CMS MCP Server. Only Engage tools are registered. |

{% hint style="info" %}
Disabling chaining is useful when you already run a separate CMS Developer MCP connection in your host.

It avoids registering duplicate `cms--` tools.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.umbraco.com/umbraco-in-ai/19.latest/mcp/mcp-servers/engage-developer-mcp/configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
