Skip to content
Products

WP24X7 Agent setup: connect Claude to WordPress

Install WP24X7 Agent, create an Application Password and connect Claude Code, Claude Desktop, Cursor or VS Code to your WordPress site over MCP.

At a glance

To connect an AI client to WordPress, install the WP24X7 Agent plugin, generate an Application Password on its Connect screen and paste the prompt it gives you into your client. It needs WordPress 5.6 or newer and PHP 8.0 or newer, and the endpoint is /wp-json/wp24x7-agent/v1/mcp on your own site.

Updated November 29, 2026 · For WordPress owners and developers connecting an AI client

  • For owners and developers connecting Claude Code, Claude Desktop, Cursor or VS Code
  • Requires WordPress 5.6+, PHP 8.0+, HTTPS recommended
  • Endpoint /wp-json/wp24x7-agent/v1/mcp on your own site
  • Auth a WordPress Application Password sent as HTTP Basic
  • Safety Read and Write on by default, Destructive and Code off
  • Status release 0.6.0, not yet run on a production site, test on staging
  • Start install the plugin, open Connect

To connect an AI client to WordPress, install the WP24X7 Agent plugin, generate an Application Password on its Connect screen, and paste one prompt into your client. It needs WordPress 5.6+ and PHP 8.0+, and the endpoint is /wp-json/wp24x7-agent/v1/mcp on your own site.

What do I need before starting?

RequirementDetail
WordPress5.6 or newer
PHP8.0 or newer
HTTPSRecommended
WordPress userAdministrator has full power; a lower role gives the agent less
MCP clientClaude Code, Claude Desktop, Codex, Cursor, VS Code or Antigravity

How do I install and connect?

  1. In WordPress go to Plugins, then Add New, then Upload Plugin.

  2. Choose wp24x7-agent.zip and activate it (or upload the wp24x7-agent folder to /wp-content/plugins/).

  3. Open WP24X7 Agent, then Connect.

  4. Pick your client, tick the consent box and press Generate prompt.

  5. The plugin creates an Application Password for your user and shows one prompt. Paste it into your agent.

For manual configuration use "Prefer manual configuration?" on the same screen.

The plugin documentation gives this form, with your own user name and Application Password:

claude mcp add --transport http wp24x7 \
  https://YOUR-SITE/wp-json/wp24x7-agent/v1/mcp \
  --header "Authorization: Basic $(printf 'USER:APP PASSWORD' | base64)"
An AI client connected to a WordPress site over MCP

What if sign-in fails?

SymptomLikely causeFix
401 or unauthorizedWrong user or mangled passwordCheck user name, regenerate the Application Password
404 on the endpointPermalinks off or REST API blockedCheck /wp-json/ loads in a browser
Works in browser, fails in clientHost strips the Authorization headerSend X-WP24X7-Authorization instead
HTTP 42910 failed logins from one IP in 15 minutesWait for Retry-After, correct credentials
Client lists no toolsClient not restartedRestart it and confirm transport is HTTP

The Settings screen includes a connection check. To cut an agent off at any time, revoke its Application Password in your WordPress profile.

How do I choose what the agent may do?

Open WP24X7 Agent, then Settings. Read and Write are on by default. Destructive and Code are off. Turn on only what the task needs. Full explanation on permissions and safety.

Which user should I connect as?

The agent acts with that user's permissions. For a trial, create a dedicated user such as an Editor rather than connecting as your own Administrator. If a task needs more, raise the role for that task and lower it again afterwards. A separate user also makes the activity log easier to read.

What does a first session look like?

  1. Install on a staging copy and activate.

  2. Connect from the Connect screen, using a dedicated user.

  3. Ask the agent to describe the site: theme, active plugins, forms.

  4. Ask it to draft a new page as a draft, not published.

  5. Open the activity log and match it against what you asked.

  6. Only then decide whether to enable more than Read and Write.

The tools page lists what is available.

Does it work on multisite, and how do I disconnect?

Yes on multisite: network-activate it and every site gets its own activity log, settings and safety tiers. To disconnect, revoke the Application Password and the agent can no longer sign in. Deactivating the plugin turns the endpoint off.

Want engineers to set this up safely?

We can connect an AI client to a real site with the right limits.

FAQ

Questions people ask

12 answers. Can't find yours? Ask an engineer.

What are the requirements?

WordPress 5.6 or newer and PHP 8.0 or newer. HTTPS is recommended.

Link to this answer
What is the endpoint?

https://YOUR-SITE/wp-json/wp24x7-agent/v1/mcp, using a WordPress Application Password sent as HTTP Basic.

Link to this answer
My host strips the Authorization header. What now?

Send the X-WP24X7-Authorization header instead. The Settings screen has a connection check.

Link to this answer
Does Claude Desktop work?

Yes, through the mcp-remote bridge. The Connect screen shows the exact snippet.

Link to this answer
Which WordPress user should I connect as?

The agent can only do what that user can do, so the user is the first safety control. For a trial, create a dedicated Editor rather than connecting as your own Administrator. An Editor works on posts and pages but cannot install plugins or change users.

Link to this answer
What should I ask the agent first?

Something read-only, such as scanning the site and summarising its theme, plugins and forms. Then try a small reversible write, such as drafting a page as a draft rather than publishing it.

Link to this answer
Which AI clients can connect?

Claude Code, Claude Desktop, Codex, Cursor, VS Code and Antigravity. Clients that only support stdio connect through the mcp-remote bridge.

Link to this answer
What do I do if I get HTTP 429?

After 10 failed Application Password logins from one IP in 15 minutes the plugin returns HTTP 429 with a Retry-After header. Wait for that period and correct the credentials. A correct login always works.

Link to this answer
What if I get 401 or 404 on the endpoint?

For 401, check the user name and that the Application Password was copied intact, or regenerate it. For 404, pretty permalinks may be off or a security plugin may block the REST API. Check that /wp-json/ loads in a browser.

Link to this answer
How do I cut the agent off?

Revoke its Application Password in your WordPress profile and it can no longer sign in. Deactivating the plugin turns the endpoint off. Do this when a trial ends or a team member who used it leaves.

Link to this answer
Does it work on WordPress multisite?

Yes. Network-activate it and every site, including ones created later, gets its own activity log, settings and safety tiers. Network-wide data such as raw SQL and the debug log needs a super admin.

Link to this answer
Is it safe to use on a live site?

The current release, 0.6.0, has not yet been run on a production site, so test on a staging copy first. Take a backup before you let any tool change a live site, and enable only the safety tiers the task needs.

Link to this answer

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.