Get the plugin
WP MCP/Changelog/0.7

v0.7.32

Adds an opt-in (default-OFF) guarded PHP snippet runner for dev/staging, reviewed adversarially with a gate-bypass verdict of SHIP.

This is the one explicit escape hatch OUTSIDE the snapshot/rollback safety model: its effects are not captured and not undoable. The product's default promise holds because the tool is default-off, dev/staging-only, and admin-gated; it must be deliberately enabled.

Gates (each independently tested, and confirmed non-bypassable by review): default-off (WPMCP_ALLOW_PHP_EXEC, checked at call time on every path), environment fail-closed (only local/development/staging; production and unknown/empty refused unless a separate override), manage_options + governance + audit of every attempt (audit records outcome only, never the snippet source or output), a #22-validator pre-exec speed-bump (documented as anti-self-harm, not a security boundary), and bounded execution (output buffering, set_time_limit, catch Throwable). The evaluator is constructor-injected, never request-controlled.

+32 tests (1580 total). free/pro/lint green, safety core untouched.

Closes #45. This closes the final feature-parity issue.

v0.7.31

Adds an opt-in (default-OFF) guarded WP-CLI runner, hardened across two adversarial security reviews.

Seven guards, each independently tested via an injectable executor (no test spawns a process): default-off (WPMCP_ALLOW_WP_CLI), production refusal (fails closed on unknown env), deny-by-default subcommand allowlist, no-OS-shell argv via proc_open array, no-PATH binary resolution, execution timeout with process-group kill, and full audit of every allowed/denied attempt.

Security note: the first review found a CRITICAL allowlist bypass (an allowlisted subcommand plus a wp-cli global flag such as --require/--exec/--ssh reached wp-cli and executed arbitrary PHP). Fixed before release with deny-by-default flag validation over the full token stream (only a narrow safe-flag allowlist like --format/--fields is permitted); the re-review confirmed the RCE is closed. option get / user list were removed from the safe defaults. Operators who widen the filterable flag allowlist can re-open this surface by design, so keep it narrow.

+91 tests since prior release (1548 total, 9 skipped). free/pro/lint green, safety core untouched.

Closes #44.

v0.7.30

Adds an opt-in (default-OFF) OAuth 2.1 auth subsystem for remote MCP clients, hardened by an adversarial security review.

Implemented: RFC 8414 + RFC 9728 discovery metadata, RFC 7591 Dynamic Client Registration (rate-limited, 100-client cap, redirect_uri validation), authorization-code + PKCE with S256 mandatory (enforced at authorize and token time), SHA-256-hashed client secrets/codes/tokens, single-use 60s codes (atomic compare-and-swap), 1h tokens, audit-wired with no secret leakage.

Security review verdict was SHIP (0 critical/high). Fixed before release: tokens are now bound to credential state (get_userdata existence check + sha256(user_pass) fingerprint), so a stolen token dies on password change or account deletion; auth-code consumption is atomic against concurrent double-spend.

Scoped out (documented): consent-screen UI, refresh tokens, revocation endpoint, scope-to-ability enforcement. Accepted known-low: DCR rate-limit burst and unbounded metadata length (backstopped by the client cap).

+115 tests since prior release (1460 total). free/pro/lint green, safety core untouched.

Closes #43.

v0.7.29

