WordPress MCP for SEO With Claude and Safe Editing Rules

Content manager editing a website from a laptop at a cafe table

WordPress MCP is the set of Model Context Protocol connections that let an AI assistant such as Claude read and edit a WordPress site. As of December 2026 there are two official routes. Self-hosted sites install the MCP Adapter plugin from WordPress.org. WordPress.com sites and Jetpack-connected sites use the WordPress.com MCP server.

This guide compares both, walks through the setup for Claude Desktop and Claude Code and then covers the SEO jobs worth handing over. Those are title and meta audits, missing alt text, internal link suggestions and drafted updates. Each one changes a live site the moment it is saved. Read the safety section before you connect a production site. It belongs to our MCP series with the Chrome DevTools MCP, DataForSEO MCP and Google Analytics MCP guides.

Which WordPress MCP server should you use?

OptionMaintained byWorks withSign-inWhat it can do
MCP Adapter pluginWordPress.org (AI Building Blocks initiative)Self-hosted WordPress 6.9 or newerApplication Password, or WP-CLI for local sitesRuns the abilities your plugins mark as public
WordPress.com MCP serverAutomatticWordPress.com sites and self-hosted sites connected through JetpackOAuth 2.1 in the browserA fixed catalog of read and write tools, plus abilities your plugins publish
Automattic/wordpress-mcp pluginArchivedOlder setupsVariesReplaced by MCP Adapter. Don't start new projects on it.

A fourth piece shows up in most setup guides. @automattic/mcp-wordpress-remote is a small proxy that runs on your computer. It lets a client that only speaks stdio, such as Claude Desktop's config file, reach the MCP Adapter endpoint over HTTP.

How the MCP Adapter plugin works

MCP Adapter bridges the WordPress Abilities API to MCP. An ability is one named action that WordPress or a plugin registers, such as reading site info or updating a post's SEO title. On WordPress.org the plugin is at version 0.7.2, requires WordPress 6.9 and lists 90,000+ active installs as of December 2026.

Once active, the plugin adds an endpoint at /wp-json/mcp/mcp-adapter-default-server. According to its default server guide, that server exposes three tools.

  • mcp-adapter-discover-abilities lists the public abilities on the site.
  • mcp-adapter-get-ability-info returns the input schema for one ability.
  • mcp-adapter-execute-ability runs an ability with the inputs Claude supplies.

Abilities are private by default. The plugin's site owner guide says the list can come back empty when no plugin has made one public. The plugin adds no AI features and no admin screens of its own. Everything useful comes from the plugins you run.

SEO plugins that publish abilities

Yoast SEO is the clearest example. Its abilities help page lists a read ability for a post's SEO title, meta description, focus keyphrase, canonical URL, robots settings, schema types and social data. The update ability can change the SEO title, meta description, Open Graph and X fields, canonical URL, robots settings and schema page and article types, plus the cornerstone content flag. It only changes the fields you pass.

Every call runs a permission check against the connected WordPress user. Post and term abilities need the advanced SEO metadata capability plus edit rights on that post. Archive and special-page settings need the Yoast SEO Manager role. Rank Math documents its own MCP tools. SEOPress publishes an abilities guide. Read your plugin's page before you assume a field is writable.

How the WordPress.com MCP server works

The WordPress.com MCP server lives at https://public-api.wordpress.com/wpcom/v2/mcp/v1. One connection reaches every site on your account. Self-hosted sites connected through Jetpack get the same tool catalog. WordPress.com's MCP page says read access launched in October 2025 and write tools followed in March 2026.

WordPress.com's tools reference lists several operations that map straight onto SEO work.

OperationWhat it doesMode
rendered-page.getFetches a page as a signed-out visitor sees it and summarizes title, meta description, robots, canonical, Open Graph tags, JSON-LD types, headings, images without alt text and links with no text or an empty hrefRead
posts.list, pages.list, content.searchLists and searches contentRead
posts.createCreates a post as a draft by defaultWrite
posts.updateChanges only the fields provided. A publish status goes live immediately.Write
post-sections.replaceReplaces one top-level block of a post and leaves the rest untouchedWrite
media.updateChanges alt text and captions, which update immediately wherever the image is usedWrite
search_remote_abilities, execute_remote_read_abilityFinds and runs read-only abilities that the site's plugins publishRead

