WP Rocket MCP Server - Manage Speed Settings With an AI Assistant (2026)
WP Rocket includes an MCP server that lets AI assistants like Claude and Codex read your settings, check Rocket Insights data, clear cache and suggest changes, with your approval.
What the WP Rocket MCP Server Is
MCP, the Model Context Protocol, is an open standard that lets AI assistants connect to outside tools. WP Rocket added an MCP server in version 3.23, so a compatible assistant can work with your WP Rocket installation directly.
Instead of copying PageSpeed results into a chat and asking for advice, the assistant can read your actual settings and Rocket Insights scores, then propose specific changes. It's included in every WP Rocket license at no extra cost.
What an AI Assistant Can Do
The MCP server exposes a set of WP Rocket abilities, grouped into three areas.
| Area | What the Assistant Can Do |
|---|---|
| Settings | Read your WP Rocket options and change a setting |
| Rocket Insights | Get recommendations and scores, add or remove monitored pages and re-test them |
| Cache | Clear one URL's cache or the whole site's, and check cache status and health |
In practice, that supports requests like:
- "Which of my sites is slowest, and what's its top recommendation?"
- "Clear the cache for the pricing page and re-test it."
- "Add our new landing page to Rocket Insights."
- "Compare the settings on these two sites and tell me what differs."
- "Write a short performance report for this client."
Requirements
| Requirement | Details |
|---|---|
| WP Rocket | 3.23 or later with an active license; 3.23.1 or later for connecting Claude with OAuth |
| WordPress | 6.9 or later, which includes the Abilities API in core |
| MCP Adapter plugin | A free plugin from WordPress.org, required on WP Rocket 3.24 or later |
| Account | An administrator account on the site |
| AI client | Claude, Codex or another assistant that supports MCP |
Check WP Rocket's documentation before setting up, as requirements may change between versions.
How to Connect Claude
WP Rocket's guides describe connecting Claude through a custom connector using OAuth.
Check requirements
Update WordPress and WP Rocket, and install the MCP Adapter plugin if your WP Rocket version needs it.
Add a custom connector in Claude
In Claude's connector settings, add a custom connector and give it a name, such as your site's name.
Enter your site's MCP URL
Use your domain followed by the OAuth endpoint path from WP Rocket's guide.
Leave client ID and secret empty
Then add and connect.
Approve access in WordPress
Sign in as an administrator on the authorization screen and approve.
Test with a read-only question
Ask the assistant which WP Rocket abilities it can use, or for your Rocket Insights score.
Claude's plans differ in how many custom connectors you can add, so connecting several sites may need a paid plan.
How to Connect Codex and Other Clients
For Codex, Cursor and clients without built-in remote connector support, WP Rocket's guides use a small proxy package run through npx, a second endpoint on your site and a WordPress application password. You create the application password in your WordPress user profile, then add it with your site URL and username to the client's MCP configuration.
To manage several sites, add one server entry per site with a different name and URL.
Using It Safely
An assistant that can change settings and clear cache deserves the same care as a new team member with admin access.
- Review proposed changes. WP Rocket says the assistant shows proposed changes and waits for your approval. Read them before approving.
- Start on staging. Test the connection and a few changes on a staging copy first.
- Make one change at a time. Ask the assistant to change a single setting, then test the page, just as you would by hand.
- Use a dedicated application password. Name it clearly so you can revoke it without affecting other integrations.
- Revoke when finished. Remove the connector or revoke the application password if you no longer use it.
- Keep a settings export. Export WP Rocket's settings before a session so you can roll back easily.
A Worked Example: Fixing a Regression
An agency's weekly check finds that one client's homepage score dropped. They ask the assistant to compare the homepage's Rocket Insights indicators with last week's notes.
The assistant reports that LCP rose and recommends enabling a feature that was switched off during a recent theme update. It proposes the change, the account manager approves, the assistant clears the homepage cache and re-tests, and the indicators recover. The whole loop happens in one conversation instead of four browser tabs.
Example Prompts That Work Well
Clear, specific prompts get better results. These are examples of requests matched to the abilities the server exposes.
| Task | Example Prompt |
|---|---|
| Health check | "Check the cache status and cache health for this site and summarize any problems." |
| Prioritizing | "Get the Rocket Insights recommendations and rank them by likely impact for our homepage." |
| Monitoring | "Add /pricing/ and /features/ to Rocket Insights and run a test on both." |
| After an update | "Clear the whole site's cache, then re-test our monitored pages and tell me what changed." |
| Settings review | "List our current WP Rocket options and point out anything that's switched off but recommended." |
| Reporting | "Write a short client summary of this month's scores for our tracked pages." |
Ask the assistant to explain each proposed change before approving it. If it suggests enabling Delay JavaScript or Remove Unused CSS, ask which pages to check afterwards.
Agency Workflows
For agencies, the MCP server turns repetitive checks into a routine you can run across clients.
Weekly portfolio check
Ask for every connected site's Rocket Insights score and flag any that dropped.
Rolling out a configuration
Compare a tested site's options with another site's, then apply the differences one at a time.
Launch checklist
When a client launches a page, add it to monitoring, clear cache and run a first test.
Client reports
Turn scores and changes into a plain-language summary for clients.
Keep one connection per client site, with clearly named application passwords, so you can revoke access per client. See WP Rocket for agencies.
MCP vs WP-CLI and the Dashboard
WP Rocket can also be managed from the dashboard and, for developers, from the command line with a separate WP-CLI package. Each suits different jobs.
| Method | Best For |
|---|---|
| WP Rocket dashboard | Hands-on configuration and visual checks |
| WP-CLI package | Scripted cache clears and settings import in deployments |
| MCP server | Conversational diagnosis, prioritizing fixes and multi-site reporting |
The MCP server doesn't replace testing your pages in a browser. It speeds up the diagnosis and the clicking, not the judgment.
Limitations
- WP Rocket scope. The abilities cover WP Rocket settings, Rocket Insights and cache. Fixing a heavy plugin or theme still needs work outside WP Rocket.
- Lab data. Rocket Insights scores are lab tests. Confirm real-user results in Search Console. See field data vs lab data.
- Requirements. Older WordPress versions without the Abilities API can't use it.
- Judgment still matters. An assistant can suggest enabling Delay JavaScript, but you still need to check the page visually.
WP Rocket MCP Server FAQ
Does the WP Rocket MCP server cost extra?
No. WP Rocket says MCP access is included in all licenses.
Which AI assistants work with it?
Claude, Codex and other assistants that support the Model Context Protocol.
Can the AI change my settings without asking?
WP Rocket says the assistant shows proposed changes and waits for your approval before applying them.
What WordPress version do I need?
WordPress 6.9 or later, because the MCP server relies on the Abilities API in core.