WordPress MCP Security Checklist: What We Lock Down Before an AI Touches the Site

Written by

in

·

Two AI assistants have tool access to this WordPress site through an MCP plugin. Claude can edit it. OpenAI’s Codex can only read it. A third assistant, Gemini, has no direct connection to the site and works from files we give it.

That arrangement came with a set of operating checks. These are those checks, with the observations recorded as of October 30, 2026, including the parts that are still not fixed. For the original setup, see How I Connected Claude to My WordPress Blog with MCP.

Updated November 14, 2026: added item 10, on what the plugin’s activity log showed after its first 556 rows.

1. One connection per assistant, scoped to its job

The plugin, Easy MCP AI, supports two kinds of connection. Claude connects over OAuth and was granted full access, because it drafts posts and changes settings. Codex connects with API tokens set to read-only, one token per device it runs on, so a single device can be cut off without touching the others. Read-only limits what Codex can do; it does not make the data it can read any less sensitive.

Full access is broader than the specification recommends. The Model Context Protocol’s security guidance warns that broad scopes widen the damage if a token is stolen, and suggests starting with low-risk read operations and asking for more only when needed. Claude’s grant is still broad. Our approval instructions govern how we intend it to act; they do not reduce the credential’s permissions or protect against someone using a stolen token.

2. Dangerous tools stay switched off at the plugin

Instructions to an assistant are not the same as permissions. In our installed version of Easy MCP AI, the tools for installing, deleting and uninstalling plugins were off, and we left them off. Switching these tools off blocks those tool calls through this MCP connection. It does not restrict a separately authorized WordPress dashboard session: when we installed an SEO plugin on October 30, it went in through the dashboard, in a browser session the site owner had signed in to, not through the MCP connection.

The same plugin also offers integration tools for other plugins, such as SEO plugins, and these stay off until switched on under Easy MCP AI › Tools › Abilities. After the SEO plugin was installed we did not switch its write tools on: on the four published posts we checked, it already used each post’s reviewed excerpt as the meta description, so the job did not need them.

3. Reserve high-impact decisions for the owner

Drafts, notes and private changes can be made by the assistant and reported afterwards. The owner reserves approval for security, account and permission changes, plugin installations or removals, deletions and other high-impact actions. Since October 30, routine publication or replacement of a post can proceed under the owner’s delegation after Codex gives a YES and Gemini passes the exact revision.

OWASP’s guidance on prompt injection recommends least privilege and human approval for high-risk operations in AI systems that can take actions. How each kind of change is classified here is our own choice. These are operating instructions, not a server-enforced approval gate; item 2 is the part the plugin enforces.

4. An exposed token gets revoked, and the list gets checked

A Codex token was exposed during setup and revoked on October 23. Issuing a replacement does not cancel the old token, so the check that matters comes afterwards: open the plugin’s token list and confirm the exposed one is no longer marked Active. Our rule is to keep token values out of project notes, screenshots and chat logs.

5. MCP and sign-in addresses are excluded from the page cache

The site runs LiteSpeed Cache. Easy MCP AI’s diagnostics include a check that the plugin’s endpoints are excluded from caching, and these three entries were added under LiteSpeed’s Do Not Cache URIs setting:

/wp-json/easy-mcp-ai/
/.well-known/oauth-
/.well-known/openid-configuration

The first is this plugin’s own MCP endpoint; the other two cover the discovery addresses used during OAuth sign-in. Another MCP plugin will have its own endpoint path, and another cache plugin its own setting and syntax.

6. Unfixed warnings stay on a written list

The October 23 diagnostic reported two warnings:

  • A missing Authorization-header rewrite rule. According to the plugin, this can make a valid token look invalid.
  • A 30-second PHP execution limit, which may cut off larger operations.

Our log records successful calls despite those warnings; neither warning has a recorded resolution. The note in the log says to come back to these two first if a valid token is ever rejected or a large write fails.

7. Automatic updates are decided plugin by plugin

WordPress can update each plugin automatically. Here, Akismet and LiteSpeed Cache update automatically. Easy MCP AI, the plugin that controls the assistants’ access, and the newly installed SEO plugin are updated by hand, after a backup check. On October 30 an Easy MCP AI update (2.3.2) was waiting while 2.2.2 was installed; it had not been applied yet.

Manual updates carry their own risk: a security fix only helps once someone applies it. If you choose manual, decide who checks for updates and how often.

8. Check a recent backup before changes

The host takes daily incremental backups with JetBackup. Before installing the SEO plugin on October 30, the latest backup in the list was from earlier that day. The same list had no entries for October 22 or October 29, and we do not know why.

We have never tested a restore.

9. Check affected public pages after changes

After a change, the plan is to clear the cache and load the affected pages as a logged-out visitor, because a logged-in view can hide what the public sees. On October 30, Claude did this after switching the homepage to a list of excerpts and again after the SEO plugin went in. Claude’s logged-out checks recorded no external-host scripts on the inspected pages before or after the SEO installation.

When its read-only WordPress connection is available, Codex can compare a post’s stored title, content and excerpt with the revision it reviewed. Its October 30 audit compared all three fields for the four published posts. In cloud-only runs, Claude supplies the site observations instead.

10. Read the activity log, and know what it does not cover

Easy MCP AI writes one row for every tool call an assistant makes, reads included. On November 7, 2026, we pulled every row back to the first logged call on October 19: 556 in all, with row IDs running from 1 to 556 and none missing.

AssistantCredentialCallsRead callsChange or cache callsErrors
ClaudeOAuth client; full access recorded in setup3701472232
CodexAPI tokens (three over the period)18518502
GeminiNone0000
Easy MCP AI activity log, rows 1–556, October 19 to November 7, 2026 (UTC). The remaining row is a failed sign-in during setup. Counts include failed calls; they are not counts of completed changes.

Of Claude’s 223 change or cache calls, 161 invoked content-editing tools (118 were find-and-replace calls), 22 invoked post/page creation tools, 22 invoked cache-clear tools and 5 invoked deletion tools. The five deleted items were still in the trash when we checked on November 7. Claude’s two errors came from the plugin’s own limits: a find-and-replace pattern over 500 characters, and a second whole-site cache clear within five minutes. None of Codex’s 185 calls used a write tool. That shows how its tokens were used, not that a read-only token would refuse a write; we have not tested that.

The log has limits. It records MCP calls only: the SEO plugin installed through the dashboard and the ads.txt file created in the hosting control panel are not in it. The plugin’s October 23 diagnostic report stated that activity-log and change-history rows older than 30 days are removed automatically, so we saved the counts to our project files. The one failed sign-in, on October 19, carried the reason “Authorization header must use Bearer scheme.”

The checklist

  1. Give each assistant its own connection, with the narrowest access its job allows.
  2. Leave install and delete tools, and unneeded integrations, switched off in the MCP plugin.
  3. Decide which changes the owner must approve, and write the rule down.
  4. Revoke any exposed token, then confirm it is no longer active.
  5. Exclude your MCP and OAuth endpoints from page caching.
  6. Keep unresolved diagnostic warnings on a written list.
  7. Decide automatic updates per plugin, and who handles the manual ones.
  8. Check a recent backup before changes, and test a restore.
  9. Check affected pages as a logged-out visitor after clearing the cache.
  10. Review the MCP activity log by credential, note what it does not record, and save what you need before rows expire.

Found an error? Please tell us through the Contact page.

Sources