Page fetches through rendered-page.get are capped at 600 per hour per user and need Contributor access or higher. It doesn't see tags that scripts add in the browser. Account and site settings let you switch read and write tool groups on or off, as described on the WordPress.com support page.

Before you connect a self-hosted site

  • WordPress 6.9 or newer with MCP Adapter installed and active. Install it from Plugins > Add New Plugin.
  • HTTPS. WordPress only offers Application Passwords on HTTPS sites, local development excepted.
  • A dedicated WordPress user with the lowest role that does the job. Use Editor for content work and keep Administrator out of it.
  • Node.js if you use the proxy from Claude Desktop.
  • A staging copy of the site for the first runs.

Step 1. Create an Application Password for the agent user

Log in as the dedicated user and open Users > Profile. Scroll to Application Passwords, enter a name such as "Claude on work laptop" and click Add New Application Password. WordPress shows the password once. Its spaces are part of the format.

Create one password per client and per device. Each one is listed with its last-used date and can be revoked on its own.

Step 2. Connect a self-hosted site to Claude Desktop

Claude Desktop's config file launches local processes. The plugin's site owner guide routes it through the proxy. Open Settings > Developer > Edit Config and add this entry with your own values.

{
  "mcpServers": {
    "my-wordpress-site": {
      "command": "npx",
      "args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
      "env": {
        "WP_API_URL": "https://staging.example.com/wp-json/mcp/mcp-adapter-default-server",
        "WP_API_USERNAME": "seo-agent",
        "WP_API_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx",
        "OAUTH_ENABLED": "false"
      }
    }
  }
}

The proxy's README sets OAUTH_ENABLED to "false" in its Application Password example. Restart Claude Desktop after saving.

Step 3. Connect a self-hosted site to Claude Code

Claude Code speaks HTTP and can skip the proxy. Encode the username and Application Password as one Base64 line, then add the server with an Authorization header. Both commands come from the site owner guide.

printf 'seo-agent:xxxx xxxx xxxx xxxx xxxx xxxx' | base64 | tr -d '\n'

claude mcp add --transport http my-wordpress-site \
  https://staging.example.com/wp-json/mcp/mcp-adapter-default-server \
  --header "Authorization: Basic PASTE_THE_BASE64_HERE"

For a site running on your own machine, the plugin's CLI guide starts the server through WP-CLI with no password. The command is wp --path=/path/to/site mcp-adapter serve --server=mcp-adapter-default-server --user=seo-agent. The --user flag sets whose permissions apply.

Step 4. Connect WordPress.com or a Jetpack site

In Claude Desktop, add the WordPress.com connector from the Connectors Directory. In Claude Code, the developer docs give this command. Then run /mcp to sign in through the browser.

claude mcp add --transport http wpcom-mcp https://public-api.wordpress.com/wpcom/v2/mcp/v1

When you approve the connection in the browser, choose Read only. The support page says that turns off all Write tools. Turning on MCP access from account settings enables the Read and Write groups by default. Turn on single write tools later, once you trust a workflow.

Step 5. Test the connection

MCP Adapter's guide suggests one prompt. "List the WordPress abilities you can use on my site." Claude should call the discover tool and return a list or an empty result. Either answer proves the connection works. Ask Claude to list your sites to test a WordPress.com connection.

SEO workflows for WordPress MCP

The prompts below are illustrative. Every one of them reads first and proposes changes as a table. Nothing gets written until you approve a specific row.

Audit titles and meta descriptions

Illustrative prompt. "For the 30 most recently modified posts, read the Yoast SEO title and meta description. Return a table with the URL, current title, current description and a flag for missing, duplicated or reused-from-another-post values. Don't change anything."

