WordPress Plugins
Free Tools
Claude Skills
Resources
Pricing Agencies Support My Account Cart
Home › Support › Royal MCP

Royal MCP Documentation

Bring Claude, ChatGPT, Perplexity, or any MCP-compatible AI client into WordPress in 5 minutes. Setup guides, 400+ tool reference, and fixes for every host + WAF that gets in the way.

Connect Claude in 5 min Connect ChatGPT in 5 min

🛠 Troubleshooting

Connector failing, "couldn't reach the MCP server," OAuth stuck, tools missing? Start with the playbook, then the fixes real customers land on most.

★
Start Here
The Troubleshooting Playbook

30-second edge probe followed by four plugin-layer steps. Tells you in under a minute whether Cloudflare, ModSecurity, or your host is blocking before WordPress ever sees the request.

Host
OAuth fails on managed hosts

SiteGround, o2switch, LiteSpeed — managed hosts intercept the /.well-known/ URL.

Host
Authorization header stripped (401)

The server drops the Authorization header, so every request fails with 401. One-line .htaccess or nginx fix.

SiteGround
SiteGround returns 404 for /.well-known/

Nginx rule blocks OAuth discovery on SG. Fix via SG Site Tools or .htaccess.

WAF
ModSecurity 406 — bot fingerprint

ModSecurity's bot fingerprinting rejects legitimate MCP connections with 406.

WAF
PKCE params stripped at /authorize

Host WAF strips code_challenge from /authorize. Common on SiteGround.

Apache
Apache 429 on token exchange

python-httpx (Claude Desktop) triggers Apache's mod_evasive on token exchange.

Cloudflare
Cloudflare Zero Trust hijacks discovery

Zero Trust access rules shadow the OAuth discovery endpoint. Bypass without disabling protection.

SiteGround
Fix /.well-known/ Content-Type with CF Transform Rules

SG + Cloudflare combo serves JSON with the wrong MIME type. Transform Rule fix.

WAF
Imunify360 blocks OAuth discovery

Imunify360's default ruleset blocks /.well-known/ probes. Whitelist path.

OAuth
"Unknown client_id" error

Registration didn't persist. Two-command fix, no re-install needed.

Discovery
/.well-known/ returns HTML instead of JSON

A membership plugin or theme is intercepting OAuth discovery. Filter fix.

WAF
BitNinja WebShield blocks discovery

BitNinja aggressively blocks OAuth probes. Whitelist + reload fix.

WAF
Sucuri / CloudProxy blocks discovery

CloudProxy's edge WAF returns 403 on OAuth discovery. Fix via allowlist.

Plugin
Perfmatters "Disable REST API" blocks MCP

Perfmatters' REST API kill switch also kills MCP. Selective un-check fix.

CDN
StackCDN interferes with OAuth

StackCDN caches OAuth discovery responses. Purge + bypass rule.

OAuth
ChatGPT: HTTP 466 dynamic client registration

Intermediary WAF returns non-standard 4xx on /register. Diagnostic + fix.

OAuth
Web server 301s /register to /register/

Some servers auto-add trailing slash, breaking dynamic client registration.

OAuth
Another plugin is answering OAuth sign-in

Royal MCP signs in at its own address and names any plugin that collides, so usually nothing needs deactivating.

Plugin conflict
ChatGPT “Unknown OAuth client.” with Rank Math

Rank Math’s built-in MCP sign-in can answer your site’s sign-in addresses. Update Royal MCP and reconnect.

OAuth
OAuth endpoints overlap existing pages

An existing WP page at /register or /authorize shadows the OAuth endpoint.

OAuth
OAuth tables missing — "Session not found"

Activation didn't create the OAuth tables. Re-run installer.

Claude
Claude.ai Web: token exchange fails

"Authorization with [site] failed" / mcp_token_exchange_failed.

Discovery
Plain permalinks break OAuth discovery

WP's plain permalink setting breaks pretty URLs for /.well-known/.

Discovery
ACME/Let's Encrypt host intercepts /.well-known/

Certificate renewal daemon takes over the /.well-known/ path.

Discovery
Stale OAuth static files in webroot

Old /.well-known/ files from a previous MCP plugin shadowing the current handler.

🚀 Setup & Connect

First-time setup and connecting each AI client. Claude Desktop, Web, and Terminal — ChatGPT — API-key mode when OAuth won't cooperate.

🧩 Features & Integration References

What each integration does, which tools it exposes, and how to unlock the features that require a bit more setup. Includes the Claude Skills for common builders.

Skill · Popular
Elementor Claude Skill

Drop-in Claude Skill that teaches Claude to edit Elementor pages the right way.

Guide · Popular
Editing Elementor with Claude — Four Workflows

Four ways to hand Elementor edits to Claude, ranked by robustness. The most-read tutorial on the site.

Integration · Support
Divi Tools Reference

Nine free Divi tools for AI-driven page editing on Divi 4 shortcodes and Divi 5 blocks, plus the Pro toolkit and deep-dive guides.

