Web application / WordPress Jetpack

Jetpack 16.4: Autoloader arbitration, shared site tokens and MCP abilities

Public package and source teardown of WordPress Jetpack 16.4: 72 Composer packages and highest-semver autoloader arbitration, WordPress 7.1 WP_Connector_Registry, single shared blog_token blast radius, Protected_Owner disconnect guards, Safe Mode IDC isolation, Sync queue caps, and default-off WP Abilities / MCP governance.

Contract model · conceptual sequence, not a claim about internal deployment
  1. plugins_loaded highest-semver Composer binding
  2. Shared blog_token + Protected_Owner + Safe Mode IDC
  3. Default-off WP Abilities + 470-tool MCP governance
01 / EMPIRICAL RECORD

Investigation question

How does Jetpack arbitrate shared Composer packages across Automattic plugins at runtime, protect a single sitewide WordPress.com blog_token across co-installed WooCommerce plugins, guard cloned staging sites via Safe Mode, and gate WordPress Abilities and MCP access?

02 / EMPIRICAL RECORD

Observed

Inspecting the public jetpack.16.4.zip plugin archive (5,379 entries, 72 Automattic Composer packages), sibling WooCommerce plugin packages (woocommerce-payments 11.3.0, woocommerce-shipping 2.5.2), and pinned Automattic/jetpack monorepo source exposes a tightly coupled multi-plugin runtime. First, because PHP shares one global namespace per request, automattic/jetpack-autoloader defers class resolution until plugins_loaded and binds every shared namespace (such as automattic/jetpack-connection and automattic/jetpack-sync) to the highest semantic version present across active plugins—so upgrading Jetpack silently updates connection and sync behavior for sibling WooCommerce extensions. Second, all co-installed Automattic plugins share four global wp_options keys: jetpack_options (blog_id, master_user, protected_owner, idc_urls), jetpack_private_options (a single shared blog_token and per-user user_tokens), jetpack_connection_active_plugins (reference-counted slug map), and Sync queues (jpsq_*). Consequently, disconnecting from WordPress 7.1 Settings > Connectors (WP_Connector_Registry slug wordpress_com via ES import-map connectors-card.js) severs Jetpack and co-registered WooCommerce extensions together, whereas uninstall.php checks Plugin::is_only() so deleting one plugin preserves tokens for remaining siblings. Third, Protected_Owner blocks disconnecting master_user without explicit ownership transfer, Identity_Crisis pauses Sync in Safe Mode on cloned staging URLs, and WP_Abilities\Registrar disables local ability registration behind apply_filters("jetpack_wp_abilities_enabled", false) (while Forms_Abilities bypasses the gate for backward compatibility) alongside default-off Jetpack AI MCP access (site_level_enabled_default: false).

03 / EMPIRICAL RECORD

Inferred

Four operational invariants govern WordPress sites running Jetpack alongside WooCommerce extensions: (1) treat blog_token and disconnect actions as sitewide shared infrastructure rather than isolated per-plugin settings; (2) always use Safe Mode ("Confirm Safe Mode" or "Create fresh connection") on cloned staging databases so staging never disconnects or overwrites production Sync; (3) align Automattic plugin updates rather than assuming each extension ships an isolated Connection stack; and (4) inspect both site_level_enabled and WordPress.com account-level MCP preferences plus jetpack_wp_abilities_enabled before assuming WP Abilities or MCP tools are active.

04 / METHODOLOGICAL BOUNDARY

Unknown & limitations

This public-artifact analysis covers WordPress.org release ZIPs, Automattic/jetpack GitHub documentation and source packages, and public WordPress REST specifications; server-side WordPress.com Calypso internals, proprietary Jetpack AI backend prompts, and private site deployments remain outside public source scope.

05 / EMPIRICAL RECORD

Architecture

Jetpack 16.4 assembles 72 Composer packages arbitrated via jetpack-autoloader at plugins_loaded, bridging wp-admin React SPAs (My Jetpack, Jetpack Settings, Jetpack AI Hub) and WordPress 7.1 WP_Connector_Registry to public-api.wordpress.com via HMAC-signed REST/XML-RPC calls while adding zero admin JS bloat to public storefront pages.

06 / EMPIRICAL RECORD

Domain & data models

Shared wp_options hold jetpack_options, jetpack_private_options (blog_token, user_tokens), and jetpack_connection_active_plugins; Sync bounds queue load at 500 KB dequeue, 600 KB / 500-row upload, 5,000 max queue size, and 7,200s lag; WP Abilities and WPCOM MCP partition read-only vs mutating tools across account and site scopes.

07 / EMPIRICAL RECORD

Workflows & state machines

Connection progresses from blog_token registration (xmlrpc jetpack.verifyRegistration) -> user OAuth authorization (setting master_user and protected_owner) -> sibling fast-path TOS reuse; IDC URL mismatches enter Safe Mode; uninstall.php gates cleanup on Plugin::is_only(); and Jetpack 16.4 AI MCP defaults off until explicitly opted in.

08 / EMPIRICAL RECORD

API & protocol surfaces

WordPress REST namespaces (jetpack/v4, wpcom/v2, my-jetpack/v1, wp-abilities/v1), 13 signed XML-RPC methods (jetpack.verifyRegistration, remoteConnect, idcUrlValidation, etc.) using HMAC {token_key, timestamp, nonce, method, url, body_hash} signatures, 5 WP-CLI commands, and wpcom/v2/jetpack-ai/mcp-settings governance.