
royalplugins/royal-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Free WordPress plugin giving AI agents full stack access to your site via Model Context Protocol (MCP). Read & write files, clone & edit pages. 72hr undo.
Обзор
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. Ask in plain language. These all work on the free plugin: 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. - 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.
README
Показан фрагмент оригинального README. Открыть оригинал.
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:
| Ask your AI to… | What happens |
|---|---|
| “Draft a post about our spring sale, use this image as the featured image and write the SEO title and description.” | Creates a draft, uploads the image to your media library, sets the featured image and writes the meta for Yoast, Rank Math, AIOSEO or SEOPress. Nothing goes live until you publish. |
| “Find the pages that still mention our old phone number and update them.” | Searches your content and replaces the text page by page, with an undo token for each change. |
| “Which products are low on stock? Create a 15% coupon for orders over $100.” | Reads products filtered by stock status and creates the WooCommerce coupon. |
| “Clone the Services page as a new landing page, change the headline and swap the hero image.” | Clones the Elementor page and edits the copy and image in place, keeping the layout intact. |
| “Show me this month’s top pages and search queries.” | Reads the overview, top pages, traffic sources and Search Console queries from MonsterInsights. |
| “Take a backup, then check for vulnerable plugins and failed logins this week.” | Starts a backup (SiteVault or UpdraftPlus) and reads scan results and login activity (GuardPress, Wordfence or Solid Security). |
Установка
npx -y mcp-remote https://yoursite.com/wp-json/royal-mcp/v1/mcp --header Authorization:${AUTH_HEADER}Конфигурация
{
"mcpServers": {
"my-wordpress": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://yoursite.com/wp-json/royal-mcp/v1/mcp",
"--header", "Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer YOUR_API_KEY"
}
}
}
}