Less turned out to be more. When I removed dozens of the tools our Automator MCP server offered to AI apps, the server ended up able to do more on a WordPress site than before. Automator MCP connects AI apps such as Claude, ChatGPT, Gemini or Copilot to a site running Uncanny Automator, a WordPress plugin on more than 40,000 sites. MCP is the Model Context Protocol, the standard way for an AI app to call outside tools. A site administrator, whom I call the owner below, approves the connection once at automatorplugin.com, with no application password to create and no API key to copy. After that the AI app can read and change pages, orders, plugins, settings and automations.

Handing a live site to software steered by text carries obvious risk, especially from prompt injection, where outside text the model reads tries to redirect what it does. My position from the start was that the model itself cannot be the layer that keeps the site safe.

I designed the hosted server and built its backend, and I wrote much of the safety code in the plugin.

Decision 1: A few general tools instead of one tool per feature

An MCP server sends descriptions of every tool to the AI app, and those descriptions take up room in every conversation. Our first version offered dozens of separate tools, one for each Automator operation, such as saving a recipe, running an action or listing plugins. That breaks down once you look at the numbers: Automator has 850+ actions across 240+ plugins and apps on its paid plans, and 440+ actions across 138+ plugins and apps in the free plugin. WordPress has its own abilities, and every plugin on a site adds more. Giving each operation its own tool creates a list that never stops growing and leaves the model choosing among hundreds of near-identical names.

The opposite extreme, a single tool that accepts anything, fails for the reverse reason. If the input can be anything, the site cannot check it and the owner cannot turn part of it off.

The design we shipped sits between the two. Today the server publishes 17 tools in total, and those 17 reach everything the old ones did, along with operations the old tools could not reach. The AI searches for an operation, reads its exact inputs and then runs it. Separate tools cover WordPress abilities, reviewed REST operations and site commands, and a few more read the database and upload media. That adds one extra step before the AI can act on something new, and if the search misses, the model may wrongly conclude that a task is impossible.

Alongside the tools there are more than 200 written guides that the AI can search and read. Each guide explains how to do one kind of task well, such as editing a page in a particular page builder. A guide grants nothing, cannot run code or widen access, and only helps a permitted task go better.

Decision 2: The site enforces the rules, not the model

The server sends instructions telling the AI how to behave, but instructions are only advice. A model can ignore advice, and a web page the model reads can tell it to.

So every rule that matters is checked by the plugin on the customer’s own site, at the moment a request arrives. The approval screen tells the owner whether the AI app asked to change the site or only to read it, and the plugin holds the app to what was approved. The owner also has switches for each tool and each ability, plus separate switches for database reading, file reading and site management. Any request from the AI to edit those switches is refused.

Some requests are refused whatever the owner allowed. There is no shell, the file holding the database password cannot be read, and no AI app can delete a user or give anyone administrator access.

That last rule shows where a check has to sit. The obvious place is the AI’s request: inspect its fields and refuse any that name an administrator role. That is not enough on its own, because what a request asks for and what finally gets stored are not always the same thing. So the rule is enforced a second time, at the point where WordPress writes the role. The lesson I took from it is to check what is about to happen, not only what was asked.

Uncanny Agent, the assistant inside the plugin, asks the owner before every change because the owner is sitting in that chat. An outside AI app has its own confirmation prompts, which we do not control. So here the owner sets the limits once, and the site holds every request to them.

Twelve things an AI app might ask a WordPress site to do

When the owner allows everything, 6 of the 12 requests run.

If the owner allows reading only, the three requests that change the site are refused. Turning off one of the three switches refuses the request that depends on it.

  • List the active plugins

    This request runs

    Plain reads need no switch.

  • Read the users table

    This request runs

    Up to 100 rows at a time. The password column comes back as [REDACTED].

  • Read the theme’s functions.php file

    This request runs

    Refused instead if the file contains a password or a key.

  • Edit the text of a page

    This request runs
  • Move a post to the trash

    This request runs

    The owner can restore the post from the trash.

  • Update a plugin

    This request runs
  • Read wp-config.php

    Always refused

    That file holds the database password. No switch opens it.

  • Delete a plugin

    Always refused

    There is no command that deletes or uninstalls.

  • Run a shell command

    Always refused

    There is no shell.

  • Make a user an administrator

    Always refused

    Refused when the AI asks, and again at the moment WordPress would save the role.

  • Delete a user

    Always refused

    No switch turns this on.

  • Turn one of the owner’s switches back on

    Always refused

    Only a person signed in to the site can change the switches.

Figure 1. What an AI app can do on a site depends on what the owner allowed, and six of these twelve requests are refused whatever the owner allowed. This figure copies a few rules from Uncanny Automator 8.1 to show how they combine. The plugin’s own code decides what really happens.

Decision 3: The AI names the site every time

Many customers connect more than one site to the same account at automatorplugin.com, so the server has to know which site each request targets. Remembering the last site used would save repetition, but I decided against it. Conversations drift from one site to another without anyone announcing the switch, and a remembered site turns that drift into a change on the wrong site.

A model can ignore advice, and a web page the model reads can tell it to.

Every request that touches a site now has to name it. That repeats the site in every call, which is a small price next to a change made on the wrong site. If the name is missing or wrong, the request is refused. The reply lists the sites this AI app may use and tells it to ask the person instead of choosing one itself. Every request also carries a short sentence explaining what it is for, so the owner’s activity history reads as plain purposes rather than raw tool names.

Decision 4: Errors say whether anything changed

Most servers return an error message when a tool fails, and most models respond by trying again. That is fine for a read, but for a change it is how a customer ends up with two orders or two emails.

We report every failed request as one of three outcomes: the request was not sent, it was refused before it ran so nothing changed, or it was sent with an unknown result. In that third case, the reply says “The action may have run. Check the site before trying again.” The server never repeats a change on its own. That can cost the AI an extra read after a failure, but it always knows whether it has to check the site before trying again.

Where the guarantees stop

The site’s rules cover what Automator and WordPress do themselves. For WordPress’s own content, such as posts and pages, deleting moves an item to the trash where the owner can restore it. Other plugins define their own operations, and each behaves the way its author wrote it. We cannot change another company’s plugin, so where its delete is permanent the tool tells the AI so instead of hiding the difference.

Search sets the other limit. Because the AI finds operations by searching for them, search quality decides what the AI believes a site can do. When a search misses, the AI can give up on a task the site could have done. That makes search the part of this design that deserves the most continued attention.