---
title: WordPress MCP Troubleshooting and Fixes | HandyMCP
url: https://handymcp.com/docs/troubleshooting/
description: WordPress MCP plugin not connecting? Fix Claude, ChatGPT and Cursor connection errors, 401, 403 and 404, permission prompts, rate limits, photos and scheduled updates.
---

[Home](https://handymcp.com/)[Docs](https://handymcp.com/docs/)Troubleshooting

# WordPress MCP troubleshooting, *fixed fast.*

Fixes for the problems people hit when they connect Claude, ChatGPT or Cursor to WordPress: connection errors, permission prompts, 401, 403 and 404 errors, rate limits, stock photos, scheduled updates, white label and client sites.

[Guides](https://handymcp.com/docs/) [Troubleshooting](https://handymcp.com/docs/troubleshooting/) [Prompt library](https://handymcp.com/prompts/)

Problems

 Connecting an AI app Permissions and prompts Approval mode, protected pages, site brief and Fix with AI Limits, speed and timeouts Pages, Elementor and undo Stock photos and videos Scheduled updates White label and client sites License and trial

## 01Connecting an AI app

### The AI app cannot connect to my WordPress site

- Open **HandyMCP › Connection**  and click **Check again**  under Connection check. It tests the server, sign-in and your host.
- Make sure the site uses HTTPS and **Settings › Server › MCP server**  is on.
- Security plugins and firewalls (Wordfence, Cloudflare WAF, Sucuri, your host) can block the REST API. Allow `/wp-json/handymcp/` and the `/oauth/` URLs.
- The check names what blocks it. See Cloudflare, a plugin that turns off the REST API, other firewalls and approved but still not connected.

### Claude or ChatGPT says the connector failed to register

Claude shows this as **"Couldn't register with your site's sign-in service"**  with a reference like `ofid_...`. The app could not find or reach the sign-in details on your site.

- Turn on **Settings › Server › OAuth sign-in**  and **Automatic app registration** . Both are needed by Claude and ChatGPT connectors. You still approve every app.
- Click **Check again**  on the Connection screen. If **OAuth discovery**  fails, your host answers `/.well-known/` addresses itself (common on SiteGround and some nginx hosts). HandyMCP 1.0.3 and later detects this and fixes it automatically. On older versions, see the .well-known addresses return 404.
- If the check names a firewall or captcha, allow the HandyMCP paths in it (see the firewall answers below).
- Remove the connector in the AI app and add it again, so it does not reuse an old failed registration.

### My site is on SiteGround

SiteGround sites can block AI apps in two ways. The connection check recognises both and shows a SiteGround panel with the exact fix.

- **Sign-in addresses return 404:**  SiteGround's server answers `/.well-known/` itself, before WordPress. HandyMCP 1.0.3 and later handles this automatically. Nothing to do.
- **Anti-bot captcha:**  requests from Claude or ChatGPT get a captcha (HTTP 202 or 403) instead of an answer. Copy the support ticket text from the Connection screen and send it to SiteGround support. It asks them to exclude `/wp-json/handymcp/`, `/.well-known/oauth-authorization-server`, `/.well-known/oauth-protected-resource` and `/handymcp/oauth/authorize` from bot protection.
- **SG Optimizer cache:**  under Speed › Caching › Exclude URLs, add the same paths, then purge the cache.

### The .well-known addresses return 404 or Not found

AI apps read your sign-in details from `/.well-known/oauth-authorization-server` and `/.well-known/oauth-protected-resource`. Some hosts answer these addresses themselves.

- **HandyMCP 1.0.3 and later:**  detects this and fixes it automatically. Click **Check again**  to confirm.
- **Static files:**  the Connection screen shows the exact content of both files and where to put them. HandyMCP Pro can create them with one click (**Create the files for me** ).
- Plain permalinks are not supported. Pick any other structure under **Settings › Permalinks** .

### Sign-in is blocked and I need to connect now

Connect with an access token instead of OAuth. On the Connection screen, click **Connect with an access token instead** . HandyMCP creates the token and shows the ready-made setup for Claude Code (`claude mcp add`) and for Claude Desktop through `mcp-remote`. Fix the sign-in issue later; the token keeps working meanwhile. Available in 1.0.3 and later.

### The sign-in page shows "Not found" or a 404

- Go to **Settings › Permalinks**  and click **Save changes**  without changing anything.
- Plain permalinks (`?p=123`) are not supported. Pick any other structure.

### Error 401 or "Unauthorized"

- The sign-in expired, or the token was paused, revoked or expired. Resume it, or disconnect and connect again.
- Some hosts strip the `Authorization` header. Ask your host to pass it through, or use OAuth instead of a token.

### Error 403 or "Forbidden"

- A firewall blocked the request. Allow `/wp-json/handymcp/` and the `/oauth/` URLs.
- The user who approved the app has a role that is not in **Settings › Access › Allowed roles** , or lacks permission for that task. Connect with an administrator.

### The connection check says the site is not on HTTPS

Claude and ChatGPT only connect to sites on HTTPS.

- Install an SSL certificate. Most hosts offer a free one (Let's Encrypt) in their control panel.
- Then set both addresses in **Settings › General**  to `https://`.
- Local test sites on `http://` work with Cursor, VS Code and Claude Code through an access token.

### A firewall or cache blocks the MCP endpoint

- In your security plugin or firewall (Wordfence, Sucuri, Cloudflare WAF, your host), allow `/wp-json/handymcp/` and the `/oauth/` URLs.
- In your cache plugin or CDN, exclude `/wp-json/handymcp/` from caching. The MCP endpoint must never be cached.
- Click **Check again**  on the Connection screen to confirm. It names the firewall that answered: see Cloudflare or Sucuri, Wordfence or the host firewall.

### Cloudflare blocks the connection

The connection check says **Cloudflare answered** , shows a **browser challenge**  ("Just a moment...") or a Cloudflare error code. AI apps connect from servers and cannot solve challenges, so Cloudflare must let these paths through. Work through the steps in this order.

1. **Find what blocks it.**  Open **Security › Analytics › Events**  and open the newest Managed Challenge or Block. **Service**  and **Rule ID**  name the cause: Rule ID `iuam` is Under Attack mode, Service *Security level*  is a Security Level setting or rule, *Bot fight mode*  and *Custom rules*  name themselves.
2. **Rules › Configuration Rules and Page Rules:**  a rule that sets **Security Level**  (for example to *I'm Under Attack*  for every country except yours) turns Under Attack on even when the switch on the Overview page is off, and a Skip rule cannot override it. Edit that rule and add to the end of its expression:
  `and not starts_with(http.request.uri.path, "/wp-json/handymcp/") and not starts_with(http.request.uri.path, "/.well-known/oauth") and not starts_with(http.request.uri.path, "/handymcp/oauth/") and not http.request.uri.path in {"/register" "/token" "/authorize" "/wp-cron.php"}`
  Your rule keeps protecting the rest of the site. Excluding `/wp-cron.php` also lets WordPress run its scheduled tasks.
3. **Overview › Quick Actions:**  Under Attack Mode must be off.
4. **Security › Settings › Bot traffic:**  turn off **Bot Fight Mode** . On the Free plan it ignores Skip rules and blocks AI app servers.
5. **Security › Settings › Configure AI bot policies**  (or AI Crawl Control): set **Agent**  to Allow, so `Claude-User` and `ChatGPT-User` get through.
6. **Security › Security rules › Create rule › Edit expression** , paste:
  `(starts_with(http.request.uri.path, "/wp-json/handymcp/") or starts_with(http.request.uri.path, "/.well-known/oauth") or starts_with(http.request.uri.path, "/handymcp/oauth/") or http.request.uri.path in {"/register" "/token" "/authorize"})`
  Action **Skip** . Tick All remaining custom rules, All rate limiting rules, All managed rules and All Super Bot Fight Mode Rules, then open **More components to skip**  and tick everything except Hotlink Protection (Zone Lockdown, User Agent Blocking, Browser Integrity Check, Security Level and the previous-version rules). Set the order to **First**  and deploy. This rule skips the firewall and Browser Integrity Check, but not Configuration Rules, Page Rules or Bot Fight Mode: those need steps 2 to 4.
7. Run **Check again**  on the Connection screen.

Cloudflare error codes: **1020**  a WAF custom rule, **1010**  Browser Integrity Check, **1015**  a rate limiting rule, **1006 to 1009**  an IP or country block. **Security › Events** , filtered by path `/wp-json/handymcp`, shows the exact rule.

### Requests from AI apps are blocked as bots

The connection check passes for normal requests but fails for **requests that identify as Claude** . A rule aimed at AI bots blocks Claude and ChatGPT.

- **Cloudflare:**  AI Crawl Control or Block AI bots: allow `Claude-User` and `ChatGPT-User`. Turn off Bot Fight Mode.
- **Security plugins:**  look for "block bad bots", "block AI crawlers" or user agent lists in Wordfence, Shield, All-In-One Security or BBQ, and remove Claude and ChatGPT from them.
- **Host:**  Imunify360 or SiteGround anti-bot can block them too. Ask your host to allow the HandyMCP paths.

### A plugin turns off the REST API

The connection check names the plugin under **REST API blocked by** . AI apps are never logged in with a browser cookie, so a plugin that only allows the REST API for logged-in users blocks them.

- **All-In-One Security:**  WP Security › Miscellaneous › WP REST API: turn off "Disallow unauthorized REST requests" or allow the `handymcp` namespace.
- **Solid Security:**  Security › Settings › Advanced › WordPress Tweaks › REST API: choose **Default Access** .
- **Perfmatters:**  General › Disable REST API: choose Default.
- **WP Cerber:**  Hardening › Disable WordPress REST API: add `handymcp` to the allowed namespaces.
- **Disable REST API, Clearfy, WP Hide, Hide My WP:**  allow the `handymcp/v1` namespace, or turn the option off.

If it says `rest_no_route`, a plugin hides the HandyMCP routes: allow the `handymcp/v1` namespace in it.

### A security plugin setting blocks AI apps

The connection check reads the settings of common security plugins and names the one that blocks AI apps.

- **Wordfence:**  Firewall › Rate Limiting: set "If a crawler's page views exceed" to Unlimited. Tools › Live Traffic shows blocked requests; use **Add Param to Firewall Allowlist** .
- **All-In-One Security:**  the 5G/6G firewall rules can block JSON requests. Allow the paths or turn them off and test again.
- **NinjaFirewall, Shield, Defender, SecuPress:**  check the plugin firewall log for `/wp-json/handymcp/` and allow it.

### Sucuri, Wordfence or the host firewall blocks the endpoint

The connection check says which firewall answered.

- **Sucuri Website Firewall:**  Firewall › Access Control › Allowlist URL Paths: add `/wp-json/handymcp/`, `/.well-known/oauth-protected-resource`, `/.well-known/oauth-authorization-server`, `/register`, `/token` and `/handymcp/oauth/authorize`, then clear the Sucuri cache.
- **Wordfence:**  Firewall › All Firewall Options › Allowlisted URLs: add `/wp-json/handymcp/v1/mcp`.
- **Imunify360**  (cPanel or Plesk): allow the paths above, or ask your host to turn off bot protection for them.
- **ModSecurity**  (HTTP 406 or "Not Acceptable"): cPanel › Security › ModSecurity, or ask your host to whitelist the rule.
- **SiteGround:**  its anti-bot system can answer with a captcha. Ask SiteGround support to exclude the paths above.
- **nginx or Apache page:**  a host firewall or server rule refused it before WordPress ran. Ask your host to allow the paths above.

### I approved the app but it still cannot connect

Look at **Last sign-in attempt**  in the connection check. HandyMCP records how far each sign-in got.

- **"Its server never came back to collect the sign-in token":**  your browser reached the site, but the AI app's servers did not. Cloudflare Bot Fight Mode, AI bot blocking, Under Attack mode or a host firewall blocks server traffic. See Cloudflare blocks the connection.
- **"None of its requests to the MCP endpoint reached WordPress":**  the same block, on `/wp-json/handymcp/` only. Allow that path.
- **"Was refused the sign-in token":**  remove the app on the Connection screen and connect again from scratch. Finish the sign-in within 10 minutes.
- **"The sign-in page on your site was never opened":**  finish the sign-in in the window the app opens. If it shows a Cloudflare or firewall page, allow `/handymcp/oauth/authorize`.

### Application Passwords are turned off by a security plugin

This is only a note, not a problem. Claude and ChatGPT sign in with OAuth, and Cursor, VS Code and Claude Code use HandyMCP access tokens. Neither needs Application Passwords.

- If an app can only sign in with an Application Password, click **Allow them for MCP only**  on the Connection screen. They then work for HandyMCP requests and stay off everywhere else.
- Or turn the option off in your security plugin, for example Wordfence › Login Security › Settings › Disable WordPress application passwords.

### The site address and WordPress address do not match

Open **Settings › General**  and make **WordPress Address**  and **Site Address**  the same, with the same `www` or no `www` and both on `https://`. Apps connect to the Site Address.

### The connection check warns about the object cache

A persistent object cache (Redis or Memcached) is fine, but if sign-ins fail at random, flush it from your cache plugin or host panel and try again. HandyMCP does not need an object cache.

### Cursor or VS Code connects but shows no tools

- Check the token is pasted with `Bearer` in front, and that it has not expired.
- Restart the app or reload its MCP servers. Most apps load tools when they start.
- Ask the AI to run `wp_site_info`. From 1.0.3 it says why a connection has no tools: no scopes approved, every tool group switched off, read-only mode, or a role that is not allowed. The Connection screen shows the same reason next to the app.

### Edits with scripts, iframes or code fail

The connection check has a **Saving content with code**  test. If it warns, a firewall blocks requests that contain code-like text (scripts, iframes, embed codes, PHP or SQL). Normal edits work, but these fail.

- **Wordfence:**  put the firewall in Learning Mode for a few minutes while you repeat the edit, or allowlist `/wp-json/handymcp/v1/mcp` under Firewall › Allowlisted URLs.
- **Cloudflare:**  the Skip rule in Cloudflare blocks the connection covers it.
- **Sucuri:**  allowlist `/wp-json/handymcp/`.
- **Imunify360, ModSecurity or your host (Hostinger, SiteGround and others):**  ask the host to whitelist the firewall rule for `/wp-json/handymcp/v1/mcp`.

### ChatGPT or Antigravity disconnects or says the response is invalid

These apps use the newer MCP protocol (version 2026-07-28). HandyMCP 1.0.3 and later supports it alongside the older version Claude and Cursor use. Update HandyMCP, then remove the connector in the app and add it again.

### I want to start the sign-in from scratch

If apps keep failing with old or unknown client errors, open **Settings**  and click **Reset OAuth state**  (1.0.3 and later). It removes stale app registrations, pending sign-ins and expired tokens. Working connections and access tokens are kept. Then remove the connector in the AI app and add it again.

## 02Permissions and prompts

### The AI asks for permission before every action

That prompt comes from your AI app, not from HandyMCP. HandyMCP still applies your scopes, abilities and confirmations, so allowing tools in the app is safe.

- **Claude:**  Settings › Connectors, click your WordPress connector and set its tools to **Always allow** .
- **Claude Code:**  choose **Yes, and don't ask again** , or add `"mcp__wordpress"` to `permissions.allow` in `.claude/settings.json`.
- **ChatGPT:**  tick **Remember**  on the confirmation.
- **Cursor:**  Settings › Chat, turn on **Auto-run** .
- **VS Code:**  choose **Always allow**  on the prompt, or turn on `chat.tools.autoApprove`.
- **Windsurf:**  turn on **Auto execution**  for MCP tools.
- **Gemini CLI:**  add `"trust": true` to the server in `~/.gemini/settings.json`.

### The app connects but cannot change anything

- Turn off **Settings › Server › Read-only mode** .
- Check the scopes you approved (or the token's scopes) include **Edit content**  or what the task needs.
- Check the tool is on under **Abilities** .
- Check the app is not paused on the Connection screen.

### The AI says it has no tool for that

- The tool group may be off on the Abilities screen, or it may be a Pro or Agency feature. See [Free, Pro and Agency](https://handymcp.com/docs/#plans).
- With **Tool list: Compact** , the AI finds tools on demand. Ask it to "look for a tool that can do this".
- Start a new chat after updating HandyMCP or adding keys.

### An Editor or Shop manager cannot connect

Add the role under **Settings › Access › Allowed roles**  and save. The AI can never do more than that role allows.

## 03Approval mode, protected pages, site brief and Fix with AI

### The AI says its change is waiting for approval

Approval mode is on, so changes to published content wait in **HandyMCP › Approvals**  until you approve them. Open that screen, check the text and preview, then click **Approve** . To let changes go live straight away, turn off **Approval mode**  under **HandyMCP › Approvals › Settings**  (Pro).

### I approved a change but the page did not update

- Clear your page cache (LiteSpeed, WP Rocket, Cloudflare), or ask the AI to purge the cache.
- If the page was edited by hand after the AI change, HandyMCP warns you before approving. Check the warning and approve again if you still want the AI version.
- An approval can only be decided once. If two people clicked at the same time, only the first click counts. Reload the Approvals screen to see the result.

### I do not get the approval email

- Check **Email when changes are waiting**  is on under **HandyMCP › Approvals › Settings** . The email goes to the site admin email under **Settings › General** .
- HandyMCP sends at most one email every 30 minutes, however many changes are waiting.
- Make sure your site can send email. Many hosts send mail that Gmail rejects, so connect an SMTP plugin such as FluentSMTP or WP Mail SMTP to a real mailbox.

### The side-by-side preview is blank or shows a login page

- Previews load inside wp-admin and need you to be signed in. Reload the Approvals screen.
- A security plugin or header that blocks your site in frames (`X-Frame-Options: DENY`) stops the preview. Use `SAMEORIGIN` instead, or click **Open**  above each preview to see it in a new tab.

### Find and replace skipped some pages

Find and replace cannot hold changes for approval, so it skips protected pages and pages held by approval mode, and says which ones in its reply. Ask the AI to edit those pages one by one, so each change goes to Approvals.

### An AI app says a page is protected

The page is ticked under **Protected pages** , or its ID is listed there. AI apps can read it but not change it. Untick it to allow changes, or set **When an AI app tries**  to **Hold it for my approval** . Protection covers page and post content; theme files and site settings follow your scopes and abilities.

### The AI ignores my site brief

- Apps read the brief when they connect, so start a new chat after you change it.
- Open **What AI apps see**  at the bottom of **Settings › Site brief** : it shows exactly what AI apps receive.
- Some apps skip the connection notes. HandyMCP then sends the brief with the first change the app makes, so ask the app to redo that first change if it missed a rule.
- Ask the app to call **wp_site_info**  at the start of the chat. It returns the brief too.
- The brief guides the AI but does not override what you ask in the chat. To stop changes to a page, use protected pages.

### Fix with AI does not show my app

- The pop-up only lists apps you have connected. Connect one on the Connection screen first.
- Claude, ChatGPT and Perplexity open in a new tab with the request filled in. For desktop apps such as Claude Code or Cursor, use **Copy prompt**  and paste it.
- If the new tab is blocked, allow pop-ups for your site in the browser.

## 04Limits, speed and timeouts

### The AI stops with a rate limit message

Each connection may make a set number of reads and changes per minute. For big bulk jobs, raise **Changes per minute**  under **Settings › Limits** , or ask the AI to work in smaller batches.

### My address is blocked after failed sign-ins

After too many wrong sign-ins (10 by default) an address is blocked for 15 minutes. Wait, then sign in again. You can change the number under **Settings › Limits** .

### Requests time out on big jobs

- Ask for the work in smaller steps, for example one page or 20 products at a time.
- Raise `max_execution_time` to at least 60 seconds with your host.

### The AI uses a lot of tokens or is slow to start

Set **Settings › Server › Tool list**  to **Compact** . It sends core tools first and looks up the rest only when needed.

### Changes do not show on the live site

- Clear your cache plugin or host cache (LiteSpeed, WP Rocket, Cloudflare), or ask the AI to purge the cache.
- Check if the AI made a draft. Redesigns are saved as drafts so the live page stays safe.

## 05Pages, Elementor and undo

### An Elementor page looks broken after an edit

- Open **Elementor › Tools**  and click **Regenerate files and data** .
- Still wrong? Open **HandyMCP › Changes**  and undo the last change for that page.

### HandyMCP says another plugin crashed during a change

A plugin or theme hit a PHP error while the AI was saving, and HandyMCP named it in a red notice on its screens. The change may or may not have been saved, so the AI is told to check before trying again.

- Open the item and check it. Use **HandyMCP › Changes › View changes**  to see what was saved.
- Update the plugin or theme named in the notice. If it keeps happening, send its author the file and line shown in the notice.
- Click **Dismiss**  once it is fixed.

### A replaced image still shows the old picture

- The file was swapped but the URL stayed the same, so your browser, cache plugin or CDN may still show the old picture. Clear your page cache and Cloudflare cache, then reload with Ctrl+F5.
- To put the old picture back, ask the AI to restore it ("restore the old version of image 123").

### I cannot undo an older change

The free plugin keeps the last 20 changes. Pro keeps everything for the days set in **Settings › Limits › Keep undo history** . Raise it to keep changes longer.

### The AI edited the wrong page

Undo it from **HandyMCP › Changes** , then repeat the request with the exact page URL.

## 06Stock photos and videos

### The AI finds few photos, or none from Pexels or Unsplash

- Without keys, photos come from Openverse only. Add a free key under **Settings › Photos** .
- For Unsplash use the **Access Key** , not the Secret Key, and paste it without spaces.
- Ask by name: "search Unsplash for a bright office photo". Start a new chat after saving keys.

### There are no video tools

Video search needs a Pexels key (Unsplash has no videos). Save the key, update HandyMCP to the latest version and start a new chat.

### Photos or videos cannot be added to the media library

Your host may block outgoing downloads or limit upload size. Ask them to allow requests to images.pexels.com, videos.pexels.com and images.unsplash.com, and to allow uploads of at least 64 MB.

## 07Scheduled updates

### Scheduled updates did not run

- Check **Automatic updates**  is on and the schedule shows "Next run" under the Schedule title.
- The schedule uses WP-Cron, which runs when someone visits the site. On quiet sites, ask your host to run WP-Cron from a real server cron.
- Click **Save and run now**  to test it.

### An update was rolled back

HandyMCP found an error on the home page, login, REST API or admin-ajax after the update and restored the old version. The email report names the plugin. Tick it under **Never update**  until its developer fixes the issue.

### I do not get the update report email

- Check the address under **Email the report to**  and the frequency setting.
- Make sure your site can send email. An SMTP plugin such as WP Mail SMTP helps.

## 08White label and client sites

### I hid the plugin and cannot find the settings

- Open the private link you saved, signed in as an administrator.
- Or ask your AI app: "turn white label off".
- Or delete the `handymcp_hide_from_admins` option with your host's database tool.
- It also shows itself after 30 days without MCP activity.

### A client site will not connect to the hub

- The client site needs HandyMCP installed and active, and an access token with **Site admin** .
- Paste the full address with `https://`.
- A firewall on the client site may block the hub. Allow `/wp-json/handymcp/`.

### A client site shows "token expires soon" or disconnected

Create a new access token on that site and add the site again on the hub. Old tokens stop working on their expiry date.

### Client sites are locked on my dashboard

The client sites hub is part of the Agency plan. Upgrade from [your account](https://handymcp.com/my-account/licenses/); you keep the same key.

## 09License and trial

### My license will not activate

- Check the key has no spaces, and the plan has a free site slot. Remove old sites in [your account](https://handymcp.com/my-account/licenses/).
- Your server must reach handymcp.com. Ask your host if outgoing requests are blocked.

### My trial key arrived but Pro features are locked

Install **HandyMCP Pro**  (the trial email has the download link), then paste the key under **HandyMCP › License** . The free plugin alone cannot use a key.

### I did not get my trial or license email

Check spam and promotions. You can get your keys again from [your account](https://handymcp.com/my-account/licenses/), or [contact support](https://handymcp.com/contact/).

## Still stuck?

Send us your AI app's name and what you see on screen. Pro and Agency customers can open a ticket from [your account](https://handymcp.com/my-account/).

[Contact support](https://handymcp.com/contact/) [Read the guides](https://handymcp.com/docs/)


<!-- Page uncached by LiteSpeed Cache 7.9.4 on 2026-11-29 14:36:45 -->