# Grok Bot + xSpeed: Manage WordPress Caching

> Grok Bot is xAI's product for named AI Bots that keep their context and work on a persistent cloud computer, and with xSpeed Hub added as a remote MCP server a Bot can read cache status, purge, change settings and run speed tests on your WordPress sites, even while your laptop is closed. You ask a Bot to add the Hub once, sign in, and attach it to a task with @.

Page: https://xspeedcache.com/agent/grok-bot/
Last updated: October 2026

- Add the Hub from chat once; a personal plugin is available to every Bot on your account
- Allow once, Always allow or Deny on each action, plus Ask first rules in Auto-review
- Routines run a report-only cache check on a schedule while you are away

## How do I connect Grok Bot to xSpeed?

### 1. Put 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.

### 2. Ask your Bot to add xSpeed Hub

In a chat with your Bot, ask it to add a custom remote HTTPS MCP server with this URL. xAI says a plugin you add from your own chat is personal and account-wide, so every Bot on your account can use it. When the browser opens, approve access on the xSpeed Hub page.

```
Add a custom remote HTTPS MCP server called xspeedhub with the URL https://app.xspeedcache.com/xspeed/mcp and sign me in.
```

### 3. Attach it and ask a first question

Type @ in a chat to attach the xspeedhub plugin to the task, then ask something that names xSpeed Hub. A list of your sites means the connection works.

```
Use @xspeedhub (xSpeed Hub) to list my sites and tell me which ones have page caching turned off.
```

### 4. Or add it to a Team Bot from the Setup panel (alternative)

Only a Team Bot's owner can change its setup, and the change reaches every teammate. The owner adds the plugin from the Plugins card in the Bot's Setup panel, choosing a custom MCP server over remote HTTPS. Because the Hub uses OAuth, each teammate then signs in to xSpeed Hub with their own account.

```
https://app.xspeedcache.com/xspeed/mcp
```

**Authentication:** OAuth sign-in. xAI says a custom remote HTTPS server uses each person's own sign-in when the server uses OAuth. xSpeed Hub does, so you approve access on an xSpeed Hub page in the browser and there is no token to paste.

**Check it worked:** ask "Use @xspeedhub (xSpeed Hub) to list my sites and tell me which ones have page caching turned off."

## Does Grok Bot ask before it changes my site?

When an action needs approval, Grok Bot offers Allow once, Always allow or Deny. Always allow saves a rule, so the same kind of call no longer stops for you. Auto-review rules under Settings, General, Auto-review can force Ask first or allow matching actions automatically, and Ask first wins when both match. xSpeed Hub has no confirmation step of its own, so a Hub write tool you always allow runs as soon as your connection allows writes. Add Ask first rules for purge_cache, update_settings, toggle_cache, optimize_site and the other write tools. For read-only access, sign in as a Viewer member of the workspace.

xSpeed Hub has no confirmation step of its own. Read tools change nothing on your sites, with one exception to know about: contact_support sends an email to xSpeed support, and a read-only connection can still call it. A write tool (a purge, a settings change, a cache toggle, or a speed test that spends the shared allowance) runs as soon as your connection allows writes. Three things stand between a prompt and a change: your connection's scope, because a read-only connection refuses every write tool (the connection token has a Read-only everywhere switch, and a Viewer member only ever gets read access); your AI client's own tool-approval prompt; and the Hub's instructions to the agent, which tell it to confirm the target site and to ask once before a write that touches every site.

## Example session

```
You: Use @xspeedhub (xSpeed Hub) to find out why so many requests on shop miss the cache.
  → get_cache_status(site: shop) [read-only]: page cache on, hit ratio 44% in the last 24h
  → get_settings(site: shop, module: cache) [read-only]: cache_expiry 2 (hours), 3 excluded URLs
Agent: Only 44% of requests hit the cache, and cached pages on shop expire after only 2 hours, so many of them are gone before the next visitor arrives. Raising the expiry to 24 hours changes shop's settings. Change it?
You: Yes, set it to 24 hours.
  → update_settings(site: shop, module: cache, values: { cache_expiry: 24 }) [changes site]: stored, cache expiry now 24 hours
Agent: Done. Cached pages on shop now last 24 hours. Ask me tomorrow and I will compare the hit ratio.
```

## What is Grok Bot?

Grok Bot is xAI's product for Bots you keep around: AI teammates with names, jobs and context that builds up over time. xAI's documentation says all your Bots share one persistent cloud computer with a browser, a filesystem and a terminal, which runs in Cursor's cloud, so work continues while your device is closed. It comes with paid individual Cursor plans, Cursor Teams, or a linked SuperGrok subscription.

Connectors are installed as plugins, and an installed connector is account-wide rather than tied to one Bot. A plugin can be a custom MCP server over remote HTTPS, which uses each person's sign-in when the server uses OAuth. MCP, the Model Context Protocol, is how that plugin describes xSpeed Hub's caching tools to the Bot: status, purge, settings, preloader, object cache, Cloudflare and speed tests, for every site in your workspace.

