Turn on WP Rocket MCP Server and AI tools such as Claude clear the cache and change settings instead of you opening the admin screen. MCP is a connection standard that lets AI tools work with programs directly, and this guide covers how to connect and disconnect with an application password and the 12 abilities it opens.
WP Rocket MCP Server sits at the top of the [Settings → WP Rocket → Tools] tab, labeled [Connect your AI tool to WP Rocket]. There is no on/off switch, and the [How to set up MCP] button opens the help docs.
It has been included in every license since WP Rocket 3.23 (July 9, 2026), and the MCP server opens whenever WP Rocket is active. It registers 12 abilities with the Abilities API, part of WordPress core since 6.9, and the MCP Adapter is bundled in the plugin, so there is nothing else to install.
2️⃣ How to Connect WP Rocket MCP Server
The simplest way is an OAuth connection that adds your site to Claude as a custom connector; it needs only WordPress admin approval, with no password or config file. The steps are the same in claude.ai on the web and in Claude Desktop.
In Claude [Customize → Connectors], click [Add → Add custom connector].
Enter your site name as the name and [https://your-domain/wp-json/mcp/mcp-oauth-server] as the MCP server URL, then click [Continue].
Leave the authentication method at the detected default, click [Add], then click [Connect].
Click [Allow] on the WordPress authorization screen. If you are not logged in as an admin, log in first.
Once connected, the connector screen shows three tools, all set to [Needs approval] by default. A free account can create only one custom connector, so only one site can be connected; multiple sites require a Pro or Max account.
When you ask in a new chat which MCP tools are available on your site, Claude first asks [Deny · Always allow · Allow once] before using a tool.
In Claude Desktop you can also connect with an application password. Create a password in WordPress [Users → Profile → Application Passwords], and in Claude Desktop [Settings → Developer], add the entry below to the config file, then reopen the app.
On Windows you need Node.js because the npx command must run. To disconnect, just revoke that application password.
3️⃣ What AI Tools Can Do
WP Rocket's 12 abilities run through the three MCP tools Claude sees ([Discover Abilities], [Get Ability Info], [Execute Ability]), and they fall into three groups: settings, cache and Rocket Insights.
🤖 12 WP Rocket MCP abilities6 read · 6 change
⚙️ Settings2
Read setting valuesRead
wp-rocket/get-options
Change a setting valueChange
wp-rocket/set-option
🗂️ Cache4
Clear the entire site cacheChange
wp-rocket/clear-website-cache
Clear the cache for given URLsChange
wp-rocket/clear-url-cache
Check a URL's cache statusRead
wp-rocket/get-cache-status
Preload progress and estimated remaining URLsRead
wp-rocket/get-cache-health
📊 Rocket Insights6
Read Rocket Insights scoresRead
wp-rocket/get-insights-scores
Read one page's Rocket Insights scoreRead
wp-rocket/get-page-insights-score
Read Rocket Insights recommendationsRead
wp-rocket/get-recommendations
Add a page to test in Rocket InsightsChange
wp-rocket/add-page-insights
Remove a page from Rocket InsightsChange
wp-rocket/remove-page-insights
Retest a pageChange
wp-rocket/retest-page-insights
Changing settings works only for options on the allowlist, and the five marked [AI not allowed] in the screen below cannot be changed.
🤖 WP Rocket settings AI can change5 not allowed for AI
Dashboard
My AccountMy Account
Rocket AnalyticsRocket AnalyticsAI not allowed
Rocket Insights
SettingsSettings
Performance MonitoringPerformance monitoringAI can change
Content Delivery
RocketCDN
RocketCDN FreeRocketCDN FreeAI not allowed
Other CDN
Your CDNUse another CDNAI can change
Exclude Files from CDNFiles to exclude from the CDNAI can change
File Optimization
CSS FilesCSS files
Minify CSS filesMinify CSS filesAI can change
Excluded CSS FilesExcluded CSS filesAI can change
Optimize CSS DeliveryOptimize CSS deliveryAI can change
Only the Remove Unused CSS method can be changed.
Remove unused CSSAI can change
CSS safelistCSS safelistAI can change
JavaScript FilesJavaScript files
Minify JavaScript filesMinify JavaScript filesAI can change
Combine JavaScript filesCombine JavaScript filesAI not allowed
Excluded JavaScript FilesExcluded JavaScript filesAI can change
Load JavaScript deferredLoad JavaScript deferredAI can change
Excluded JavaScript FilesExcluded JavaScript filesAI can change
Delay JavaScript executionDelay JavaScript executionAI can change
One-click exclusionsOne-click exclusionsAI not allowed
Excluded JavaScript FilesExcluded JavaScript filesAI can change
Safe Mode for Delay JavaScript ExecutionSafe mode for delayed JavaScript executionAI not allowed
Media
LazyLoadDeferred loading
Enable for imagesEnable for imagesAI can change
Enable for CSS background imagesEnable for CSS background imagesAI can change
Enable for iframes and videosEnable for iframes and videosAI can change
Replace YouTube iframe with preview imageReplace YouTube iframe with preview imageAI can change
Excluded images or iframesExcluded images or iframesAI can change
Image DimensionsImage dimensions
Add missing image dimensionsAdd missing image dimensionsAI can change
FontsFonts
Preload fontsFonts (preload)AI can change
Self-host Google FontsSelf-host Google FontsAI can change
Preload
Preload CacheCache preload
Activate PreloadingActivate preloadingAI can change
Exclude URLsExclude URLsAI can change
Preload LinksLink preloading
Enable link preloadingEnable link preloadingAI can change
Advanced Rules
Cache LifespanCache lifespan
Clear cache afterClear cache afterAI can change
Never Cache URL(s)Never cache URL(s)
Never Cache URL(s)Never cache URL(s)AI can change
Never Cache CookiesNever cache cookies
Never Cache CookiesNever cache cookiesAI can change
Never Cache User Agent(s)Never cache user agent(s)
Never Cache User Agent(s)Never cache user agent(s)AI can change
Always Purge URL(s)Always purge URL(s)
Always Purge URL(s)Always purge URL(s)AI can change
Cache Query String(s)Cache query string(s)
Cache Query String(s)Cache query string(s)AI can change
Database
Post CleanupPost cleanup — applies to revisions, auto drafts and trashed posts.
RevisionsRevisionsAI can change
Auto DraftsAuto draftsAI can change
Trashed PostsTrashed postsAI can change
Comments CleanupComment cleanup — deletes spam and deleted comments.
Spam CommentsSpam commentsAI can change
Trashed CommentsDeleted commentsAI can change
Transients CleanupTransients cleanup — clears all transients stored in the DB.
All transientsAll transientsAI can change
Database CleanupDatabase cleanup
Optimize TablesOptimize tablesAI can change
Automatic CleanupAutomatic cleanup
Schedule Automatic CleanupSchedule automatic cleanupAI can change
FrequencyFrequencyAI can change
Heartbeat
Heartbeat
Control HeartbeatControl HeartbeatAI can change
Reduce or disable Heartbeat activityReduce or disable Heartbeat activity
Behavior in backendBehavior in backendAI can change
Behavior in post editorBehavior in post editorAI can change
Behavior in frontendBehavior in frontendAI can change
Add-ons
One-click Rocket Add-onsOne-click Rocket add-ons
User CacheUser cacheAI can change
VarnishAI can change
WebP CompatibilityWebP compatibilityAI can change
Rocket Add-onsRocket add-ons
CloudflareAI can change
SucuriAI can change
4️⃣ Examples
After connecting to testpilotweb.com, we asked Claude to [clear only the homepage cache], and the approval prompt first showed the ability to run (wp-rocket/clear-url-cache) and the URL.
When we clicked [Allow once], only the homepage cache files were deleted on the server, and the cache of other posts stayed as it was.
You can check settings by asking, without opening the admin screen; when we asked [Is Delay JavaScript execution on right now?], it answered with the setting value and the state of the exclusion list.
The first time you use it in a chat, two approval prompts for reading the ability list and descriptions appear first, and since reading abilities also go through [Execute Ability], an approval prompt appears even when reading settings.
5️⃣ Things to Watch Out For
Tasks where an AI tool changes settings or clears the cache run only after you approve them. You can revoke the application password anytime from the screen where you created it.
Cache status checks and preload estimates return results only when WP Rocket's [Preload Cache] is on.
If it will not connect, check the config file first. Common causes are a missing comma between entries, or saving without replacing the URL, username and password placeholders.
🧭WP Rocket and Perfmatters related posts7 posts · 3 tools
🗂️ WordPress
📋 WP Rocket settings guide📄 Perfmatters guide📄 WP Rocket With Perfmatters📄 WP Rocket MCP Server
📄 WP Rocket speed test📄 Cache and optimization plugins📄 Speed improvement case
🛠️ WordPress Detection🛠️ Whois Domain Lookup🛠️ Check My IP Address
ℹ️ Affiliate Disclosure This site's content contains affiliate links. When a visitor buys a product or service through one of them, the site receives a commission from the seller. The amount the buyer pays(it goes down during event discounts ↓)does not go up. Posted prices, discounts, and stock reflect the time of writing and may differ, so confirm with the seller before buying. Products are chosen and reviewed by our own standards, and commissions do not affect the order or content of reviews.
핑백과 트랙백은 내 워드프레스 콘텐츠를 다른 웹사이트에 알리는 기술입니다. 하지만 두 가지 기능은 많은 단점을 가지고 있습니다. 워드프레스 핑백과 트랙백을 사용했을 경우 장점과 치명적인 단점에 대해 알아 보겠습니다. 워드프레스 홈페이지 활용 팁 핑백과 트백백 기능과 어떤 점에서 다른지와 미사용 방법과 왜 사용을 지양하는지 알아 보겠습니다. 1. 워드프레스 트랙백이란? 트랙백은 콘텐츠에서 링크를 만들 때…
워드프레스는 전 세계에서 2023년 63%의 시장 점유율을 가지고 있는 콘텐츠 관리 시스템(CMS)입니다. 워드프레스로 운영되는 웹 사이트가 많은 만큼 해킹 시도 역시 그만큼 많은 것이 사실입니다. 워드프레스 해킹 위협에서 벗어나기 위해 워드프레스 보안 플러그인은 필수라고 할 수 있습니다. 워드프레스 보안 설정을 위한 대표적인 워드프레스 베스트 보안 플러그인은 어떤 것이 있는지 알아 보도록 하겠습니다. 워드프레스…
Node.js는 Chrome V8JavaScript 엔진 기반 JavaScript 런타임입니다. 보통 기존 JavaScript보다 Node.js를 사용할 경우 웹 사이트의 속도가 빠른 것으로 생각할 수 있으며, 사용 중인 호스팅에서 cPanel Nodejs를 지원할 경우 설정하는 방법에 대해 알아 보겠습니다. Node.js는 오픈 소스 Javascript 런타임 환경으로, 웹 호스팅 서버에서 클라이언트의 웹 브라우저 대신 Javascript 코드를 실행시키기 위해 사용됩니다. Node.js는 웹 페이지의…
해외에서 매니지드 워드프레스 호스팅을 사용하는 분들이 늘어나고 있습니다. 이번에는 가성비 해외 호스팅 업체 중 호스팅어Hostinger와 네임칩NameCheap 2군데를 비교해 보겠습니다. 호스팅과 도메인 가격, 서비스 등의 전반적인 내용을 위주로 비교해 보겠습니다. 어느 정도 웹 사이트의 트래픽이 발생해서 국내에서 대역폭으로 고민하는 경우 클라우드플레어 무료CDN과 함께 사용한다면 사용 중인 국내 호스팅 업체의 서버 업데이트를 통한 비용과 비슷한…
워드프레스 반응형 스타일은 7.1부터 들어온 기능입니다. 예전에는 편집기의 데스크톱·태블릿·모바일 버튼이 화면 폭만 바꿨지만, 이제는 그 상태에서 만진 글자 크기와 여백이 해당 기기에서만 적용됩니다. 1️⃣ 워드프레스 반응형 스타일: 이해 및 변경점 워드프레스 편집기 위쪽에는 모니터 모양 아이콘이 있고, 누르면 데스크톱·태블릿·모바일이 나옵니다. 지금까지 이 버튼은 편집 화면의 폭만 좁혔다 넓혔다 하는 역할이었습니다. 모바일로 바꿔 봐야…
워드프레스 호스팅 중 RocketNet은 속도와 안정성을 중시하는 개발자형 관리형 호스팅 서비스로, 캐시·보안·CDN 기능을 기본 제공하며 별도의 설정 없이 빠른 환경을 구축할 수 있습니다. 엔터프라이즈 호스팅을 제외한 관리형 호스팅 및 에이전시 호스팅은 첫 달 $1로 할인과 1년 결제 시에도 30일 환불 정책이 있기 때문에 가입 후 충분히 검토 후에 연장 여부를 검토할 수 있습니다….