Skip to content

Troubleshooting

Go to RealMCP → Connect and look at Can assistants reach this site? Click Check now to run the last two checks.

  • HTTPS: assistants connect only to https:// addresses.
  • Permalinks: OAuth needs a permalink structure other than Plain (Settings → Permalinks).
  • Application Passwords: RealMCP stores each connection as an Application Password. WordPress requires HTTPS for them (except on local sites), and some security plugins turn them off.
  • Database: RealMCP could create its table for connections. If it’s blocked, ask your host to let WordPress create database tables.
  • OAuth discovery: assistants must be able to read /.well-known/oauth-authorization-server on your site. Couldn’t check means the site couldn’t call itself to test it, which isn’t the same as blocked.
  • Authorization header: your web server must pass the Authorization header on to WordPress. If it says Blocked, no assistant can connect: on Apache, re-save Settings → Permalinks, which restores the rule that passes it through; on other servers, ask your host.

Your web server doesn’t pass /.well-known/ addresses to WordPress. Apache with WordPress’s usual .htaccess normally works. The nginx configuration WordPress recommends has a rule that denies every address starting with a dot (location ~ /\. { deny all; }), and that includes /.well-known/.

Ask your host to send /.well-known/oauth- addresses to WordPress. On nginx, they can add this rule before the one that denies dot addresses:

location ^~ /.well-known/oauth- {
try_files $uri /index.php?$args;
}

If it can’t be changed, use a connection token instead.

“You signed in, but the service then refused Claude’s request”

Section titled ““You signed in, but the service then refused Claude’s request””

You approved the connection, but Claude’s requests never reached WordPress. If your server logs show no request after the approval, check your CDN or firewall: Cloudflare and other firewalls that block AI bots can let sign-in through and block the requests that follow. Allow Anthropic’s address range 160.79.104.0/21, or exempt the paths /wp-json/ballesdev/ and /.well-known/oauth-.

Claude or ChatGPT can’t reach a local site

Section titled “Claude or ChatGPT can’t reach a local site”

Claude and ChatGPT connect from their own servers, so the site must be reachable from the internet over HTTPS. A site on your computer only works with assistants that run there too, such as Claude Code and Codex.

The URL must not redirect to another address, for example from example.com to www.example.com. Use the final address: copy it from RealMCP → Connect. Multilingual plugins such as WPML, Polylang and LingoPress are supported.

  • With error="invalid_token", the token expired or was disconnected. The assistant renews it on its own or asks you to sign in again. A connection token stops working when it expires or is disconnected: create a new one.
  • Check that the Application Passwords row in the site check says Works.
  • Some servers drop the Authorization header before it reaches WordPress. Click Check now in the site check and look at the Authorization header row. If it says Blocked, re-save Settings → Permalinks on Apache, which restores the rule that passes it through. On other servers, ask your host.

The user can’t use the MCP server: by default it needs the edit_pages capability (Editor or Administrator).

The server URL is wrong or the plugin isn’t active. Copy the URL from RealMCP → Connect.

An administrator turned it off in RealMCP → Tools. See Managing tools.

A change in Tools doesn’t show up in the assistant

Section titled “A change in Tools doesn’t show up in the assistant”

Assistants cache the tool list for up to 5 minutes. Reconnect the assistant.

The page changed since the AI read it, or the AI didn’t send the hash. It’s expected: the AI should read the page again with get-page and retry.

Someone has the page or post open in the WordPress editor right now, and it may be you. The save is rejected because that editor would overwrite the AI’s change on its next save. Save your work, close the editor tab and ask the AI to retry after a couple of minutes.

The AI tried to save loose HTML, or a block that isn’t registered on your site. Pages and posts must be made of registered Gutenberg blocks. It’s expected: the AI reads the error and rewrites the content, checking the available blocks with list-blocks. If it keeps failing with a block from a plugin, check that the plugin is active.

reply-comment only replies under approved comments. Ask the AI to approve the comment first, or approve it yourself.

Your site empties the trash right away (EMPTY_TRASH_DAYS is set to 0 in wp-config.php), so moving a comment to the trash would delete it for good. RealMCP never deletes anything permanently: mark the comment as spam, or delete it from WordPress.

  • An administrator may have turned it off in RealMCP → Tools. moderate-comment and reply-comment start disabled.
  • The connected user’s role may not allow it. site-health needs an Administrator, and list-media needs a user who can upload files. See the capability of each tool in the tools reference.

Write to us at [email protected] and tell us what happened. RealMCP → About has your site’s details (the plugin, WordPress and PHP versions) ready to copy into the email.