Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Security-first MCP server for WordPress. Connect Claude, ChatGPT, and Gemini to your WordPress site with API key + OAuth 2.1 authentication, full activity logging, and capability-gated access.
A WordPress plugin that exposes your site as a Model Context Protocol server. AI agents β Claude.ai web, Claude Desktop, ChatGPT, custom clients β can read and write posts, pages, media, users, menus, WooCommerce orders, and Elementor pages, with every call going through capability gating, rate limiting, and an audit log. Distributed via the official WordPress.org plugin directory.
| Auth | API key (X-Royal-MCP-API-Key) or OAuth 2.1 with PKCE + Dynamic Client Registration (RFC 7591) |
| Transport | MCP 2025-11-25 Streamable HTTP (single /mcp endpoint, POST/GET/DELETE) |
| Tool count | Up to 144 (73 WordPress core + 71 conditional plugin integrations) |
| Abilities API | WP 6.9+ β every tool also registers as a WordPress ability, reachable via WP core REST at /wp-json/wp-abilities/v1/abilities/{name}/run and via the WordPress MCP Adapter's named royal-mcp-server |
| Rate limit | 60 req/min per IP (configurable) |
| Session model | Sliding 24h TTL with refresh-on-access |
| Activity log | Every tool call logged (tool name + arg keys; argument values are never recorded) |
| Distribution | wp.org plugin directory + GitHub releases + auto-update via WP admin |
| Tested | PHP 7.4 β 8.3, WordPress 5.8 β 7.0 |
| License | GPLv2+ |
royal_mcp_connection_health (returns route, auth method, session ID, plugin version, and active page-builder versions for Divi + Elementor + Gutenberg)Auto-register only when the integrated plugin is active.
| Plugin | Tools | What's covered |
|---|---|---|
| WooCommerce | 26 | Products, variations, attributes, coupons, orders, customers, store stats |
| Elementor | 8 | Clone pages, replace text, swap images, get outline, read single element, list templates, import templates, add widget |
| GuardPress | 7 | Security score, failed logins, blocked IPs, vulnerability scans, audit log |
| Royal AI Firewall | 6 | Dashboard stats, recent bot hits, per-bot policies (allow / block / challenge), daily rollups, one-call emergency lockdown |
| SiteVault | 6 | Trigger backups, monitor progress, list schedules |
| Redirection (new in 1.4.38) | 4 | List redirects with group + URL-substring filters, create + update redirects (301 / 302 / 307 / regex / groups), list redirect groups |
| Advanced Custom Fields | 4 | Read/write ACF fields with each field's Return Format respected (hydrated post objects, parsed repeater rows, image arrays); enumerate field groups for AI-driven discovery |
| Royal Ledger | 4 | Software costs, renewal dates, license keys (values never exposed) |
| Royal Links | 3 | Branded short links, click stats |
| ForgeCache | 3 | Cache stats, clear cache, purge URL |
WordPress 6.9 shipped the Abilities API β a primitive that lets plugins register typed capabilities AI agents can call. As of 1.4.38, every Royal MCP tool also registers as a WordPress ability, giving you three ways to reach the same handlers:
/wp-json/royal-mcp/v1/mcp Streamable HTTP endpoint (unchanged, always available).wordpress/mcp-adapter package is installed, Royal MCP registers a named royal-mcp-server on the mcp_adapter_init hook alongside adapter's default server./wp-json/wp-abilities/v1/abilities/{name}/run for callers that prefer the core WP endpoint.Same handlers, three transports, one set of per-tool capability gates. Bridge can be disabled with the royal_mcp_abilities_registration_enabled option (default: on).
Explicit scope boundaries β the integration model is "narrow tools that work reliably," not "expose every API surface."
wp-content/themes, wp-includes, or wp-admin.WP_Query and $wpdb->prepare() only.The Free plugin is fully featured for individual site owners. Royal MCP Pro extends it for agencies and multi-site operators:
Learn more at royalplugins.com/royal-mcp-pro
Easiest path β no config file edits, no API key in your client.
https://yoursite.com/wp-json/royal-mcp/v1/mcpEasiest Claude Desktop path β no mcp-remote, no npx, no config-file editing.
royal-mcp-1.4.38.mcpb from the latest GitHub release..mcpb file β Claude Desktop opens the install prompt.The bundle ships a zero-dependency stdio-to-HTTPS bridge in Node β₯18, which Claude Desktop already includes. See Claude Desktop MCP Bundles for the .mcpb spec.
Config path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
Skip OAuth and authenticate via header:
ChatGPT's custom MCP connector takes the same URL as Claude.ai web. Follow ChatGPT's connector flow and paste https://yoursite.com/wp-json/royal-mcp/v1/mcp.
| Layer | What it does |
|---|---|
| API key | 32-char hex, timing-safe comparison. Sent via X-Royal-MCP-API-Key header. Regenerate from admin without server restart. |
| OAuth 2.1 | RFC 7591 Dynamic Client Registration, RFC 8414 metadata, PKCE S256 required, refresh tokens supported. No implicit grant. No client_credentials grant. |
| Capability gating | Every tool checks WordPress capabilities. edit_posts for create/update, manage_options for site settings, edit_post per-post for individual operations. |
| Rate limiting | 60 requests/minute per IP, sliding window. |
| Session model | Sliding 24h TTL with refresh-on-access. Cryptographically secure 32-byte session IDs. |
| Activity log | Every tool call writes a row to a database log. Records: tool name, argument keys, IP, User-Agent, errors. Never records argument values (they may contain customer data). |
| OAuth state recovery | One-click Reset OAuth State admin button wipes all clients + tokens + auth codes, without affecting your API key or settings. |
| Discovery | .well-known/oauth-authorization-server and .well-known/oauth-protected-resource served at site root per RFC 8414 + RFC 9728. |
Full security architecture: royalplugins.com/support/royal-mcp/
elementor_clone_page, the six tool signatures, and the HTTP-Basic-vs-OAuth-2.1 auth-model tradeoff.GPLv2 or later β see LICENSE or the GNU site.
Royal MCP is provided as-is. API keys protect your endpoints; guard them like any other credential. You are responsible for the content, commands, and actions any AI platform is allowed to perform on your WordPress site.
Built by Royal Plugins
Lightweight, security-first WordPress plugins.
Β© 2026 Royal Plugins.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/royal-mcp)<a href="https://allmcps.com/mcp/royal-mcp"><img src="https://allmcps.com/api/badge/royal-mcp?style=directory" alt="Royal Mcp on AllMCPs" /></a>