Webmastery Site Toolkit for MCP
70+ permission-aware WordPress abilities for AI agents: content, media, SEO, audits, users, health, and security via the official MCP Adapter.
Install in
Webmastery Site Toolkit for MCP adds 70+ permission-aware abilities across 16 areas that AI agents and MCP clients can call through the official MCP Adapter plugin. It works with popular MCP clients including Claude, ChatGPT, GitHub Copilot, and Gemini.
The MCP Adapter provides the transport layer. This plugin provides the site-management vocabulary: posts, pages, media, comments, taxonomy, custom post types, post meta, content hygiene, SEO checks, broken link scans, public webmaster verification, Google Site Kit diagnostics, site info, health, security, users, plugins, themes, classic navigation menus, available updates, WP-Cron status, database, performance, and backup status.
Core editorial workflows work well with a dedicated Editor service account. Sensitive workflows such as plugin management, theme inventory, navigation menus, update overview, WP-Cron status, external link checks, user auditing, site health, database health, backup status, performance status, and security audits require a separate Administrator service account.
Highlights:
- Create, update, list, restore, trash, bulk publish, and bulk trash posts and pages.
- Inspect Gutenberg blocks and patch one targeted block or content section in posts, pages, and eligible custom post types instead of rewriting the full content.
- Manage categories, tags, comments, media metadata, featured images, and public image URL uploads.
- Discover eligible public custom post types and use generated CRUD abilities for each one.
- Read, update, and delete safe post meta, including supported Yoast SEO and SEOPress metadata fields.
- Inspect Rank Math and All in One SEO metadata for a post or page (read-only, allowlisted fields).
- Run content hygiene checks for orphaned media, missing featured images, and stuck scheduled posts.
- Inspect safe site and current-user context, with runtime environment details reserved for Administrator accounts.
- List and inspect classic navigation menus and update a single menu item’s label, link, target, classes, position or parent (custom-link URLs limited to http, https, mailto, tel and relative links; block-theme Navigation blocks are not covered).
- Audit plugins, installed themes (active, parent and cached update status), available core, plugin and theme updates from cached data, WP-Cron schedule health (overdue events and cron configuration, never event arguments), administrator accounts, backups, performance settings, database bloat, site health, and security posture.
- Analyze SEO metadata and public Google/Bing webmaster verification proof.
- Scan one post or page for broken links: internal links are resolved offline (published, not published, trashed or deleted, or unresolved), and an Administrator can also check external links with bounded, SSRF-protected HEAD requests from the server.
- Inspect Google Site Kit setup, modules, current-user permissions, and same-site PageSpeed summaries without exposing OAuth credentials or changing Site Kit settings.
All abilities enforce WordPress capability checks. If the connected account cannot perform the equivalent WordPress action, the ability fails instead of bypassing WordPress permissions. List abilities for posts, pages, custom post types, media, and SEO scores also filter each returned object before exposing full details, so private, trashed, draft, pending, and scheduled content follows WordPress object/status permissions.
3.0.0 is a breaking upgrade from 2.6.0. Update clients for bounded pagination, summary defaults, strict inputs, separate metadata writes, destructive confirmation/previews, canonical errors and database identifier privacy before upgrading. Affected successful records add untrusted_fields markers without rewriting stored values, HTML or block markup. These hints are not prompt-injection prevention; see the migration and agent-safety FAQ below.
For full setup instructions, ability tables, and the deeper security model, visit:
https://www.virtuallyboring.com/webmastery-site-toolkit-for-mcp/
External services
This plugin does not send any data to the plugin author or to a service run by the plugin author.
It contacts third-party sites only when an MCP client explicitly asks for it:
- Image URL uploads (Upload Image from URL, requires upload_files) download the image URL the caller supplies.
- Broken link scans with check_external set to true (requires permission to edit the post plus manage_options, normally Administrator) send an HTTP HEAD request, or a GET limited to the first 1 KB when a server refuses HEAD, from your server to each external URL found in the selected post or page, and to at most 3 redirect targets per link. The request carries only the URL, a fixed User-Agent naming this plugin (WebmasterySiteToolkitForMCP-LinkCheck/1.0) and, for the GET, a Range header asking for the first 1 KB; it carries no cookies, credentials, referer or site URL. The remote site sees your server’s IP address and can log the request under its own privacy policy and terms. At most 10 requests are sent per call, never to private, reserved or local network addresses, and results are not stored. Without check_external, or for links to your own site, no request is made.
Google Site Kit diagnostics use Site Kit’s own connection to Google; see “Do I need Google Site Kit?” below.
Written by Joobi from the project's own listing. See the source page
3.2.0
- Add read-only abilities to list installed themes, report available core, plugin and theme updates from cached data, and inspect WP-Cron configuration and scheduled events (never event arguments).
- Add classic navigation menu abilities to list menus, read a menu’s items and update one item’s label, link, target, classes, position or parent; custom-link URLs are limited to http, https, mailto, tel and relative links.
- Add read-only Rank Math and All in One SEO metadata inspection for a post or page, limited to allowlisted fields.
- Add a broken link scan for one post or page. Internal links are resolved without any request; external link checks run only when an Administrator requests them, with bounded requests that never reach private or local addresses (see External services).
- Security audit adds baseline checks for PHP security support, FORCE_SSL_ADMIN, the default table prefix, inactive plugins and themes, theme updates and two-factor authentication, which also changes the summary counts.
- Breaking: Backup status now reports no backup plugin detected, with a warning, when only Jetpack or ManageWP Worker is active, and adds a backup_verified flag per plugin.
- Backup status reads the last backup of Solid Backups and the schedule of WPvivid.
- List Categories and List Tags accept an optional page input for sites with more than 200 terms.
- Deprecate plugin-audit critical_updates and items[].critical_update, which WordPress.org update data cannot populate. They will be removed in 4.0.0; use updates_available_count and items[].update_available.
- Site health runs every registered direct test, reports tests that failed to run and truncates plugin-supplied text. User access audit warns only above 3 administrators and reports multisite super admins.
- Image URL uploads connect only to validated addresses when cURL can carry the download, including after redirects.
- List and score abilities run with their defaults when called without input, instead of failing as invalid input.
- Correct the missing MCP Adapter admin notice, security audit core version and authentication key checks, plugin audit Tested up to detection and the BackWPup last backup time.
3.1.0
- Correct SEO Analyze Post internal/external link counts for bare/www hosts, HTTP/HTTPS, protocol-relative URLs and relative references; exclude non-web schemes and compare complete hostnames.
- Identify failing schema fields and reasons in invalid-input errors across native and MCP calls, without exposing supplied values or unknown property names.
-
Flag Classic content in List Content Blocks and guide partial edits to Patch Post Content while preserving blocks, hashes and permissions.
-
Default PageSpeed analysis to mobile when strategy is omitted, including empty-input calls; retain explicit desktop analysis and Site Kit authorization.
-
Explain Site Kit access denials with tentative Dashboard sharing and Google sign-in guidance, without extra diagnostic reads or exposing provider errors.
-
Breaking: SEO and readability score audits default to published posts/pages. Explicit status:”any” retains the previous scope; specific status filters, permissions and bounded pagination are unchanged.
-
Featured-image writes accept response_format:compact for a small confirmation with previous/current IDs and a permission-guarded nullable URL. Omission or response_format:full retains the existing full post response.
- Correct documentation links for the migration guide, MCP Adapter assessment, agent threat model and ability contracts.
3.0.0
- Retain candidate/cache-priming database failures across later successful native reads, without adding queries, exposing SQL diagnostics or rejecting stale warm-cache errors.
- Replace unbounded list materialization with candidate windows and next_page continuation, including empty windows; remove exact filtered totals for content, media, orphan-media, and score lists.
- Default content and revision lists to summary projection; explicit fields:”full” preserves stored content. Batch known media references without relaxing permission or database-failure safeguards.
- Mark present untrusted fields on authorized records without changing stored values, types, markup or privacy omissions; summary projections never mark omitted content. These record-local hints are not prompt-injection prevention.
- Close fixed-property input schemas and reject malformed types/enums before raw permission checks or execute callbacks; preserve explicit open maps and omitted defaults.
- Validate strict types during registered input validation after core checks, preventing malformed scalar inputs from being misclassified as permission denials.
- Preserve empty database-health requests at Adapter permission preflight by honoring the declared object-root default, without changing Administrator authorization, table-name privacy, or strict raw callback validation.
- Reject unadvertised parent fields on posts and nonhierarchical custom post types, including zero, while retaining hierarchical detach and parent authorization.
- Require exact confirmation for permanent media/term deletion and both bulk post operations; bound raw bulk requests to 100 IDs and add non-mutating eligibility previews.
- Guard media deletion with shared known-reference checks; require explicit force for known usage, fail closed on scan errors, and report in_use on success without changing capabilities.
- Reject combined metadata and SEO inputs in post/page/custom-post-type create and update before any mutation; migrate to draft creation, separate authorized key writes, then publication.
- Authorize separate SEO reads per real object/key, omit denied fields, filter score pagination, remove opaque generated head output, and bound overview to authorized observations from a 100-post sample.
- Standardize failures on canonical categories, precise reasons, safe messages and object-shaped details, including callback exceptions on WordPress 6.9.
- Signal owned MCP failures consistently; error normalization preserves successful payloads and non-atomic bulk summaries and leaves foreign tools unchanged.
- Redact database table identifiers by default for 3.0; add exact core classification and an explicit Administrator-only boolean opt-in for raw names, preserving diagnostic metrics and query scope.
2.6.0
- Add read-only Google Site Kit setup, module, current-user permission, and same-site PageSpeed abilities with Site Kit-native authorization and sensitive upstream fields removed.
- Reject invalid or unauthorized page and custom post type parents before saving other changes; retain valid hierarchical parents, detach-to-zero, and omitted parents.
- Validate custom post type update taxonomy registration and assign-terms permission before saving any requested changes, matching creation.
- Keep stored SEO focus keywords in metric data rather than diagnostic messages, without changing provider selection, scores, permissions, or response fields.
- Enforce key-level WordPress authorization for standalone post-meta reads, upserts, and deletes. Omit denied keys from listings; retain existing success shapes and protected-key eligibility.
- This partial fix does not change metadata inside post/page create/update requests or separate SEO read paths; their authorization risks remain unresolved.
- Comment updates, approval, trash, and spam now require permission to edit the specific comment as well as moderation permission. Missing-comment errors are unchanged; invalid IDs cannot select a global comment or a different target.
- Report the configured public home URL scheme independently of the MCP request and admin-only TLS policy.
- Warn on malformed percent escapes or authority syntax without rejecting valid local, internationalized, or IPv6 configurations.
- Omit debug-log paths and warn when log access is unverified rather than claiming protection.
- Omit raw database errors while retaining failure context; successful table reports still include prefixed table names.
- Preserve backslashes in post/page metadata and media upload/update titles, captions, and alt text while retaining existing sanitization and permissions.
- Enforce the existing image upload size limit during retrieval and cancel oversized responses; preserve safe HTTP, MIME, and integrity checks.
- Check IPv6 DNS answers and aliases alongside IPv4 for image URLs and redirect targets, with consistent documentation-address rejection across PHP versions and without claiming complete DNS-rebinding protection.
- Validate scheduled dates before post, page, or custom post type writes, preserving valid existing schedules and explicit-offset instants.
- Prevent WordPress from discarding validated scheduling dates when updating drafts or pending items with zero GMT dates.
- Respect taxonomy-specific create/update/delete capabilities and per-term update/delete restrictions, including direct execution.
- Report refused or failed term deletion as failure instead of claiming the default category was deleted.
- Preserve unrelated stored HTML during targeted block and section patches without bypassing WordPress save filters. Match exact targets against raw content while continuing to sanitize replacement fragments.
- Require WordPress read access in addition to Site Kit route permissions for module, permission, and PageSpeed abilities, including direct execution. Missing delegated permission callbacks now fail closed.
- Prevent permanent deletion by post, page, custom post type, and bulk post trash abilities when WordPress trash is disabled. Return an explicit refusal without changing existing enabled-trash behavior.
- Restrict webmaster verification’s WordPress-only Site Kit state to callers with plugin activation permission; retain public checks for Subscribers and Authors.
- Cache public webmaster verification results for 60 seconds without sharing private plugin state or caller-specific summaries.
- Update tested WordPress compatibility to 7.1; retain WordPress 6.9 and PHP 8.0 minimum requirements.
- Document private vulnerability reporting, untrusted-content handling, and the distinction between ability results and MCP gateway responses.
2.5.0
- Expand targeted content patching to pages and public editor-enabled custom post types with object-level permissions and explicit unsupported-type errors.
- Refresh the WordPress.org listing to lead with the 70+ permission-aware abilities across 16 areas and supported MCP clients.
- Add an FAQ entry covering compatible AI clients and MCP hosts.
- Update the WordPress.org tags to better describe MCP-powered content automation.
2.4.1
- Harden permission callbacks and per-object filtering for posts, pages, custom post types, media, SEO score lists, plugin activation/deactivation, and runtime environment details.
- Remove plugin auto-update status from plugin responses to avoid Plugin Check updater-detection warnings.
- Require publish capabilities for private/scheduled/published status changes and bulk publishing.
- Reduce sensitive identity and fingerprinting fields in low-privilege responses.
2.4.0
- Add expanded Yoast SEO free metadata coverage for canonical URLs, breadcrumb titles, Schema.org page/article types, Open Graph and Twitter metadata, primary category, robots directives, inclusive-language score inspection, generated Yoast head inspection, and deeper sitemap index diagnostics.
- Add first-class SEOPress free metadata coverage for titles, descriptions, target keywords, canonical URLs, Open Graph and Twitter/X metadata, primary category, robots directives, breadcrumb titles, read-only metadata inspection, and SEOPress-specific site overview diagnostics.
2.3.0
- Add public image URL uploads with URL safety checks, image MIME and upload-size enforcement, optional metadata, and optional featured-image assignment.
- Add public Google/Bing webmaster verification checks without Google or Bing API credentials.
- Add Administrator-only user access, plugin, database, performance, and backup audits.
- Add content hygiene diagnostics for orphaned media, posts/pages missing featured images, and stuck scheduled posts.
- Add bulk post trash and bulk draft-publish abilities with per-ID summaries.
- Add eligible custom post type discovery and generated CRUD abilities.
- Add safe site, current-user, and environment introspection abilities.
- Add post meta read, update, and delete abilities with object-level permissions and protected-key safeguards.
- Add revision listing and restore abilities for posts and pages.
- Add category and tag get/update abilities.
- Add comment reply and update abilities.
- Add human-readable author fields to post and page responses.
2.2.0
- Add Yoast SEO score and readability score abilities.
- Persist supported Yoast SEO protected meta keys from post and page create/update abilities.
2.1.0
- Add block inspection, single-block replacement, and safer partial post body edits.
Follow this listing's changes (Atom feed)