Integration · Support
WooCommerce Tools Reference

29 free tools across products, variations, attributes, orders, coupons, customers, and store stats.

Integration · Support
MailPoet Tools

Twelve tools for lists, subscribers, drafts and tests, with a confirmation step before any send.

Integration · Support
Relevanssi Tools

Seven tools to test search, check the index, and manage synonyms and stopwords with undo.

Integration · Support
Complianz Tools

Seven tools to review your consent setup and change banner texts and cookie descriptions with undo.

Integration · Support
TablePress Tools

Six tools to list, read, create, copy and export tables and change cells, with undo.

Integration · Support
Code Snippets and WPCode

Read snippets with credentials hidden, find what broke the site, and deactivate a broken snippet.

Coexistence
Royal MCP Next to Other MCP Servers

The Abilities API, the MCP Adapter, Elementor MCP and shared sign-in.

Developers
Add Your Plugin’s Tools

Two filters let any plugin add its own tools to Royal MCP. A working example, the rules every tool follows, and how to partner with us.

Customization
Add Customer Emails to Replies

Three filters and a ready-made mu-plugin that add billing and user emails to order, customer, and user replies. Site-owner opt-in.

Integration · Support
ACF Tools Reference

Read and write Advanced Custom Fields via Royal MCP. Type-aware writes, hydrated return values, field-group discovery.

Compatibility
AI IDE Compatibility

Config patterns for Cursor, VS Code, Windsurf, Zed, JetBrains, LM Studio, Ollama, and every other MCP-compliant IDE and CLI.

Protocol
Protocol Insights

How Royal MCP implements MCP. Supported spec revisions, per-client compatibility matrix, WP Abilities API integration.

Integration · Support
Elementor Tools Reference

Every Elementor tool Royal MCP exposes to Claude, with parameters and example prompts.

Skill
Divi Claude Skill

Divi-flavored Skill for Claude — knows Divi builder shortcodes and section patterns.

Skill
WooCommerce Claude Skill

Store-management workflows encoded as a Claude Skill.

Skill
SiteVault Claude Skill

Backup + restore workflows encoded as a Claude Skill.

Feature · Support
Enable Browser AI Agents (WebMCP)

Cloudflare's WebMCP bridge lets browser agents call your Royal MCP tools using the visitor's WordPress login.

Feature · Support
Publish Agent Readiness Signals

Let AI scanners discover which pages are agent-ready. Opt-in schema + JSON endpoint.

Perf · Support
Cloudflare Cache Rule for Agent Readiness

Cut Agent Readiness scan latency ~5× with one Cloudflare Cache Rule.

Feature · Product
Agent-Ready — Product Overview

What "agent-ready" means at the site level, and how Royal MCP signals it.

Feature · Product
Connect — Product Overview

The connect flow at a product level — how OAuth works across the four AI clients.

Overview
How Royal MCP Works

The architecture at a glance — OAuth flow, tool registry, request handling.

🔒 Security & Diagnostics

Understand what your AI client is and isn't allowed to do, and run the diagnostic commands that pinpoint exactly where a connection is failing.

Safety
Safety and Recovery for AI Edits

Read-only mode, drafts, undo in Free and Pro, revisions, and what removing the plugin leaves behind.

Settings
Who Can Connect AI Clients

Roles, access levels, read-only mode and drafts only.

Connections
Application Password Connections

See, block or delete Application Passwords that use Royal MCP tools.

Privacy
Form Entry Privacy

How Royal MCP masks personal data in form entries.

Auth
OAuth Connector Deep Dive

What makes Royal MCP different: full OAuth 2.1 server as the primary connect path. Setup, security properties, every known failure mode.

Reference
Royal MCP Reference

Installation, configuration, 7 additional plugin integrations, composers, undo tokens and the activity log.

WP-CLI
WP-CLI Commands

connection-health, list-clients, rotate-api-key, drafts-only and set-access. Flags, output formats, exit codes, and loops for agencies running many sites. Requires 1.5.7+.

Releases
Changelog

Every Royal MCP release, newest first: new tools, improvements and fixes in each version, with release dates.

Threat Model
Direct-Connect Threat Model

What an AI client can and cannot do with a Royal MCP connection. Read before granting Pro undo tokens.

Diagnostic
Diagnose with curl

Six-line curl checklist that isolates the failure layer without touching the plugin.

Playbook
Full Troubleshooting Playbook

The complete 30-second edge probe + 4-step plugin-layer decision tree.

Blog
Two Vulnerabilities, Two Researchers, Two Fixes

Recent security disclosures on the MCP surface + how they were addressed.

Blog
When Cloudflare's AI-Bot Block Breaks MCP

Cloudflare's default AI-bot signature also fingerprints legit MCP traffic. What to disable.

Blog
Cloudflare Sept 15 AI-Bot Defaults

What changed in CF's AI-bot defaults + which MCP paths need attention.

📰 Deeper Reading

Longer-form on why AI-in-WordPress works the way it does. Not a support ticket — a curious human.

❓ Frequently Asked Questions

