Skip to main content
Glama
automate-mcp-server

automate-mcp-server

Official
by umbraco

@umbraco-automate/mcp

An MCP server for Umbraco Automate. Point it at an Umbraco instance and your AI assistant can build and publish automations, wire up their steps and triggers, manage connections and workspaces, inspect and control runs, handle approvals, and roll back to earlier versions — 62 Automate tools across 8 collections, plus a server-info tool.

Built on @umbraco-cms/mcp-server-sdk.

Renamed: this package was previously published as @umbraco-automate/mcp-dev. If your MCP client config still names it, change it to @umbraco-automate/mcp (Umbraco 18) or @umbraco-automate/mcp@lts-17 (Umbraco 17). The command (automate-mcp-server) is unchanged.

Requirements

  • Node.js 22.23.4+, 24.22.1+ or 26.12.1+. Earlier releases are affected by CVE-2026-111497 (Brotli decoder out-of-bounds write), which Node's built-in fetch reaches when it decompresses a Brotli response from Umbraco. Upgrading Node.js is the only fix.

  • An Umbraco instance with Umbraco Automate installed, reachable over HTTP(S)

  • An API user on that instance (see below)

This version targets Umbraco 18 with Umbraco Automate 18.x. Connecting to a different major version warns and blocks the first tool call; set UMBRACO_EXPECTED_MAJOR to override if you know what you're doing.

Which version for which Umbraco

Umbraco

Umbraco Automate

Package

18

18.x

@umbraco-automate/mcp

17

17.x

@umbraco-automate/mcp@lts-17

Install the version that matches your site's Umbraco major — the API client and the version check differ between them.

The Umbraco 17 line is published under the lts-17 dist-tag, so it never takes over latest.

Every Automate 18.x release works. A few features arrived partway through the line (18.N ships the same features as 17.N); on older versions the tools refuse them with a clear message, or fall back:

Feature

Automate 18.x

Automate 17.x

Older versions

Request Approval approved/rejected outputs

18.2+

17.2+

One output that runs on approval; rejected refused

Container (While/ForEach/Parallel) done output

18.3+

17.3+

done refused; connect steps inside the body

get-automation-webhook-url reported by Umbraco

18.4+

17.4+

URL derived from UMBRACO_BASE_URL, with a note

Trigger supportsManualRun

18.4+

17.4+

Field omitted from list-catalogue-triggers

Related MCP server: MCP Lab

1. Create an API user in Umbraco

In the Umbraco backoffice:

  1. Go to Settings → Users

  2. Create a new API user

  3. Note its Client ID and Client Secret

  4. Grant it permissions for the Automate sections you want the assistant to reach

The server authenticates with those credentials via OAuth client credentials.

2. Add it to your MCP client

Claude Code / Claude Desktop

Add to your .mcp.json (or claude_desktop_config.json):

