How to connect Claude to WordPress (and make your first real edit)

Connect Claude Code to a WordPress site through an MCP server, change one paragraph on a live page, and undo it. Every step shown on a real test site.

You want to type “change the first paragraph on my About page” into Claude and see it change on your website. Claude can’t log in to your WordPress by itself, so it needs a connection to the site that is safe, limited, and easy to take back.

This article shows that connection from start to finish, using ArneIron’s MCP server and Claude Code. I did every step below on a real WordPress test site (e2e-wp.arneiron.net) on 27 November 2026. The screenshots come from that run. Nothing is mocked. I hid the test account’s email address and trimmed long answers.

What you need

  • A WordPress site where you can log in as an administrator.
  • An ArneIron account (sign-up needs only an email address).
  • Claude Code, Anthropic’s command-line app. Claude Desktop and claude.ai also accept remote MCP servers, but this walk-through uses Claude Code because that is what I ran end to end.
  • Some balance on your ArneIron account. Edits are paid from a prepaid wallet. The edit in this article cost €0.21, and the undo was free.

One ArneIron MCP server is tied to exactly one website. If you have two sites, you add two servers with different names.

Step 1. Add your site in ArneIron

Log in at arneiron.net and open My Account → My Sites. Type your site address and click Add website. The page then shows the MCP address you will give to Claude later: https://hub.arneiron.net/mcp.

My Sites in the ArneIron account, with the MCP address and the balance
My Sites in the ArneIron account, with the MCP address and the balance

Step 2. Download the plugin made for your site

On your site’s card, click Download plugin. The file is the ArneIron Connector with a one-time connect code for this site inside. Each download works once, within 24 hours. If you wait longer, download it again.

The site card with the Download plugin button
The site card with the Download plugin button

(There is also Download theme. It installs the ArneIron theme, and the connector comes with it. If you want to keep your current theme, use the plugin.)

Step 3. Install it in WordPress

In WordPress go to Plugins → Add New → Upload Plugin, choose the zip, and click Install Now.

Uploading the connector zip in WordPress
Uploading the connector zip in WordPress

Then click Activate Plugin. Activation uses the connect code, so the site connects to your ArneIron account at this point. You don’t paste any keys.

Plugin installed successfully
Plugin installed successfully

Step 4. Give ArneIron limited access

Open the new ArneIron item in the WordPress menu. On a fresh install the button says Give ArneIron access. My test site had been connected before, so in my screenshot the same button says Reconnect ArneIron.

The ArneIron page in wp-admin, before access is granted
The ArneIron page in wp-admin, before access is granted

After you click it, the page says Connected. ArneIron works as its own user, arneiron, with the role arneiron_agent. That user is not an administrator, and ArneIron refuses administrator access. Revoke access on the same page deletes every ArneIron key on the site and stops all changes at once.

Connected: ArneIron can manage this site as arneiron (arneiron_agent)
Connected: ArneIron can manage this site as arneiron (arneiron_agent)

Step 5. Add the MCP server to Claude Code

In a terminal, in the folder where you use Claude Code, run:

claude mcp add --transport http arneiron-e2e-wp https://hub.arneiron.net/mcp

Name the server after your site. I used arneiron-e2e-wp. Without -s user, the server exists only in this folder. Add -s user if you want it in every folder.

claude mcp add, output
claude mcp add, output

Step 6. Sign in and approve

Next, Claude Code has to sign in. Inside Claude Code, run /mcp, pick the server, and choose Authenticate. On a machine without a browser, run this instead:

claude mcp login arneiron-e2e-wp --no-browser

That command prints a link to open in a browser.

claude mcp login prints the sign-in link and waits
claude mcp login prints the sign-in link and waits

The link opens arneiron.net. Log in with your ArneIron account (not your WordPress one).

ArneIron log-in page
ArneIron log-in page

Next is the approval page. It names the site Claude will get, and what Claude may do: read your site and account, and make changes to your site. Click Approve.

Authorize connection: the site to connect and the requested access
Authorize connection: the site to connect and the requested access

The browser says the CLI received the result. The terminal says: Authenticated with "arneiron-e2e-wp". Its tools are now available in Claude Code.

The browser confirms the CLI received the sign-in
The browser confirms the CLI received the sign-in

Then start Claude Code in that folder. I started a new session, so the ArneIron tools were loaded from the beginning.

Step 7. Check the connection

Before editing anything, ask Claude in plain words whether the site is connected. Checks like this read your account and cost nothing.

Claude checks the account and the site connection (trimmed)
Claude checks the account and the site connection (trimmed)

