How Manus handles this
Manus takes a task from request to finished result, so a purge rarely arrives on its own. You hand it the release notes for a plugin update that went out to all your sites and ask it to check each changelog page, then clear the stale copies. It works through the steps, and when it reaches the cache it calls list_sites, then purge_cache with the type that fits, and folds the results into its final report. Name xSpeed Hub in the task, because Manus uses a custom server when the prompt mentions it.
The server was added under Settings, Integrations, Custom MCP Servers with the Hub's address and the connection token as the Bearer token, and Manus checked that it could read the tool list. For this job the token has to allow writes, so Read-only everywhere must be off on the Connect AI page. Each purge returns the plugin's report: the type, the site, how many entries were cleared, and for a purge of type all the object cache and a connected Cloudflare edge as well. A task that purges several sites can use one call with every site, and the Hub returns a result per site.
Manus's custom MCP documentation describes no per-tool approval setting, and xSpeed Hub has no confirmation step of its own, so a purge runs once Manus calls it. The Hub tells Manus to confirm the target site and to ask once before a write that touches every site, and that is guidance to the model, not a lock. The practical gate is the task itself: write ask me before you purge into it, and Manus brings the plan back to you before it clears anything.
Set up Manus once
Already connected? Skip to the prompts. Alternatives and troubleshooting are on the Manus 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, open Connect AI and copy the connection token. If Manus will only report, turn on Read-only everywhere so the Hub refuses every write tool on that token.
xSpeed Hub > Connect AI > connection token
3Add xSpeed Hub as a custom MCP server
In Manus, open Settings, then Integrations, then Custom MCP Servers, and click Add Server. Name it xSpeed Hub, enter this as the server URL, and enter the connection token as the Bearer token in the authentication field.
https://app.xspeedcache.com/xspeed/mcp
4Let Manus test it, then name it in a task
Manus checks that it can reach the server and read its list of tools. Then start a task that names xSpeed Hub, so Manus uses this server.
Use xSpeed Hub to list my sites and tell me which ones have page caching turned off.
Full Manus 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. Manus's custom MCP documentation describes no per-tool approval setting for a custom server, and its scheduled tasks offer a skip confirmations option that lets Manus act without asking each time. xSpeed Hub has no confirmation step of its own, so a write runs as soon as Manus calls it and your connection allows writes. The Hub tells the agent to confirm the target site and to ask once before a write that touches every site, but that is an instruction. The firm stop is the token: with Read-only everywhere on, the Hub refuses every write tool. Keep it on for scheduled work, and leave skip confirmations off for any task that may write.
What do I ask?
Three prompts written for Manus. More for this job are below.
Use xSpeed Hub to purge the page cache on every site after the plugin update, and give me one line per site. Ask me once before you start.
With xSpeed Hub, check the changelog page on docs, then purge only the page cache on that site.
Ask xSpeed Hub for the cache status of shop, then propose a purge type for my theme change and wait for my yes.
What happens, step by step
A purge throws away stored copies so the next visitor gets a fresh page. Through xSpeed Hub an agent can purge everything, only pages, only CSS and JavaScript assets, the object cache or the REST cache, on one site or across every site in a workspace. A full purge also clears the Cloudflare edge when the site has Cloudflare connected.
01
Find the site
The agent calls list_sites when you have more than one site, then matches the name you used to a site handle. If the name could mean two sites, the Hub tells it to ask you rather than guess.
02
Pick the purge type
purge_cache takes a type: all, page, assets, object or rest. all clears the page cache, the object cache and, when they are connected, the Cloudflare edge and CDN. After a theme or CSS change, assets is enough; after a content edit, page; after a deploy, all.
03
Purge
The call runs straight away on that site once your connection allows writes. For every site at once the agent passes site: "all", and the Hub runs the sites one after another with a one-second pause.
04
Clear only the edge if that is all you need
purge_cloudflare empties the Cloudflare edge cache on its own, without touching the copies on your server. A page or assets purge does not reach Cloudflare; a purge of type all does when Cloudflare is connected.
05
Warm it again
start_preloader rebuilds the cache in the background so the first visitors after the purge are not the ones paying for it.
Reference
| Tool | purge_cache (write) |
|---|---|
| Purge types | all, page, assets, object, rest |
| What all covers | Page cache, object cache, plus the Cloudflare edge and CDN when connected |
| Every site at once | site: "all" or a list of handles, one result per site |
| Fan-out pacing | Sites run one after another with a 1 second pause |
| Edge only | purge_cloudflare, a separate write tool |
| Re-warm | start_preloader after the purge |
| Read-only access | purge_cache is refused on a connection token with Read-only everywhere on, and for a Viewer sign-in |
| Confirmation | None on the Hub; your client's prompt is the gate |
Rules worth keeping
- Name the site. With several sites, an unclear name should make the agent ask, and the Hub tells it to.
- A purge of every site is one call with site: "all". The Hub tells the agent to confirm it with you once before it runs.
- Purge the narrowest type that fixes the problem, then warm the cache, so visitors do not all hit uncached pages at once.
- A fan-out result is reported per site. Treat some sites failing as a partial result, not a failure of the whole call.
Good to know with Manus
Keep purges out of scheduled tasks. They run unattended, and Scheduled Tasks 2.0 has a skip confirmations option that lets Manus act without checking with you, so a recurring task with a write-capable token could purge every week with nobody reading the result first. The Read-only everywhere switch covers the whole connection token, so the token you use for releases is the same one a scheduled task would send: if it allows writes, any task that names xSpeed Hub can purge. Turn the switch on while you are not releasing if Manus mostly reports. Treat the token as a key to every site in the workspace, keep it out of chat messages, and rotate it on the Connect AI page if it leaks, which also cuts off any other client that sends it.
More prompts for this job
They work in any client connected to xSpeed Hub.
Use xSpeed Hub to purge the page cache on blog.
I just changed the theme CSS on shop. Use xSpeed Hub to purge only the assets cache there.
With xSpeed Hub, purge every site in my workspace and tell me which ones failed.
Use xSpeed Hub to purge shop, then purge its Cloudflare edge cache too.
With xSpeed Hub, purge the docs site and start the preloader so it is warm again.
Using xSpeed Hub, what purge type should I use after updating a plugin that changes the checkout page?
Frequently asked questions
Keep going
Purge the cache with other agents
More with Manus
Documentation
- How to enable Page Cache
- How to warm your cache ahead of visitors
- Managing your fleet with xSpeed Hub
- How to write prompts for xSpeed Hub
- Manus + xSpeed
- Every AI agent that works with xSpeed
From the blog