On WordPress.com, rendered-page.get gives the same fields from the rendered page. Google's title link documentation sets no length limit on the title element and truncates as needed to fit the device. It also lists other sources Google may use, including the main visual title and heading elements. Fix duplicates and mismatches before you chase character counts.

Find missing alt text

Illustrative prompt. "Run rendered-page.get on these 20 URLs and list every image without alt text, with the page it appears on. Suggest a short, literal description for each one based on the surrounding paragraph. Don't update any media."

Google's image SEO guidance calls alt text the most important attribute for image metadata. It warns against filling alt attributes with keywords. Review the suggestions with someone who can see the images. media.update changes alt text everywhere the image appears the moment you approve it.

Illustrative prompt. "Search published posts for mentions of 'technical SEO audit' that don't already link to https://example.com/technical-seo-audit/. Return the post, the exact sentence and a suggested anchor. Don't edit the posts."

Apply the good ones by hand, or one block at a time with post-sections.replace on WordPress.com. Our post on internal linking patterns covers which links are worth adding.

Draft updates as drafts

Ask Claude to create a new draft or a revision for a stale post. Keep the status at draft. posts.create on WordPress.com makes drafts by default. posts.update with a publish status goes live at once. After every write, ask Claude for the response's _content_warnings field, which reports blocks or HTML that WordPress stripped on save. Then open the preview yourself.

Safety rules for WordPress MCP

The site owner guide is blunt about this. Abilities change your live site the same way an action in wp-admin does. These are the rules we'd set before connecting a client site.

  • Start on staging. Run every new workflow against a staging copy first. WordPress.com exposes a staging site list tool. On a self-hosted site, use your host's staging copy or a local clone.
  • Use a least-privilege user. The agent acts as the WordPress user it signs in as. An Editor account can't install plugins or manage users, per the WordPress roles and capabilities reference.
  • Keep writes off until needed. Leave WordPress.com write tool groups disabled. Only run plugins whose abilities you have read on a self-hosted site.
  • Review before publishing. Keep everything in draft. A person reads the preview and clicks Publish.
  • Keep backups you have restored. Alt text edits and term slug changes apply immediately on WordPress.com. Deleting media or taxonomy terms there is permanent.
  • Revoke when done. Delete the Application Password under Users > Profile when a project ends.

Claude Code shows a permission prompt before it runs an MCP tool you haven't allowed. WordPress.com also asks for approval before a site-published ability changes data. Leave those prompts on for any write tool.

Troubleshooting WordPress MCP

Most rows come from the troubleshooting section of the MCP Adapter site owner guide.

SymptomLikely causeFix
401 UnauthorizedWrong username or password, or the server strips the Authorization headerUse the login name or email, recopy the Application Password, and ask your host to pass the header to PHP
No Application Passwords sectionSite isn't on HTTPS, or a security plugin or host turned the feature offServe the site over HTTPS and check the security plugin's settings
Endpoint returns your homepage or a server 404Plain permalinks or missing rewrite rulesUse ?rest_route=/mcp/mcp-adapter-default-server, or resave Settings > Permalinks
JSON error rest_no_routeTypo in the address, plugin inactive or installed from GitHub sourceCheck the URL and reinstall MCP Adapter from WordPress.org
Connected with an empty ability listNo plugin has made an ability publicInstall a plugin that publishes the abilities you need
Ability fails with a permission errorThe connected user's role can't do that actionConnect as a user whose role allows the action. Yoast's archive settings need its SEO Manager role. Avoid Administrator.
npx: command not foundNode.js missing or not visible to the appInstall Node.js and restart the app

WordPress MCP handles the editing side of an SEO workflow. The diagnosis still comes from your data. Pair it with the Search Console and DataForSEO servers and Claude can find the pages that need work before it drafts anything. Our guide to using Claude for SEO covers the wider guardrails. If you'd rather we run it, talk to our team.

Want this for your brand

See where your brand stands in AI answers today, benchmarked against your competitors, no pitch required.