Set Boost module status is a WordPress ability from Jetpack Boost — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Set Boost module status
WriteEnable or disable a single Jetpack Boost module by slug.
Requires the Jetpack Boost plugin on WordPress 6.9+. All four abilities require the current user to be logged in and hold the 'manage_options' capability — Boost has no abilities-specific capability of its own and mirrors the permission model used by its REST API and admin screens.
What it does
This ability toggles one Jetpack Boost module on or off given its slug and a desired boolean active state, returning the resulting slug, active state, and a changed flag. It is idempotent: setting a module to its current state returns changed=false without side effects. An unknown slug returns a jetpack_boost_invalid_slug error, a module unavailable on the site (e.g. requiring a connection or paid plan) returns jetpack_boost_module_unavailable, and an always-on module cannot be disabled and returns jetpack_boost_module_always_on. Toggling a parent module also drives its submodules' lifecycle through the same status-update action Boost's own UI uses.
See it in action
You ask your AI assistant
"Turn on the Critical CSS module in Jetpack Boost."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| slug | string | Yes | Module slug to toggle (e.g. "critical_css", "page_cache"). |
| active | boolean | Yes | Desired state: true to enable, false to disable. |
Returns
An object with the module slug, its resulting active state, and a changed boolean indicating whether the state actually changed.
Permission
The current user must be logged in and have the 'manage_options' capability.
More Jetpack Boost abilities
Clear page cache
Clear every cached page under the site's home URL via Jetpack Boost's page cache.
Get Boost modules
List Jetpack Boost performance modules and submodules along with their active, available, and optimizing status.
Get latest speed score
Return the most recent Jetpack Boost mobile and desktop speed scores for the site's home URL.