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

Illustration for What an AI Assistant Can Do on the WP Rocket MCP Server page, showing a server diagram

The MCP server exposes a set of WP Rocket abilities, grouped into three areas.

WP Rocket MCP abilities
AreaWhat the Assistant Can Do
SettingsRead your WP Rocket options and change a setting
Rocket InsightsGet recommendations and scores, add or remove monitored pages and re-test them
CacheClear one URL's cache or the whole site's, and check cache status and health

In practice, that supports requests like:

Requirements

What you need before connecting
RequirementDetails
WP Rocket3.23 or later with an active license; 3.23.1 or later for connecting Claude with OAuth
WordPress6.9 or later, which includes the Abilities API in core
MCP Adapter pluginA free plugin from WordPress.org, required on WP Rocket 3.24 or later
AccountAn administrator account on the site
AI clientClaude, 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.

  1. Check requirements

    Update WordPress and WP Rocket, and install the MCP Adapter plugin if your WP Rocket version needs it.

  2. 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.

  3. Enter your site's MCP URL

    Use your domain followed by the OAuth endpoint path from WP Rocket's guide.

  4. Leave client ID and secret empty

    Then add and connect.

  5. Approve access in WordPress

    Sign in as an administrator on the authorization screen and approve.

  6. 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

Illustration for How to Connect Codex and Other Clients on the WP Rocket MCP Server page, showing a code diagram

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.

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

Illustration for Example Prompts That Work Well on the WP Rocket MCP Server page, showing a server diagram

Clear, specific prompts get better results. These are examples of requests matched to the abilities the server exposes.

Example prompts by task
TaskExample 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.

Ways to manage WP Rocket
MethodBest For
WP Rocket dashboardHands-on configuration and visual checks
WP-CLI packageScripted cache clears and settings import in deployments
MCP serverConversational 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 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.