## Why use Grok Bot with xSpeed?

- **Checks that happen while you are away**: A routine runs on the Bot's cloud computer on a schedule and posts what it found: a site with caching off, a hit ratio that dropped, a preloader that stopped.
- **An approval prompt you can tune**: Allow once, Always allow and Deny on each action, plus Ask first rules in Auto-review that win over automatic allows, so Hub writes can always stop for you.
- **Connect once for every Bot**: A plugin added from your own chat is account-wide, so your other Bots can use xSpeed Hub without another setup. A Team Bot's owner can add it for the team instead.

## Good to know

- Always allow saves a rule for matching actions. On a Hub write tool that removes the only prompt, because the Hub has no confirmation step of its own. Use Ask first rules for writes.
- A routine's Test run performs real work, including calls to connected tools. Test with a report-only prompt.
- A personal plugin is account-wide. A Team Bot's plugins come from its owner's Setup panel, and only that owner can change them.
- xAI says Grok Bot inherits your team's Cursor connector policy, and a blocked connector shows as Disabled by team admin. On a team plan an admin may need to allow the Hub first.

## Prompts to try

- Use @xspeedhub (xSpeed Hub) to show the cache hit ratio for every site and flag anything under 70%.
- With xSpeed Hub, purge the page cache on blog, then start the preloader and tell me how many URLs it queued.
- Use xSpeed Hub to run a mobile PageSpeed test on shop and compare it with the stored score history.
- With xSpeed Hub, check whether Redis is reachable on shop before you suggest the object cache.
- Every Monday, use xSpeed Hub to list sites whose preloader has not run in a week. Report only.

## Run a report-only cache check as a routine

A routine tells one Bot when to run a workflow. Ask the Bot in plain words when to run, what to check, where to report and what it must not do, and it creates the routine and shows its next run. Background routines run on the Bot's cloud computer while your laptop is closed. The Hub has no scheduler for agent prompts, so the timer is the Bot's. Nobody is there to approve a change during a run, and xAI notes that a Test run performs real work, including calls to connected tools, so word every routine as report only and keep Ask first rules on the Hub's write tools.

```
Every weekday at 8:00 AM, use @xspeedhub (xSpeed Hub) to read the cache status of every site. Post a short report here listing any site with page caching off or a hit ratio under 70%, and any site you could not reach. Report only: do not purge, toggle, change settings or run speed tests.
```

## What can Grok Bot do with xSpeed?

