xSpeed Cache is officially live! Get 50% OFF during Launch Week — Lifetime starts at just $79Lifetime from $79 — 50% OFF, Launch Week! See Plans →

See Plans →
Features
xSpeed Hub Pricing Docs Blog Scan
Appearance
Get Plugin

Tune WordPress cache settings with Muse

Tuning cache settings with Muse means messaging Meta's personal AI agent from your phone to read the xSpeed settings on a WordPress site, and to change one through xSpeed Hub when your connection allows writes.

list_sitesget_cache_statuslist_modulesget_settingsupdate_settingstoggle_cacherun_benchmark

Last updated: October 2026

Example session · Muse

You: With xSpeed Hub, find out why shop is slow on my phone and fix it if it is one setting.

get_settings(site: shop, module: lazy) read-only
→ lazy_images off, lazy_iframes off

Muse: Lazy-load images is off on shop, so a phone downloads every product photo before the page settles. Turning it on is one setting. Turn it on?

You: Yes.

update_settings(site: shop, module: lazy, values: { lazy_images: true }) changes site
→ This connection is read-only; write tools are not permitted.

Muse: The Hub refused it because your connection token has Read-only everywhere on. Switch that off on the Connect AI page and ask again, or turn on Lazy-load images in the xSpeed dashboard yourself.

01

How Muse handles this

You are on your phone, in WhatsApp or the Muse app, looking at your own shop the way customers see it, and product pages take a long time to settle. You message Muse and ask why. With xSpeed Hub added as a custom connector, Muse calls get_settings for the lazy loading module on shop, and list_modules if it needs to see what else is on, so it can tell you whether images below the fold load straight away or wait until a visitor scrolls to them.

What comes back is a short answer that fits a phone screen: lazy loading for images is off, so every product photo downloads before the page is usable, and turning it on is a single setting. The Hub tells the agent to briefly confirm intent before update_settings, so Muse asks in the thread. If your connection token still has Read-only everywhere on, which is the safe way to start with Muse, the Hub refuses the write and says the connection is read-only. That is the switch doing its job. Turn it off on the Connect AI page when you want Muse to apply changes, or make the change yourself in the xSpeed dashboard. With writes allowed, a wrong key or value refuses the whole call and nothing is stored, and credential fields are refused over the Hub.

What differs in Muse is how you set it up and where the gates are. You ask Muse to create the custom connector, and it keeps the connection token in its Secure Credentials Store. Meta says Muse will not take many important actions without your approval by default, that you change when it asks in Settings, and that a separate Sentinel agent decides what leaves its secure machine. Those are the checks Muse runs. xSpeed Hub has no confirmation step of its own, so with writes allowed a settings change runs as soon as Muse calls it.

02

Set up Muse once

Already connected? Skip to the prompts. Alternatives and troubleshooting are on the Muse guide.

1Put your sites in xSpeed Hub

Sign in at app.xspeedcache.com with Google or email; the Hub is free and has no site cap. Then connect each WordPress site from its own dashboard: click Connect Hub in the xSpeed Cache top bar, then Connect via xSpeed Hub. Each site needs the free xSpeed Cache plugin.

2Copy the connection token from xSpeed Hub

Sign in at app.xspeedcache.com as the workspace owner and open Connect AI. Copy the connection token. For a first try, turn on Read-only everywhere: the Hub then refuses every write tool on that token, so Muse can read but not purge or change settings.

Text
xSpeed Hub  >  Connect AI  >  connection token (Read-only everywhere: on)

3Ask Muse to create a custom connector

Send this message to Muse in the app, on muse.ai or in WhatsApp, and follow the steps Muse gives you. When it asks for the credential, give it the token as a Bearer token. Meta does not review custom connectors, so only finish this for the request you started yourself.

Text
Create a custom connector called xSpeed Hub for the MCP server at
https://app.xspeedcache.com/xspeed/mcp
It authenticates with a Bearer token in the Authorization header. Once it is connected, use xSpeed Hub to list my sites.
1 / 3

Full Muse setup, sign-in options and FAQ

Before you send a prompt that changes something

Reads change nothing on your sites, though contact_support emails xSpeed support. Writes run once your connection allows them, so your client's approval prompt and a read-only connection (the token's Read-only everywhere switch, or a Viewer sign-in) are the gates that matter. Meta says Muse will not take many important actions without your approval by default, that many connectors can be set up to only retrieve data, and that you change when Muse asks for approval in its Settings. Muse's separate Sentinel agent also decides what leaves its secure machine and asks you for permission when needed. xSpeed Hub has no confirmation step of its own, so a write runs as soon as Muse calls it and your connection allows writes. The firm stop here is the token: with Read-only everywhere on, the Hub refuses every write tool, whatever Muse decides. Turn it off only when you want Muse to purge or change settings, and read each question Muse asks before you answer yes.

03

What do I ask?

Three prompts written for Muse. More for this job are below.

Prompt for Muse
Use xSpeed Hub to tell me why product pages on shop are slow on my phone. Read the settings only.
Prompt for Muse
With xSpeed Hub, turn on lazy loading for images on shop, and tell me the setting before and after.
Prompt for Muse
Ask xSpeed Hub which modules are on for blog, in one short line each.
04

What happens, step by step

Every xSpeed feature is a module with its own settings. Through xSpeed Hub an agent can list the modules a site has, read one module's settings, change them with a checked update, and turn page caching on or off. The site validates every write against the module's own schema, so a wrong key or value is refused with a reason instead of being quietly ignored.

01

List the modules

list_modules returns every Free and Pro module available on one site, with its settings schema and status. It tells the agent which module slugs exist, such as minify or gzip, and what each setting accepts.

02

Read the current settings

get_settings takes a module slug and returns its settings. Credential fields come back masked, so an agent cannot read a stored API token or password back in plain text.

