
Royal Mcp
com.royalplugins由 royalplugins.com 发布官方发布者v1.4.34更新于 Oct 26, 2026
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
概览
自托管的 WordPress MCP 插件,让 AI 助手读取和修改站点内容、商店、SEO、备份与安全设置,并支持撤销。
- 可以做什么
- 创建、读取、更新、删除和克隆文章、页面与自定义文章类型,以及分类法、评论、菜单和修订版本
- 浏览、上传和编辑媒体,读取或编辑区块、同步图案和全局样式
- 读写 Yoast、Rank Math、AIOSEO、SEOPress 和 SEObolt 的 SEO 元数据,并跨内容搜索
- 管理 WooCommerce 商品、变体、优惠券、订单、客户和商店统计
- 编辑 Elementor 与 Divi 页面,读写 ACF 字段、重定向、表格和表单
- 查看站点诊断、备份、安全扫描和缓存,并在 72 小时内撤销破坏性写入
- 适用场景
- 适合希望让 Claude、ChatGPT 或 Cursor 等 AI 客户端直接操作自己 WordPress 站点的场景:起草和编辑内容、更新 SEO、处理商店任务,或在不打开 wp-admin 的情况下检查备份、安全和性能。
- 运行要求
- 需要已安装并启用 Royal MCP 插件的自托管 WordPress 站点,以及站点的 MCP 服务器地址。认证方式为在站点上通过 OAuth 登录,或使用以 Authorization Bearer 请求头发送的 API 密钥。站点需能被 AI 客户端通过 HTTPS 访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Royal Mcp,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.royalplugins%2Froyal-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"royal": {
"type": "http",
"url": "https://demo.royalplugins.com/wp-json/royal-mcp/v1/mcp"
}
}
}README
Royal MCP
Run your WordPress site from Claude, ChatGPT or any AI app: write and edit content, manage your store, fix SEO and undo any change. Works alongside Elementor's and WooCommerce's own MCP tools. 100% self-hosted.
[WordPress] [PHP] [License] [Version]
Download on WordPress.org · Documentation · Royal MCP Pro · Royal Plugins
Royal MCP is an open-source WordPress plugin that turns your site into a Model Context Protocol server. Connect it once, and your AI app can read and change your site the way you would from wp-admin: posts, pages, media, menus, your WooCommerce store, Elementor and Divi pages, SEO, backups and security. Every call runs as a WordPress user, is checked against that user's capabilities, and lands in an activity log, and every destructive change can be undone.
Nothing is relayed through a third-party service. Your API keys, sign-in tokens and logs stay in your own WordPress database.
What you can do with it
Ask in plain language. These all work on the free plugin:
Built to work alongside other MCP tools
Royal MCP is designed to run next to the MCP tools other plugins ship, so your AI can reach for the best tool for each part of a job.
- Elementor. When Elementor's own MCP is switched on, Royal MCP detects it and tells your AI that Elementor's builder is there for designing new layouts. Royal MCP's Elementor tools keep handling edits to the pages you already have: text and image swaps, widgets, cloning and templates.
- WooCommerce. WooCommerce's own MCP abilities keep working. Royal MCP adds the rest of the store: coupons, variations, attributes, customers and store stats.
- WordPress Abilities API. Royal MCP's tools also register as WordPress abilities. With the MCP Adapter installed they are served on Royal MCP's own adapter server,
royal-mcp-server, with the same permission checks, switches and logging as the native endpoint.
Royal MCP answers on its own endpoint and never switches off another plugin's tools, so together they cover more of your site than any one of them alone.
Safety
- Your AI app asks first. Claude, ChatGPT and other clients ask you to approve each destructive tool call by default.
- Drafts first. New posts and pages start as drafts.
- Read-only and drafts-only modes. One switch refuses every tool that changes the site, or every tool that would publish.
- An access level per connection. Give each connected AI app Full, Read-only or Drafts-only access from the Connected Clients screen, and revoke any of them.
- Recent Changes with undo. Every destructive write stores a snapshot first. The Recent Changes screen shows the before, after and current values, and one
mcp_undo_last_operationcall reverses a change within 72 hours. - Activity log. Every tool call is logged with the tool name, argument keys, IP and user agent. Argument values are never stored.
- Dry runs. High-impact writes such as site options and permalink structure can be previewed before they are applied.
Capabilities
270 tools: 113 core tools that are always available, plus 157 integration tools that load only when the matching plugin is active.
WordPress core (113 tools)
- Content - Posts, pages and custom post types (create, read, update, delete, clone as a draft, revisions, featured images)
- Taxonomies - Categories, tags, custom taxonomies, term meta, post-term linking
- Media - Browse; upload images, PDFs and other allowed files (by URL, base64 or a file handed over by ChatGPT); convert, resize and compress images on upload; find a file already in the library by address or content and reuse it instead of uploading a copy; update metadata; delete
- Blocks - Read a post's block tree; insert, replace, move or delete single blocks; replace text across blocks; read and edit synced patterns; read global styles and Site Editor templates
- Comments - Create and moderate (approve, spam, trash)
- Users - Display names, roles, registration dates and any capabilities granted beyond a user's roles. Emails and usernames are not exposed unless a site owner opts in with the
royal_mcp_user_fieldsfilter - Menus - Read, create items, reorder, update
- Theme - Custom CSS, theme mods, active theme
- Site - Permalink structure, allowlisted options, site info
- Search - Search across content
- SEO - Meta read and write for Yoast, Rank Math, AIOSEO, SEOPress and SEObolt
- Safety - Read-only mode, drafts-only mode, per-connection access levels, Recent Changes and 72-hour undo
- Plugins and themes - Every installed plugin, including must-use plugins and drop-ins, with versions, active status and last-modified dates; installed themes
- Diagnostics - Site status (WordPress, PHP, MySQL, plugins, themes and cron in one call), PHP error-log tail, cron schedule, and
royal_mcp_connection_health
Plugin integrations (157 tools)
Not seeing your plugin? The core tools still cover posts on any custom post type, any plugin's custom fields through post meta, and any plugin's comments. Request an integration on the WordPress.org support forum. If you build that plugin, you can add its tools to Royal MCP yourself or partner with us.
Connect
Install
- Install from WordPress.org (recommended, updates through wp-admin) or upload the zip from the latest GitHub release.
- Go to Royal MCP → Settings, switch Royal MCP on and copy the MCP Server URL. For clients that use an API key, generate one on the same screen.
- Pick a client below.
Your MCP Server URL is https://yoursite.com/wp-json/royal-mcp/v1/mcp.
Claude (claude.ai, Claude Desktop) - sign in with OAuth
- Settings → Connectors → Add custom connector.
- Paste your MCP Server URL.
- Approve the sign-in screen on your site. No API key needed.
ChatGPT
Add a custom connector with your MCP Server URL and follow the sign-in flow.
Claude Desktop with an API key
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
Cursor, VS Code, Claude Code and other MCP clients
Add an HTTP MCP server with your MCP Server URL and an Authorization header set to Bearer YOUR_API_KEY, or use OAuth where the client supports it.
Raw HTTP
The older X-Royal-MCP-API-Key header no longer signs in. Send the key as Authorization: Bearer instead.
Security model
Found a security issue? Report it privately through royalplugins.com/contact, not in a public issue.
Royal MCP Pro
Royal MCP gives one site owner a safe AI connection. Royal MCP Pro is for running AI across real client work: 400+ tools, bulk operations across many pages and products, deeper Elementor, Divi, WooCommerce and ACF authoring, cross-plugin workflows that run a whole job in one call, and a full audit trail.
Pro is one plugin that includes everything in Royal MCP. When Pro is active, you run Pro on its own.
See Royal MCP Pro → · Pricing · Full Free vs Pro comparison
Scope
What Royal MCP deliberately does not do:
- No core file changes. It never writes to
wp-content/themes,wp-includesorwp-admin. - No plugin installs or upgrades. It can list plugins, not install, activate or update them.
- No raw SQL. Every query goes through WordPress APIs and prepared statements.
- No Elementor Theme Builder templates in the free plugin. Theme Builder work is in Royal MCP Pro.
- No Beaver Builder or Bricks layout JSON writes. Their standard post content is readable and writable; builder-specific layout data is left alone unless a dedicated tool covers it.
More from Royal Plugins
Royal MCP works with the rest of the Royal Plugins family. Each one adds its own tools to Royal MCP when it's active.
Earn with Royal Plugins
Recommend Royal MCP Pro and the rest of the family to your audience and earn 30% on every first-year sale and 15% on every renewal, with a 60-day cookie and monthly payouts.
Join the Royal Plugins affiliate program →
Further reading
- Connect Claude to WordPress in 5 Minutes - the quickest way to get connected, with a video and step-by-step setup.
- Editing Elementor with Claude: 4 Workflows That Work - the four ways to edit Elementor pages with AI and when to use each, with prompts, examples and a video demo.
- Translate WordPress with Claude + DeepL MCP - Royal MCP and another MCP server working together on a real job.
- WordPress's MCP Era: Distribution and Runtime Servers Now Coexist - why several MCP tools on one site work better together.
- Claude Skills for WordPress - turn the prompts you repeat into reusable workflows.
License
GPLv2 or later. See LICENSE or the GNU site.
Royal MCP is provided as-is. API keys protect your endpoint; 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.
来源:README.md,提交 4adf4a6
工具
0版本历史
1- v1.4.34最新Sep 16, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。