- [Purge the WordPress cache with Grok Bot](https://xspeedcache.com/agent/grok-bot/purge-cache/): Clear stale pages after a deploy, an edit or a plugin update, on one site or all of them.
- [Find out why WordPress pages are not cached with Grok Bot](https://xspeedcache.com/agent/grok-bot/troubleshoot-cache/): Work out why a site misses the cache, serves slow pages or shows a low hit ratio, using read-only checks first.
- [Scan a website for speed problems with Grok Bot](https://xspeedcache.com/agent/grok-bot/speed-scan/): Get a graded speed report with the fix for every failing check and a link you can share, for your own site or any public URL.
- [Run and track PageSpeed tests with Grok Bot](https://xspeedcache.com/agent/grok-bot/pagespeed-tests/): Read the PageSpeed scores a site already has, run a new test when something changed, and tell a Lighthouse score from a cache benchmark.
- [Raise a WordPress site's PageSpeed score with Grok Bot](https://xspeedcache.com/agent/grok-bot/optimize-site/): Preview and apply xSpeed's recommended settings to a site, check the pages still work, and be told plainly what caching cannot fix.
- [Tune WordPress cache settings with Grok Bot](https://xspeedcache.com/agent/grok-bot/cache-settings/): See which modules a site has, read their current settings, change them, and turn page caching on or off.
- [Warm the WordPress cache with Grok Bot](https://xspeedcache.com/agent/grok-bot/preload-cache/): Fill the page cache before visitors arrive, for example right after a purge or a deploy.
- [Set up the Redis object cache with Grok Bot](https://xspeedcache.com/agent/grok-bot/object-cache/): Connect a site to Redis or Memcached so database results survive between requests.
- [Manage Cloudflare caching with Grok Bot](https://xspeedcache.com/agent/grok-bot/cloudflare/): Check the Cloudflare connection, clear the edge cache and switch development mode on or off for a site.
- [Manage every WordPress site at once with Grok Bot](https://xspeedcache.com/agent/grok-bot/fleet/): Run one action across all of your sites, or a chosen few, and read the result site by site.

## Which way should I connect?

| Surface | Endpoint | Reaches | Auth | Tools |
| --- | --- | --- | --- | --- |
| [xSpeed Hub MCP](https://xspeedcache.com/docs/hub-mcp/) | `https://app.xspeedcache.com/xspeed/mcp` | Every site in your workspace, one connection | OAuth sign-in in the browser, or a connection token in an Authorization header | 29 tools (16 read, 13 write), seven of them can act on every site at once |
| [xSpeed Cache Site MCP](https://xspeedcache.com/docs/mcp-server/) | `https://your-site.com/xspeed/mcp` | One WordPress site | OAuth sign-in by a site admin, or the site's own token in an Authorization header | The full per-site tool set plus run_command for the WP-CLI surface |
| [xSpeed Scan MCP](https://xspeedcache.com/docs/scan-mcp/) | `https://xspeedcache.com/scan/mcp` | Any public URL, read-only | None. No account. | 5 tools: run_speed_scan, get_speed_scan and three product-info tools |
| [WP-CLI](https://xspeedcache.com/docs/wp-cli-commands/) | `wp xspeed …` | The site whose server the agent has a shell on | Your server login | Every xSpeed command: cache, purge, preloader, objcache, cf, score, settings and more |

## Frequently asked questions

### How do I connect Grok Bot to xSpeed Hub?

Ask your Bot in chat to add a custom remote HTTPS MCP server with the URL https://app.xspeedcache.com/xspeed/mcp, and approve access on the xSpeed Hub page when the browser opens. Then type @ in a chat to attach it. For a Team Bot, the owner adds it from the Plugins card in the Setup panel.

### Do I need an API key?

No. xSpeed Hub uses OAuth, and xAI says a custom remote HTTPS server uses each person's own sign-in in that case. You approve access in the browser and there is nothing to paste.

### Will Grok Bot change my site without asking?

It asks when an action needs approval, unless you chose Always allow or an Auto-review rule allows it. xSpeed Hub has no confirmation step of its own, so an always-allowed write runs as soon as your connection allows writes. Keep Ask first rules on the Hub's write tools, and for read-only access sign in as a Viewer member of the workspace.

### Can a routine check my sites while I am away?

Yes. Ask a Bot to create a routine and it runs on a schedule on the Bot's cloud computer, even with your laptop closed. Keep routines to reads and reports, because nobody is there to approve a change.

### Is a plugin I add shared with my teammates?

Not when you add it from your own chat: that is a personal plugin, available to every Bot on your account. A Team Bot's owner adds plugins from its Setup panel, and those reach all of its teammates, who each sign in to xSpeed Hub themselves.

### How is this different from Grok on grok.com?

Grok on grok.com is a chat assistant with a custom connector. Grok Bot gives you named Bots with a persistent cloud computer, plugins, approval rules and routines. Both reach the same xSpeed Hub endpoint.

### How do I disconnect Grok Bot?

Remove the xspeedhub plugin from your Bot's plugins, or ask the Team Bot's owner to remove it from the Setup panel. Rotating the Hub's connection token does not end this sign-in, because the plugin uses OAuth.

## Also works with

[Claude Code](https://xspeedcache.com/agent/claude-code/) · [Claude](https://xspeedcache.com/agent/claude/) · [Claude Cowork](https://xspeedcache.com/agent/claude-cowork/) · [ChatGPT](https://xspeedcache.com/agent/chatgpt/) · [Codex](https://xspeedcache.com/agent/codex/) · [Cursor](https://xspeedcache.com/agent/cursor/) · [GitHub Copilot in VS Code](https://xspeedcache.com/agent/github-copilot/) · [Windsurf](https://xspeedcache.com/agent/windsurf/) · [Gemini CLI](https://xspeedcache.com/agent/gemini-cli/) · [Antigravity](https://xspeedcache.com/agent/antigravity/) · [Zed](https://xspeedcache.com/agent/zed/) · [Kiro](https://xspeedcache.com/agent/kiro/) · [OpenCode](https://xspeedcache.com/agent/opencode/) · [OpenClaw](https://xspeedcache.com/agent/openclaw/) · [Hermes Agent](https://xspeedcache.com/agent/hermes-agent/) · [Grok Build](https://xspeedcache.com/agent/grok-build/) · [ChatGPT dots](https://xspeedcache.com/agent/chatgpt-dots/) · [Grok](https://xspeedcache.com/agent/grok/) · [Muse](https://xspeedcache.com/agent/muse/) · [Manus](https://xspeedcache.com/agent/manus/) · [Kimi Code](https://xspeedcache.com/agent/kimi/) · [Paperclip](https://xspeedcache.com/agent/paperclip/) · [NanoClaw](https://xspeedcache.com/agent/nanoclaw/)

## Sources

- xAI Docs: Grok Bot overview: https://docs.x.ai/grok-bot/overview
- xAI Docs: Computer, connectors and plugins: https://docs.x.ai/grok-bot/computer-and-apps
- xAI Docs: Team Bots: https://docs.x.ai/grok-bot/team-bots
- xAI Docs: Skills, routines and automations: https://docs.x.ai/grok-bot/skills-routines-and-automations
- xAI Docs: Approvals, security and privacy: https://docs.x.ai/grok-bot/approvals-security-and-privacy