The 9 questions customers ask most often about Royal MCP.

I installed Royal MCP but Claude keeps saying “couldn’t reach the MCP server” — what’s wrong?

In most cases the plugin is fine and your host or CDN is intercepting the OAuth discovery URL before WordPress sees it. First check: visit /wp-admin/admin.php?page=royal-mcp and look for an orange admin notice. Royal MCP self-checks the /.well-known/oauth-authorization-server discovery endpoint and will name the specific host or WAF product (SiteGround, Cloudflare Zero Trust, Sucuri, Imunify360, BitNinja, LiteSpeed) blocking it, with a copy-paste fix for that product. If the notice is clear but Claude still fails, run curl -i https://YOURSITE.com/.well-known/oauth-authorization-server — a healthy response is JSON with issuer, authorization_endpoint, token_endpoint, and registration_endpoint fields. See Troubleshooting — Start Here and Diagnose with curl for the full flow.

Do I need Elementor Pro, WooCommerce Pro, or Divi Pro for the AI tools to work?

No. Royal MCP’s Elementor tools work with the free Elementor plugin. Its WooCommerce tools work with free WooCommerce. Its Divi tools work with the free Divi Builder plugin or the paid Divi theme. Tools only appear when the underlying plugin is active — install WooCommerce and its wc_* tools auto-register, install Elementor and its elementor_* tools auto-register. No premium tier of any host plugin is required.

Can I use ChatGPT with WordPress through Royal MCP, or is it Claude-only?

Royal MCP works with any MCP-compliant client. Claude Desktop uses the native “Add Connector” OAuth flow. ChatGPT connects as an app in Developer Mode using your MCP Server URL. Cursor, Windsurf, Claude Code, and VS Code with GitHub Copilot’s MCP support all work. See the AI Platforms section for the full compatibility list and per-client setup patterns.

What happens if I let Claude modify my WordPress site and something breaks?

Every Royal MCP tool call is written to the Activity Log with timestamp, tool name, parameters (sensitive values redacted), and response status. WordPress’s own revision system captures every post and page edit, so post-level rollback is one click in the editor. Destructive operations move items to Trash first, so restoration is one click from the Trash view. Royal MCP Pro adds a dedicated undo layer on top: one-click undo tokens on destructive tools valid for 72 to 168 hours depending on the operation, plus a Recent Operations dashboard widget that surfaces every pending undo in one place with batch rollback support.

I’m on shared hosting — is Royal MCP going to slow down my site?

No. Royal MCP only runs when an AI client makes a request to /wp-json/royal-mcp/v1/*. It does not add any frontend code, does not hook into page rendering, and does not run on non-AI page loads. Regular visitors and Core Web Vitals scores are completely unaffected — the plugin only executes when an authenticated tool call arrives.

What’s the difference between Royal MCP (free) and Royal MCP Pro?

Free ships 450+ tools with unlimited use for as many AI clients as you connect, Drafts only and per-client access levels, 72-hour undo with a Recent Changes screen, WordPress native revisions plus Trash-based recovery, and Activity Logs that persist until you clear them. Pro adds an agency-scale governance layer on top: undo extended to 7 days, a Recent Operations dashboard widget with batch undo, extended audit retention (90 days by default, filterable), per-tool endpoint profiles that scope which tools any client can see, and priority email support. Pro comes with every Royally plan, from $9 a month (Solo, 3 sites) to $790 a year (Agency, 250 sites).

Does Royal MCP work on WordPress multisite networks?

Yes, on a per-site basis. Each site in a multisite network has its own API key, its own Activity Log, and its own settings. AI clients connect to a specific site’s MCP endpoint — Royal MCP does not bridge requests between sites in the network.

Does Royal MCP work with WPML, Polylang, or TranslatePress for multilingual content?

Yes. Translated posts appear as separate WordPress posts (each with its own ID and language meta) and are readable or writable via the standard wp_get_posts, wp_create_post, and wp_update_post tools. AI agents can list posts in a specific language by filtering on the language meta key, or translate a post and write the corresponding translation by ID.

Can I limit which posts, pages, or post types AI can access?

Yes. The wp_get_posts and wp_create_post tools accept a post_type parameter and validate it against registered public post types, so private or internal post types are not exposed. Plugin authors can disable specific tools entirely with the royal_mcp_disabled_tools filter, or scope the option-write allowlist with royal_mcp_writable_options. WordPress’s standard capability checks also apply to every tool call.

📺 Video Library

Walkthroughs, tutorials, and release notes from the Royal Plugins team plus community creators. Making your own Royal MCP video? Tag it #royalmcp in the title or description and we’ll find you and add it here.

Watch more on the Royal Plugins YouTube channel
Premium Support

Stuck? We’ll fix it.

Direct one-on-one help from the Royal Plugins team. 24-hour SLA, hands-on diagnostic work (Cloudflare config, host WAF, OAuth debugging, configuration help), and access to our private customer community. $149/year.

Get Premium Support →

For our free plugins. Pro license holders already have priority email support included with their license.