{
  "mcpServers": {
    "umbraco-automate": {
      "command": "npx",
      "args": ["-y", "@umbraco-automate/mcp"],
      "env": {
        "UMBRACO_BASE_URL": "https://your-site.example.com",
        "UMBRACO_CLIENT_ID": "your-client-id",
        "UMBRACO_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Restart your client and the tools appear.

Any other MCP client

The server speaks MCP over stdio. Run it however your client spawns servers:

UMBRACO_BASE_URL=https://your-site.example.com \
UMBRACO_CLIENT_ID=your-client-id \
UMBRACO_CLIENT_SECRET=your-client-secret \
npx -y @umbraco-automate/mcp

Local Umbraco with a self-signed certificate

Add "NODE_TLS_REJECT_UNAUTHORIZED": "0" to env. Only do this against local development instances — it disables certificate verification process-wide.

3. Check it works

Without wiring up a client:

# List every tool this server exposes
npx -y @umbraco-automate/mcp --list-tools

# Show resolved configuration and where each value came from
npx -y @umbraco-automate/mcp --debug-config

# Call a tool directly
UMBRACO_BASE_URL=... UMBRACO_CLIENT_ID=... UMBRACO_CLIENT_SECRET=... \
  npx -y @umbraco-automate/mcp --call list-automations --call-args '{}'

--describe-tool <name> prints a single tool's full input schema.

Configuration

Every option is an environment variable, and most also have a CLI flag (--help lists them).

CLI flags win over environment variables, and environment variables (including your MCP client's env block) win over a .env file in the working directory. A file passed with --env <path> overrides both the environment and ./.env.

Connection

Variable

Required

Purpose

UMBRACO_BASE_URL

yes

Base URL of your Umbraco instance

UMBRACO_CLIENT_ID

yes

API user's client ID

UMBRACO_CLIENT_SECRET

yes

API user's client secret

UMBRACO_EXPECTED_MAJOR

no

Override the expected Umbraco major version

Limiting the tool surface

63 tools is a lot of context. Narrow it down:

Variable

Purpose

UMBRACO_TOOL_MODES

Enable named groups of collections (see below)

UMBRACO_INCLUDE_TOOL_COLLECTIONS

Only these collections

UMBRACO_EXCLUDE_TOOL_COLLECTIONS

Everything except these

UMBRACO_INCLUDE_TOOLS / UMBRACO_EXCLUDE_TOOLS

Individual tools by name

UMBRACO_INCLUDE_SLICES / UMBRACO_EXCLUDE_SLICES

By operation type, e.g. delete

UMBRACO_READONLY

Block every write operation

UMBRACO_DRY_RUN

Log writes instead of performing them; write tools return a preview instead of their normal result

Available modes:

Mode

Includes

automate

All 8 Automate collections

umbraco-server

Server information only

"env": {
  "UMBRACO_INCLUDE_TOOL_COLLECTIONS": "automations,catalogue,runs",
  "UMBRACO_READONLY": "true"
}

What you get

Collection

Tools

What it covers

automations

23

Create, publish, trigger, import/export and delete automations; add, connect and configure steps; set triggers

workspaces

10

Workspaces and the groups (folders) that organise automations

catalogue

8

Available triggers, actions, control flows, connection types, notification channels and webhook authenticators

connections

6

Stored credentials/endpoints that steps use, including a connection test

runs

6

Run history and detail; replay, resume, suspend and terminate runs

version-history

5

Past versions of an entity — list, inspect, compare and roll back

approvals

2

Runs paused on an approval step, and approving/rejecting them

metrics

2

Run metrics overall and per automation

umbraco-server

1

Umbraco server information (version, runtime)

Run --list-tools for the full list with descriptions.

Building an automation

The usual order:

  1. list-catalogue-triggers / list-catalogue-step-types — see what's available.

  2. create-automation — creates an empty draft in a workspace.

  3. set-automation-trigger, then add-automation-step and connect-automation-steps — build the graph one piece at a time.

  4. publish-automation — make it live. trigger-automation starts a run by hand.

To copy an existing automation, use export-automation and then import-automation (check the payload first with validate-automation-import).

Umbraco CMS tools

By default this server also chains to @umbraco-cms/mcp-dev, exposing CMS tools (documents, media, members) alongside the Automate ones, prefixed cms-- (e.g. cms--get-document-by-id). It reuses the same credentials. The chained server is configured in src/config/mcp-servers.ts.

Set DISABLE_MCP_CHAINING=true to turn this off and run Automate tools only.

The hosted (Cloudflare Worker) server chains the same CMS tools, with the same cms-- prefix, in-process rather than as a subprocess, using the signed-in backoffice user's token. By default its consent screen has no tool choices, as in the CMS editor MCP, and every Automate and CMS tool is available. Set ENABLE_CONSENT_TOOL_SELECTION=true on the Worker to let users pick tool groups. There the CMS tools are opt-in: the CMS groups have their own section, and only the ones ticked are added. If you tick only CMS groups, tick the Automate groups you want too, or the Automate tools are left out. DISABLE_MCP_CHAINING=true on the Worker leaves the CMS tools out, as it does over stdio.

Troubleshooting

Symptom

Likely cause

401 on every tool

Wrong UMBRACO_CLIENT_ID / UMBRACO_CLIENT_SECRET, or the API user lacks permissions

Self-signed certificate errors

Local HTTPS instance — set NODE_TLS_REJECT_UNAUTHORIZED=0

Version mismatch warning, first tool call blocked

Instance isn't Umbraco 18 — use @umbraco-automate/mcp@lts-17 for Umbraco 17, or set UMBRACO_EXPECTED_MAJOR

404 on Automate tools

Umbraco Automate isn't installed on the instance

A tool you expected isn't listed

Check UMBRACO_TOOL_MODES and the include/exclude variables with --debug-config

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>

Contributing

Setting up the repo, running the demo Umbraco site and the test suites: see CONTRIBUTING.md.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers