How Manus handles this
Manus is built for the task you would hand to an assistant: review PageSpeed across all my sites and write me a one-page summary. Name xSpeed Hub in the task, so Manus uses the custom MCP server you added under Settings, Integrations. It lists your sites, reads get_score_history for each one and compares the newest mobile and desktop runs with the previous ones, with score, LCP, CLS and TBT. Then it writes the summary as a document, which is what Manus adds over a chat answer.
Set a limit on fresh tests in the task itself. run_speed_test is a PageSpeed Insights run from the Hub, one site and one device per call, up to about two minutes each, and every run spends a shared allowance. A review of ten sites on both devices would be twenty runs, so write something like "retest at most three sites, mobile only". The fresh results go to the Hub's own report history on the Reports tab, and get_score_history may not show them. If you want a cache check alongside, run_benchmark can time every site cached and uncached in one call, with no Lighthouse score.
For a weekly version, use a Manus scheduled task. It runs unattended on a timetable and can use the Hub server, but the Hub does not run PageSpeed tests on a timer, so the scheduled task should read history and report rather than test. Keep the retest step for a task you start and can watch.
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 review PageSpeed across all my sites, retest at most three on mobile, and write a one-page summary.
With xSpeed Hub, build a table of the latest mobile and desktop scores per site, with the date of each run.
Every Monday at 8:00, use xSpeed Hub to read the PageSpeed history for every site and report drops. Do not run tests.
What happens, step by step
PageSpeed Insights is Google's Lighthouse audit, and its score and Core Web Vitals are the numbers most people mean by "my speed". Through xSpeed Hub an agent can read the scores a site has already stored, run a new PageSpeed test on mobile or desktop, and read or run a separate benchmark of cached against uncached response time. The three answer different questions, and the Hub tells the agent which to use for each.
01
Read before you test
get_score_history returns the stored PageSpeed Insights and GTmetrix runs for a site: the score per run, with LCP, FCP, CLS, TBT, Speed Index and TTFB, mobile and desktop. It starts nothing. The Hub tells the agent to use it whenever you ask what your score is, or whether it improved, because a new test spends a shared allowance.
02
Run a new test when you need one
run_speed_test runs a real PageSpeed Insights audit on the site from the Hub and returns the score, the Core Web Vitals and the top opportunities. strategy is mobile (the default) or desktop, and one call tests one of them. It can take up to about 2 minutes, so the agent should say it is running before it calls.
03
Test the other device
Mobile and desktop scores differ, often by a lot. For both, the agent makes two calls, one per strategy. A failure is reported with its reason: PageSpeed not configured, quota reached, a timeout, or a site the audit cannot reach.
04
Measure the cache on its own
run_benchmark times the home page with the cache bypassed and again served from cache, and returns the response times. It is a read tool, and it accepts site: "all" for every site. It does not return a Lighthouse score, so the agent must not use it to answer a PageSpeed question.
05
Compare over time
get_benchmark_history returns past benchmark runs, uncached against cached, together with the settings changes on the same timeline, which is how you answer "did that change help?". For PageSpeed scores over time, use get_score_history.
Reference
| Read stored scores | get_score_history (read): PageSpeed Insights and GTmetrix runs, starts nothing |
|---|---|
| Metrics per run | Score, LCP, FCP, CLS, TBT, Speed Index, TTFB, for mobile and desktop |
| Run a new test | run_speed_test (write, uses the shared allowance): one PageSpeed Insights run per call |
| strategy | mobile (default) or desktop |
| Duration | Up to about 2 minutes per run |
| Why a test is a write | It spends a shared PageSpeed allowance and stores a report; it changes nothing on the site |
| Read-only access | A connection token with Read-only everywhere on, or a Viewer member's sign-in: run_speed_test is refused; get_score_history, run_benchmark and get_benchmark_history still work. An OAuth sign-in gets the scopes the client asks for |
| Benchmark | run_benchmark (read): cached against uncached response time for the home page, no Lighthouse score |
| Benchmark history | get_benchmark_history (read): past runs plus settings changes on the same timeline |
| Scheduling | The Hub does not schedule PageSpeed tests itself; its daily pass only reads reports the plugin already stored |
| Where a new test is stored | In the Hub's own report history, the one the Hub dashboard shows |
Rules worth keeping
- Check the history first. Ask for stored scores before starting a test, and run a new one only when you want a fresh measurement or something changed.
- Never answer a PageSpeed or Lighthouse question with run_benchmark. It times your own cache and carries no score.
- run_speed_test changes nothing on your site, but the Hub classes it a write because it spends a shared allowance. A connection token with Read-only everywhere on, or a Viewer sign-in, refuses it. An OAuth sign-in gets the scopes the client asks for, so there your client's approval prompt is the gate.
- Lab scores move a few points between runs of the same page. The agent should compare like with like, same site, same strategy, and not report one run's difference as a trend.
- A new test does not run on a timer. If you want a regular test, the agent has to be started by something else, such as a scheduled job in your client, and a scheduled run that spends the allowance should be one you are comfortable leaving unattended.
Good to know with Manus
Manus describes no per-tool approval setting for a custom MCP server, and xSpeed Hub has no confirmation step of its own, so once Manus decides a retest is useful, run_speed_test runs as soon as your connection allows writes. The limit you write in the task is the main control in a live run. Scheduled tasks need more care: Manus offers a skip confirmations option there that lets it act without asking, so leave it off, use the Test run option with the same history-only prompt, and send the scheduled task through a connection token with Read-only everywhere on. The Hub then refuses run_speed_test while get_score_history and run_benchmark still work. The token reaches every site in the workspace, so keep it out of task text and rotate it on the Connect AI page if it leaks.
More prompts for this job
They work in any client connected to xSpeed Hub.
Using xSpeed Hub, what is the mobile PageSpeed score for shop? Check the stored history before you run anything.
Use xSpeed Hub to run a new mobile PageSpeed test on blog and tell me the score, LCP and the top opportunities.
With xSpeed Hub, test shop on desktop and mobile and tell me which one is worse.
Using xSpeed Hub, has the PageSpeed score on docs improved over the last few runs?
Use xSpeed Hub to benchmark the cache on every site and tell me which one saves the least time.
Did turning on minification on shop help? Use xSpeed Hub to compare the benchmark history around that change.
My PageSpeed test failed on staging. Use xSpeed Hub to tell me why.
Frequently asked questions
Keep going
Track PageSpeed scores with other agents
More with Manus
Documentation
- How to run a speed test
- PageSpeed Insights integration
- Running speed tests in xSpeed Hub
- How to run a PageSpeed audit
- How to write prompts for xSpeed Hub
- Manus + xSpeed
- Every AI agent that works with xSpeed
From the blog
- Reading a PageSpeed Report in 2026: 30% of the Score Is a Metric Google Does Not Rank You On
- 45% of the WordPress Sites Our Scan Calls Clean Are Failing Google in 2026: Lab Scores Against Field Data
- The Same Page Scored 61 and 73 Twelve Minutes Apart: How to Benchmark WordPress Caching Plugins in 2026