Look for connected. It means three things: your site used its one-time connect code, it has its own key, and it is linked to your account. It does not mean the site is up at this moment, so the real test is the next step: one small edit you can see.

Step 8. Make one real edit

Here is the page before the edit. This is the stock WordPress “Sample Page”.

The Sample Page before the edit
The Sample Page before the edit

I typed:

On the Sample Page, replace the first paragraph with: “Fresh bread every morning. We open at 7:00, Monday to Saturday.” Change nothing else on the page.

Claude does not log in to WordPress. It sends your request to ArneIron. This is the actual tool call Claude made, shortened:

wp_edit_canary {
  "intent": "On the page \"Sample Page\" (path /sample-page/), replace the text of the FIRST paragraph block only ... with exactly this text: \"Fresh bread every morning. We open at 7:00, Monday to Saturday.\" Keep it a normal core/paragraph block. Change nothing else on the page ..."
}

ArneIron’s own agent then made the change on the site as the limited arneiron user and checked the live page. It also stored a backup under a change ID. This run took about 14 seconds on ArneIron’s side. Claude polled for the result and reported back:

Claude reports the edit: applied and verified, with the change ID
Claude reports the edit: applied and verified, with the change ID

My Claude also read the page again on its own and compared it with the copy from before the edit. Do the same check yourself and open the page:

The Sample Page after the edit: the first paragraph is the new text
The Sample Page after the edit: the first paragraph is the new text

Only the first paragraph changed. The title, the two quotes and the last paragraph stayed as they were. The edit cost €0.21 from the prepaid balance.

What AI can and cannot change

What it can change. Claude can do what ArneIron’s tools allow on your site. Claude can ask ArneIron which tools those are. On my test site (stock WordPress, no extra plugins), 7 of the 20 listed tools were available:

  • add a block to a page
  • edit one existing block in place
  • create a reusable block
  • create, update or list records of a content type the site declares
  • edit the SEO files in the site root
  • style a child theme’s blog pages

The other tools were listed as unavailable on this site. Among them are the WooCommerce, Yoast and Polylang tools, because those plugins are not installed. The list is different for every site, so ask Claude for yours.

What it cannot do:

  • It cannot act as an administrator. All changes go through the arneiron_agent user, and ArneIron refuses administrator access.
  • It cannot touch another site. The server you approved is bound to one site. Asking about another website will not reach it.
  • It cannot edit SEO files unless you allow it. That needs a separate checkbox on the ArneIron page in wp-admin, Allow ArneIron to edit SEO files, which is off by default.
  • It does not start on an empty wallet. If your balance is too low for an edit, the tool answers INSUFFICIENT_BALANCE with a top-up link, and nothing is charged.
  • It cannot work after you revoke access. One click on Revoke access stops every change.

What to watch. “Applied and verified” is ArneIron’s own check, and it is a good one. It is still worth opening the page yourself, as above, after every change you care about. Ask for one change at a time, and name the page and the exact text, so the request is easy to check.

How to undo

Ask Claude. Type “Undo that change.” ArneIron does not undo anything straight away. First it returns the list of changes it would revert and a confirmation code that works once, on this site, for 10 minutes. Claude shows you the list and asks:

Claude asks for confirmation before undoing anything
Claude asks for confirmation before undoing anything

After you confirm, ArneIron puts back the saved copy, and Claude reports the result:

Claude reports the page is back to how it was
Claude reports the page is back to how it was

The page is back to the original text. The undo cost nothing.

The Sample Page after the undo: the original paragraph is back
The Sample Page after the undo: the original paragraph is back

Or use WordPress revisions. When ArneIron saves a page, WordPress keeps a revision authored by the ArneIron user. You can see it under the page’s Revisions.

WordPress revisions show the change, authored by ArneIron
WordPress revisions show the change, authored by ArneIron

There is one catch. My Sample Page had never been edited before, so WordPress had no older revision to go back to. ArneIron’s undo had the original saved and restored it. On pages with a longer history, either way works.

Stop everything. Revoke access on the ArneIron page in wp-admin removes ArneIron’s keys from the site at once.

Using ChatGPT instead?

The same MCP address works in ChatGPT, where you add it as a custom MCP server with OAuth. Our onboarding guide lists the exact clicks. I haven’t put screenshots of it here, because this article only shows steps I ran myself.


Try it in ArneIron

Connect your own WordPress site: create an account, download the plugin made for your site, give ArneIron its limited access, and add https://hub.arneiron.net/mcp to Claude.

Start here: arneiron.net/agent-onboarding/. You can also paste that link into Claude Code and ask it to set you up. The guide is written for AI agents and for people.

Leave a Reply

Your email address will not be published. Required fields are marked *