Adds Pro-tier support for Bricks and Divi alongside Elementor.

  • Tools: detect-builder (classifies elementor/bricks/divi/classic/gutenberg), get-builder-content, update-builder-content.
  • Bricks (_bricks_page_content_2 JSON meta) and Divi (post_content shortcodes + _et_pb_use_builder) writes route through Safe_Mutation, so they are fully undoable.
  • +28 tests (1345 total); detect/get/update and byte-for-byte rollback for both builders are exercised in CI with no plugin installed (only the plugins' visual render is production-only). pro/free/lint green, safety core untouched.

Closes #47.

v0.7.28

Adds free-tier read-only analytics via an adapter that prefers a connected Google Site Kit and falls back to configured credentials.

  • Tools: get-analytics-connection-status, get-analytics-summary, get-top-pages, get-search-console-summary, get-search-console-queries. Date-range/limit validation; not-connected returns WP_Error, never fatal.
  • +41 tests (1317 total). CI covers provider detection, validation, and normalizers against fixtures; live Google API round-trips are production-only and no test touches the network. free/pro/lint green, safety core untouched.

Closes #49.

v0.7.27

Adds free-tier read-only network introspection, gated on is_multisite().

  • Tools: is-multisite (always available), get-network-info, list-network-sites (paginated, capped), get-site-details (unknown blog_id -> WP_Error). Conditional registration mirrors the ACF/SEO/i18n pattern.
  • Destructive fleet writes (create/delete/archive sites) are deliberately deferred: there is no whole-site snapshot model, so exposing them would break the nothing-unrecoverable promise.
  • +21 tests (1276 total). CI covers the non-network paths, validation, normalizers and registration split; real network round-trips are production-only (harness is single-site). free/pro/lint green, safety core untouched.

Closes #35.

v0.7.26

Adds free-tier access-control on top of the existing governance filters.

  • Persisted per-ability/domain/operation toggles (wpmcp_governance option) composed as narrowing layers with the existing filters; any disable wins, stored enable can never force an ability back on.
  • Scoped identities (wpmcp_identities): named identities with domain/operation/ability allowlists, enforced in the Registrar permission gate ANDed AFTER current_user_can() so identity scope can only narrow access, never escalate. Unknown identity = default-deny.
  • Audit log records acting identity + ability + allow/deny outcome (capped, injectable clock).
  • +53 tests (1255 total); the 8 original governance tests pass unmodified. free/pro/lint green, safety core untouched.

Closes #50.

v0.7.25

Adds free-tier async backup job orchestration on top of the snapshot machinery, using WP-Cron as the executor and an option-backed job store.

  • Tools: trigger-backup (queues job + schedules cron), get-backup-status, list-backup-jobs, cancel-backup-job (refuses non-queued).
  • Deterministic incrementing job ids and injectable clock for stable tests; no randomness.
  • +26 tests (1202 total), free/pro/lint all green, safety core untouched.

Closes #53.

v0.7.24

Adds a Pro-tier generate-widget tool that builds valid Elementor widget elements (heading, text-editor, button, image) with real setting keys and inserts them into a post's _elementor_data via the undoable snapshot path.

  • Deterministic element ids (crc32b of seed or element count), so generation is test-stable.
  • +31 tests (1176 total), pro/free/lint all green, safety core untouched.
  • Unknown widget type and missing required settings return WP_Error.

Closes #21.

v0.7.23

Adds FREE-tier translation tools for Polylang/WPML via an adapter: list-languages, get-post-translations (read), set-post-language, link-post-translations (write, undoable via post snapshot).

  • +23 tests (1145 total), lint clean, safety core untouched.
  • Caveat: Polylang languages are not configurable in the PHPUnit harness (pll_* loads on plugins_loaded, before the harness requires the plugin), so live pll_* round-trips are exercised in production, not CI; wiring, adapter shape, validation, registration, and Safe_Mutation rollback are all tested. link-post-translations snapshots the primary post (documented limitation).

Closes #51.

v0.7.22

Test hardening: 145 input-validation, functional-flow, and regression tests across the tool surface, locking in the fixed bugs (force-delete recovery, session rollback, SQL and filesystem guards, scanner self-DoS) and proving multi-tool undo flows. 1122 tests.

v0.7.21

Harden page-audit SSRF: pin the validated public IP via CURLOPT_RESOLVE for the actual request, closing the DNS-rebinding window between validation and connect. 978 tests.

v0.7.20

Onboarding tools: get-connection-info (MCP endpoint, Application Password steps, and ready-to-paste snippets for Claude Code, Cursor, Claude Desktop) and list-tool-catalog (all abilities grouped by domain with tier/operation/capability/hints). 973 tests.

v0.7.19

HTML-to-blocks: convert-html-to-blocks maps HTML to core Gutenberg blocks (heading, paragraph, list, image, quote, code, separator, table), preserving unrecognized markup in a core/html block. Pairs with the safe-wrapped update-blocks to apply it. 964 tests.

v0.7.18

Internal-linking analysis: find-orphan-posts, suggest-internal-links (ranked by shared taxonomy + keyword overlap), and get-link-map (incoming/outgoing counts, orphans, most-linked). Read-only. 953 tests.

v0.7.17

wp.org plugin repository search: search-plugins (query the directory) and get-plugin-info (full plugin details by slug). Pairs with the existing install tools. 937 tests.

v0.7.16

PHP snippet validator: validate-php-snippet statically checks syntax (token_get_all, never executes) and flags dangerous constructs (eval/exec/shell_exec, obfuscation, request-driven execution) with severities. 930 tests.

v0.7.15

Pro-tier analysis: extract-content, analyze-seo (0-100 score, headings, links, alt coverage, Flesch readability), analyze-accessibility (WCAG scan with element locations), and check-contrast (WCAG AA/AAA). Read-only. 919 tests (96 Pro).

v0.7.14

Content export/import: export-content (native WXR export to a protected dir), list-exports, and import-content (built-in WXR parser, disabled-by-default, confirm required, honestly not-undoable). Full file+DB site image is a tracked follow-up. 867 tests.

v0.7.13

Shortcode and widget introspection: list-shortcodes, render-shortcode, list-sidebars, list-sidebar-widgets. 856 tests.

v0.7.12

Block introspection: list-block-types, get-block-type, parse-blocks, and serialize-blocks (pure utilities over the block registry and parser). 847 tests.

v0.7.11

Generic REST passthrough: list-rest-routes and call-rest, which performs an internal WP REST request so authorization is inherited from each endpoint's own permission callback. Writes are disabled-by-default, require confirm, and are honestly reported as not undoable. 829 tests.

v0.7.10

Site context: get-site-context returns a single orientation payload (site info, WP/PHP versions, active theme, plugins, post types with counts, taxonomies, locale, active integrations, plugin/pro status). Read-only, no admin_email or secrets. 821 tests.

v0.7.9

Maintenance mode: get-maintenance-status, enable-maintenance, and disable-maintenance (both undoable via the option snapshot). A 503 maintenance response is served to logged-out and non-admin visitors while admins keep full access, so you are never locked out. 810 tests.

v0.7.8

WP-Cron tools: list-cron-events, schedule-event, unschedule-event (both undoable via the cron option snapshot), and run-event (opt-in, fires only currently-scheduled hooks with stored args). Core-critical hooks are protected from scheduling. 795 tests.

v0.7.7

System diagnostics: get-debug-config, get-debug-log (bounded 64KB/200-line tail, path-confined), list-transients, delete-transient. 774 tests.

v0.7.6

Generic post-meta and wp_options tools: get/set-post-meta (protected keys refused) and get/update-option (sensitive-option denylist, writes disabled-by-default). Meta and option writes are undoable via the snapshot engine. Media file-backup core change reviewed SAFE. 755 tests.

v0.7.5

Force-deleted media is now fully recoverable: the file bytes (original and all sizes) are backed up before an irreversible delete and restored on rollback, and retention prune cleans the backups. This closes the last gap in the nothing-is-unrecoverable promise. 736 tests.

v0.7.4

Comprehensive capability-gating tests across all 86 abilities and 17 domains, plus a security fix: get-settings and update-settings were gated at edit_posts and are now manage_options (matching WordPress core's own Settings gate). 724 tests.

v0.7.3

SEO integration: get-seo-status, get-seo-meta, and update-seo-meta with a Yoast and RankMath adapter (neutral title/description/focus-keyword/canonical/robots mapped to the active plugin). SEO meta writes are undoable via the post snapshot. Harness now installs Yoast. 672 tests.

v0.7.2

ACF (Advanced Custom Fields) tools: list-field-groups, get-fields, and update-fields (disabled-by-default). Field-value writes route through the post snapshot, so ACF changes are undoable. Test harness now also installs ACF. 650 tests.

v0.7.1

Per-client rate limiting: a fixed-window limiter (default 120 requests / 60s, configurable) enforced around ability execution, so a runaway agent loop is throttled with a clear retry-after instead of hammering the site. Also de-flaked CI by stubbing plugin/theme update-check HTTP. 639 tests.

v0.7.0

Pro-tier Elementor deep editing: get-elementor-data, add-widget, update-element, remove-element, move-element. Every edit routes through the post snapshot, so any Elementor change is one-click undoable, unique among WP MCP tools. First Pro-tier feature, exercised end to end. 625 tests (44 Pro).