# AI-Managed WordPress Performance — xSpeed Cache MCP

> Performance tuning is expertise plus iteration — exactly what AI agents are good at. Every xSpeed Cache install speaks MCP, so Claude or ChatGPT can benchmark your site, change real settings, warm the cache, and re-test until the score says 100.

Page: https://xspeedcache.com/use-cases/ai-agents/

## The problems

- **Settings pages assume you’re an engineer** — Defer which scripts? Exclude which cookies? Every caching plugin ships expert-level questions to non-expert users — and wrong answers look like a broken site.
- **Optimization is not one-and-done** — Every plugin update, theme change, and new page can shift performance. Nobody re-tunes by hand every week — so sites quietly regress.
- **AI tools can advise but not act** — ChatGPT can tell you what to change; without a real connection to the site, you are still the one clicking through settings pages.

## How the agent connection works

- **Built-in MCP server** — Every xSpeed Cache install exposes its own MCP endpoint. Claude, ChatGPT, or any MCP client connects directly — no middleware, no extra plugin. Guide: https://xspeedcache.com/docs/mcp-server-setup
- **xSpeed Hub — one connection, every site** — Link your AI to the Hub once and it reaches your whole fleet: benchmark all sites, fix the slow ones, report back — from a single conversation. Guide: https://xspeedcache.com/docs/connecting-to-xspeed-hub
- **The full tool surface** — run_benchmark, update_settings, purge_cache, start_preloader, optimize_site and more — every CLI command is a tool your agent can call. Guide: https://xspeedcache.com/docs/mcp-tool-reference
- **One-command optimization** — optimize_site runs the whole loop — benchmark, tune, warm, re-test — as a single call. "Make it fast" is now a literal instruction. Guide: https://xspeedcache.com/docs/one-command-site-optimization
- **Scoped connections** — Per-site access levels, read-only credentials, denied tools. Give an agent exactly the power you mean to — and nothing more. Guide: https://xspeedcache.com/docs/hub-connection-scopes
- **AI privacy & GDPR mode** — One switch that every AI feature checks before recording visitor data. Agent-era convenience without a compliance surprise. Guide: https://xspeedcache.com/docs/ai-privacy-and-gdpr-mode

## 6 ways people put xSpeed to work

### “Make it fast” — literally (Site owners)

You know your site is slow. You do not want to learn what TTFB stands for to fix it.

- When: Any time. This is the front door of the whole product.
- Setup: Connect Claude or ChatGPT and say it. optimize_site runs benchmark → tune → warm → re-test as one loop and reports the score.

### A weekly tune-up you never think about (Site owners)

Sites regress quietly — a new plugin here, a heavier page there. Nobody re-tunes by hand every week.

- When: On a schedule your assistant keeps, not one you keep.
- Setup: Ask your AI to benchmark weekly and fix regressions; score history shows the trend it is defending.

### Purge and warm from your deploy pipeline (Developers)

Every deploy leaves stale cache behind, and clicking “purge” after every release is a chore that gets skipped.

- When: CI finishes a deploy.
- Setup: Call purge_cache and start_preloader via MCP or WP-CLI from the pipeline — fresh cache, pre-warmed, no human step.

### Start the AI in read-only mode (Cautious adopters)

Letting software change production settings on day one is a reasonable thing to refuse.

- When: You want the diagnosis before you grant the treatment.
- Setup: Scoped connections support read-only credentials: the agent benchmarks and recommends; you click apply. Widen access when it earns it.

### Triage thirty sites in one conversation (Agencies)

Fleet problems arrive all at once; fleet fixes usually do not.

- When: Several sites drift below target, or a fleet-wide audit is due.
- Setup: One Hub connection reaches every site: list them, benchmark them all, fix the stragglers, get one report back.

### Adopt AI features without a GDPR surprise (Compliance-minded)

Legal asks one question: what visitor data does the AI see?

- When: Before enabling AI features on an EU-facing site.
- Setup: AI privacy & GDPR mode is one switch every AI feature checks before recording visitor data — and it defaults to caution.

## Copy-paste AI prompts

Connect via xSpeed MCP (https://xspeedcache.com/docs/mcp-server-setup) or xSpeed Hub, then paste:

### The one-liner

```
Using xSpeed, make this site score 100 on PageSpeed. Benchmark first, change whatever settings you need, warm the cache, re-test, and show me exactly what you changed.
```

### The standing order

```
Every Monday, using xSpeed, benchmark my site. If the score dropped below 90, find out what changed, fix it, and summarise what you did. If everything is fine, just tell me the score.
```

### The cautious start

```
Using xSpeed in read-only mode, benchmark my site and give me a prioritised list of what you would change and why — but change nothing yet. I’ll approve the list before you apply it.
```

## Industry stories

- [SaaS & startup sites](https://xspeedcache.com/use-cases/for/saas-startups/) — Your product is fast. Your marketing site tells on you.

## FAQ

### Which AI assistants work with xSpeed Cache?

Anything that speaks MCP (Model Context Protocol) — including Claude and ChatGPT. Connect a single site to its own MCP endpoint, or connect once to xSpeed Hub and reach every site in your account.

### Is it safe to let an AI change my caching settings?

You control the blast radius. Connections are scoped: read-only credentials, per-site access levels, and specific denied tools are all supported, and every change lands in the activity log. Start read-only if you like, and widen access as you build trust.

### What can the AI actually do — concretely?

Run benchmarks, enable or tune every setting, purge and warm the cache, connect and test the object cache, manage Cloudflare, and run the one-command optimize loop. The MCP tool reference documents every tool it can call.

### Do I need the AI features to use xSpeed Cache?

No. The plugin is a complete caching and optimization toolkit on its own, and the MCP server ships free — the AI connection is there when you want it, invisible when you don’t.

## More

- [All use cases](https://xspeedcache.com/use-cases/index.md)
- [Pricing](https://xspeedcache.com/pricing/index.md)
- [Free plugin](https://wordpress.org/plugins/xspeed/)