03

Change them

update_settings takes the module and a values object of setting keys. The site checks the whole object first. If any key is unknown, any value is outside the schema, or a field is pinned by a constant in wp-config.php, it refuses the write, writes nothing and says which keys and why, sometimes with a "did you mean" hint.

04

Turn page caching on or off

Page caching has its own tool, toggle_cache, because it installs or removes the cache drop-in and the WP_CACHE constant. Asking update_settings to set cache_enabled does not work and is refused. If another caching plugin owns the drop-in, the site declines to enable xSpeed and returns blocked: true with the reason.

05

Check the effect

The result of a settings write is the stored settings. A module can add a warning when a setting is saved but has no effect on this server, for example Brotli on a server without the module for it, and the agent should pass that on. run_benchmark then times cached against uncached to see whether the change helped.

06

Apply to many sites only after reading one

update_settings and toggle_cache accept site: "all" or a list of handles. Each site validates against its own schema and answers in its own row, so a module missing on one site fails that row and the others still apply. Read one site first, then apply.

05

Reference

Discoverlist_modules (read): Free and Pro modules, settings schema, status, per site
Read settingsget_settings (read): argument module; credential fields masked
Change settingsupdate_settings (write): arguments module and values; validated by the site
Bad inputThe whole write is refused and nothing is written; the error names the keys and reasons
Page cache on or offtoggle_cache (write): argument enabled; cache_enabled in update_settings is refused
Blocked by another plugintoggle_cache returns blocked: true with blocked_reason when another plugin owns the cache drop-in
Every site at onceupdate_settings and toggle_cache accept site: "all" or a list of handles, one result per site
Pro modulesA Pro module on a site without an active licence cannot be read or written; the site refuses
Credential fieldsRefused by default over MCP; set them in the xSpeed dashboard, not through the agent
Read-only connectionThe connection token with Read-only everywhere on, or a Viewer member's sign-in: update_settings and toggle_cache are refused; list_modules and get_settings still work. An OAuth sign-in gets the scopes the client asks for, read and write by default, clamped to the member's role
ConfirmationNone on the Hub; the Hub tells the agent to briefly confirm intent for these two, and your client's prompt is the gate
06

Rules worth keeping

  • Read before you write. Ask for list_modules and get_settings first, so the agent changes real keys with valid values instead of guessing.
  • update_settings and toggle_cache change how a live site behaves. They run as soon as your connection allows writes. The Hub tells the agent to briefly confirm intent first, which is guidance to the agent, so your client's approval prompt and a read-only connection (the connection token with Read-only everywhere on, or a Viewer sign-in) are the gates. The switch does not limit an OAuth sign-in.
  • For site: "all", the Hub tells the agent to confirm once with "this will touch all N sites", then make one call. The result is per site, and some sites failing is a partial result to report, not a blanket success or failure.
  • Do not ask an agent to set credentials such as a Cloudflare token or Redis password. The site refuses those writes by default, and they belong in the xSpeed dashboard.
  • If a settings result says a value is saved but inactive on this server, relay that. Do not tell the user the feature is enabled.

Good to know with Muse

Only the workspace owner can see the connection token, and one token serves every client that sends it, so turning off Read-only everywhere for Muse also lets any other client using that token write. Turn it back on when you are done with settings work. Meta does not review custom connectors, so create this one only from a request you sent yourself, and Muse is rolling out in the US first. Disconnecting later stops new access, but what Muse already read may stay in its memories.

07

More prompts for this job

They work in any client connected to xSpeed Hub.

Prompt
Use xSpeed Hub to list the modules on shop and tell me which ones are off.
Prompt
Ask xSpeed Hub for the current minify settings on blog.
Prompt
With xSpeed Hub, turn on HTML minification on blog, then benchmark the cache and tell me if it helped.
Prompt
Use xSpeed Hub to turn page caching off on staging while I debug, and tell me when it is off.
Prompt
Using xSpeed Hub, read the gzip settings on shop first, then enable the same options on every site.
Prompt
Use xSpeed Hub to set the page cache lifespan on docs to 30 days, and if the site refuses it, tell me why.
08

Frequently asked questions

The connection token Muse sends probably has Read-only everywhere on, so the Hub refuses every write tool. That is the recommended way to start. Turn the switch off on the Hub's Connect AI page when you want Muse to apply settings, and back on when you are done.

Yes, if Muse is available to you there. Muse works in its app, on muse.ai and in WhatsApp, and the same custom connector serves all three. Ask for short answers, such as one line per setting, so the reply reads well on a phone.

It calls list_modules for the site, which returns every available module with its settings schema and status, then get_settings for the one module it wants to change. The schema says which keys exist and what values each accepts.

The site refuses the whole update and writes nothing. The error names the keys it rejected and why, such as an unknown key, a value outside the allowed range, or a field fixed by a constant in wp-config.php, and it can suggest the nearest valid key.

Use toggle_cache with enabled set to true or false. It installs or removes the cache drop-in and the WP_CACHE constant. Setting cache_enabled through update_settings does not work. If another caching plugin already owns the drop-in, the site will not enable xSpeed and says why.

Yes. update_settings and toggle_cache accept site: "all", and the Hub runs the sites one after another with a one-second pause and returns a result per site. Each site checks the values against its own schema, so a site that lacks the module fails its own row while the others apply.

Not by default. Writing credential fields over MCP is off unless the site owner allows it, and the site refuses the write and names the fields. Set credentials in the xSpeed dashboard. Credential values also come back masked when an agent reads settings.

09

Keep going

Tune cache settings with other agents

More with Muse

Documentation

From the blog

Tune cache settings, from Muse.

xSpeed Hub is free and has no site cap. Connect your sites once and ask from the agent you already use.