How to Use AI and MCP to Manage a WordPress Site

Connect an AI client to WordPress with the official MCP Adapter, Application Passwords, and the Abilities API, without exposing more than you intend.

WordPress MCP is how an AI client, such as Claude Desktop or Cursor, talks to your site through the Model Context Protocol, using actions your site has registered as abilities.

The official path is the MCP Adapter plugin, which requires WordPress 6.9 or newer. The WordPress.org page, checked 24 November 2026, lists version 0.7.2 and more than 80,000 active installations.

You will install that plugin, create an Application Password, connect a desktop client, and understand why an empty tool list is normal until a plugin marks abilities as public.

⚡ Quick answer

  • Best for: site owners and agencies who want a desktop AI client to read or change a WordPress site, with the same permissions as a chosen user.
  • Skip it if: you only wanted a chat box on the front end, or you hoped claude.ai or ChatGPT in a browser would connect by themselves. Those web apps need OAuth, which WordPress and MCP Adapter do not ship.
  • Time needed: about 10 minutes to connect, plus extra time if you also register a custom ability or install a plugin that exposes some.
  • Our call: install the official MCP Adapter, connect a desktop client as a least-privilege user, and only expose the abilities you actually want the assistant to run.

What are WordPress MCP and the Abilities API?

The Abilities API handbook ships in WordPress 6.9 and above. An ability is one named action: a label, a JSON schema for input and output, a permission check and a PHP callback.

Names look like namespace/ability-name. Every ability belongs to a category. Core registers site and user that you can use immediately.

MCP, the Model Context Protocol, is a separate open standard. An MCP client discovers tools, resources and prompts on a server and calls them. WordPress is not an MCP server by itself.

The MCP Adapter plugin on WordPress.org is the official bridge. It does not add a front-end chatbot or a new wp-admin AI screen. It turns public abilities into MCP tools and serves them over HTTP or STDIO.

The Core AI team announcement of 7 October 2026 called it a canonical plugin: the shared server for the ecosystem, kept out of core because the MCP specification is still changing.

The default server lives at your Site Address plus /wp-json/mcp/mcp-adapter-default-server. It ships three tools: list public abilities, read one ability, and run one. Anything else comes from plugins.

If you are comparing third-party MCP plugins rather than this official adapter, start with our roundup of WordPress MCP server plugins. The rest of this walkthrough stays with the WordPress.org adapter and the Abilities API.

WordPress 7.0 sits on top of the 6.9 abilities work. What’s New in WordPress 7.0 is the site-owner overview of that release.

The catch: connecting the adapter is not the same as giving the assistant a job. Until at least one ability is marked public, the assistant will connect and then tell you the list is empty. That is expected.

What you need before you start

The official site-owner guide is the checklist the plugin authors want site owners to follow. It takes about ten minutes once the site is ready.

  • WordPress 6.9 or newer, with MCP Adapter installed and active. The plugin page lists a required PHP version of 7.4 or higher and “tested up to” 7.1.5.
  • HTTPS on the site. WordPress only offers Application Passwords over HTTPS, except on local development sites.
  • A dedicated WordPress user for the assistant, with the lowest role that can do the work (Editor rather than Administrator, when that is enough).
  • Node.js on the computer that runs a desktop client, because most of them start a small helper with npx.

A local WordPress development environment is the safest place for a first connection. On a live site, read the security hardening checklist first, and keep a backup.

Agencies wiring this for several clients will also want a consistent plugin stack. Our list of plugins for agencies is the wider toolkit; MCP Adapter is the connection layer, not a full agency dashboard.

How do you install the official MCP Adapter?

  1. In wp-admin go to Plugins → Add New.
  2. Search for MCP Adapter by WordPress.org, then install and activate it.
  3. Or, from WP-CLI: wp plugin install mcp-adapter --activate.
The official MCP Adapter plugin page on WordPress.org, including the description that it is the server layer for the Abilities API
Source: wordpress.org/plugins/mcp-adapter, captured November 2026.

You can upload the zip from the plugin page. Do not use a handmade GitHub checkout for a site-owner setup: the official guide says that package can miss files, which then returns a 404.

After activation there is no new settings screen to fill in. The plugin’s own FAQ is explicit: it provides no AI features by itself. The next step is a client connection, and then abilities.

The adapter supports MCP protocol revisions 2025-11-25 and 2026-07-28. Clients that propose older revisions can still connect, and are served through the 2025-11-25 schema, per the 0.7.x notes.

Make WordPress AI announcement that the MCP Adapter is available as a canonical plugin on WordPress.org
Source: make.wordpress.org/ai, captured November 2026.

Do this if another plugin already depends on MCP Adapter: install the official directory copy once, and let the others use it. Bundled copies were a documented source of version conflicts.

How to connect an AI client to your site

Create an Application Password

  1. Open Users → Profile (or edit the dedicated user).
  2. Scroll to Application Passwords.
  3. Type a name you will recognise, such as “Claude on my laptop”, and click Add New Application Password.
  4. Copy the password. WordPress shows it only once. The spaces in it are part of the format and can stay.

If that section is missing, the site is probably not on HTTPS, or a security plugin (or the host) has turned Application Passwords off. Fix that before you go further.

Add the site to a desktop client

Most desktop apps read a JSON file of MCP servers. In Claude Desktop, open it from Settings → Developer → Edit Config. In Cursor it is ~/.cursor/mcp.json. The official guide uses this entry, with your values filled in:

{
  "mcpServers": {
    "my-wordpress-site": {
      "command": "npx",
      "args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
      "env": {
        "WP_API_URL": "https://example.com/wp-json/mcp/mcp-adapter-default-server",
        "WP_API_USERNAME": "your-username",
        "WP_API_PASSWORD": "your-application-password"
      }
    }
  }
}

Save the file and restart the app. The npm package is a helper that runs on your computer and forwards requests to the site.

Clients that accept a URL and a header, such as Claude Code, can skip the helper and send Authorization: Basic with the username and Application Password, base64-encoded, to the same endpoint.

Use the Site Address (URL) from Settings → General, including any subdirectory. On plain permalinks, the official workaround is ?rest_route=/mcp/mcp-adapter-default-server.

What will not connect today

Claude and ChatGPT in a browser sign in with OAuth, and have no Application Password field. WordPress and MCP Adapter do not ship OAuth, so use a desktop client, or a plugin that adds it.

Browser extensions can still help with other WordPress chores; see our Chrome extensions for WordPress list. They are not a substitute for this MCP connection.

Common mistake: pasting the display name into WP_API_USERNAME. Use the login name or the email address of the user, and the full Application Password.

How abilities are exposed and who can run them

Exposure is opt-in. An ability is reachable over MCP only when it has been marked public. Permission callbacks still run against the connected user before anything executes.

WordPress Abilities API handbook introduction, describing registered abilities with schemas and permission callbacks
Source: developer.wordpress.org Abilities API, captured November 2026.

Set meta.public to true to expose an ability to clients, including MCP. Use meta.mcp.public: false to keep it out of MCP, or meta.mcp.public: true to expose it only there.

On WordPress 6.9 and 7.0, REST access still needs meta.show_in_rest. WordPress 7.1 starts applying meta.public to the REST API too. Set the flags each version’s docs ask for.

The assistant acts as the WordPress user you connected. An Editor cannot do what an Editor cannot do in wp-admin. A dedicated user lets you revoke one Application Password without touching anyone else’s.

Create one password per client and device. Every password is listed under Users → Profile, with the last-used time, and Revoke cuts that client off immediately.

Test new abilities on a staging copy first, the same way you would update WordPress safely. A client that can publish or change settings should not meet production on day one.

Skip it if you were about to connect as Administrator “just to see everything work.” Start with a lower role, confirm the tools you need are allowed, and raise the role only when a permission error says you must.

How to register a simple ability

Skip this step if a plugin already exposes the actions you want. Many site owners connect first, then add a plugin that registers abilities. Our free WordPress plugins list is one place to look; the MCP roundup is more specific.

Developers register categories on wp_abilities_api_categories_init and abilities on wp_abilities_api_init. If the category is missing, wp_register_ability() returns null and, with WP_DEBUG off, that failure is easy to miss.

A minimal ability looks like this, using the core site category:

add_action( 'wp_abilities_api_init', function () {
    wp_register_ability( 'my-plugin/site-info', [
        'label' => 'Site Info',
        'category' => 'site',
        'execute_callback' => 'my_site_info',
        'permission_callback' => fn() => current_user_can( 'manage_options' ),
        'meta' => [ 'public' => true ],
    ] );
} );

Add input and output schemas, plus a real callback, before you use this on a site that matters.

A snippet plugin is a reasonable place to keep a small ability if you are not shipping a full plugin. See our code snippet plugins roundup, and take the same backup precautions you would for any PHP snippet.

If the ability should read structured data a site already stores, start from the fields you have rather than a new table. Our roundup of custom field plugins is the usual starting point for that data layer.

The developer blog introduction to the MCP Adapter (4 February 2026) remains a useful longer read for plugin authors who want custom MCP servers on top of the adapter, which is more than most site owners need.

Do this if you only need the assistant to draft or list content: install a plugin that already registers those abilities, instead of writing PHP. Write a custom ability when your workflow is specific and no plugin exposes it.

How to check it worked, and what breaks

How to check it worked

Start a new chat and ask: “List the WordPress abilities you can use on my site.” The assistant should list abilities, or say the list is empty. Either answer means the connection works.

Open the endpoint in a browser too. A JSON 401 means the address works and only auth failed. A homepage or “Not Found” page points to permalinks. A rest_no_route error means the route is missing.

What breaks, and how to undo it

A 401 usually means the username or Application Password is wrong, or the server is stripping the Authorization header before PHP sees it. Some Apache hosts need the standard WordPress .htaccess rule that passes that header through.

A 404 or rest_no_route means a typo in the URL, the plugin is not active, permalinks are plain (use the rest_route form), or rewrite rules need a Save Changes click under Settings → Permalinks.

“npx: command not found” means Node.js is missing, or the desktop app cannot see it. Install Node.js from the official site and restart the app.

If the assistant is connected but cannot do useful work, install or activate a plugin that registers public abilities, or raise the connected user’s role after a specific permission error, not before.

To cut the client off, revoke the Application Password under Users → Profile. That is the undo switch. Deactivating MCP Adapter also closes the endpoint.

The catch: an ability changes the live site. If a draft became a published post, or a setting moved, fix the content first, then tighten the user’s role and the public flags so it cannot happen again.

Frequently Asked Questions

What is the WordPress MCP Adapter?

MCP Adapter is the official WordPress.org plugin that turns registered Abilities API actions into Model Context Protocol tools. It is a server and transport layer, not a chatbot. It requires WordPress 6.9 or newer. Version 0.7.2, checked 24 November 2026, has 80,000+ installs and is tested up to WordPress 7.1.5.

Do I need the Abilities API plugin as well?

No. The Abilities API is part of WordPress 6.9 and later. From adapter 0.6.0, WordPress 6.9 is required and the standalone Abilities API plugin is no longer a supported install path. Update WordPress first, then install MCP Adapter from the plugin directory.

Why does the assistant say there are no abilities to use?

The default server only lists abilities a plugin has marked as public. A successful connection with an empty list is normal on a site that has not opted any abilities in yet. Install a plugin that registers public abilities, or register your own with meta.public set to true, then ask again.

Can I connect ChatGPT or claude.ai to WordPress MCP?

Not with MCP Adapter alone, today. Those web apps sign in with OAuth and have no Application Password field. WordPress and MCP Adapter do not include an OAuth server. Use a desktop client such as Claude Desktop, Cursor or Claude Code, or a separate plugin that adds OAuth to the site.

Is it safe to give an AI assistant Administrator access?

Prefer a dedicated user with the lowest role that can do the work, and one Application Password per client. The assistant runs with that user’s capabilities. You can revoke the password under Users → Profile at any time. Test new abilities on staging, and keep backups, before you point a client at production.

Where is the MCP Adapter connection URL?

It is your Site Address (Settings → General) plus /wp-json/mcp/mcp-adapter-default-server. Include a subdirectory if the site uses one. On plain permalinks, use ?rest_route=/mcp/mcp-adapter-default-server instead. A typo in this URL is the usual cause of a 404 or rest_no_route error.

Does every WordPress ability get exposed to MCP automatically?

No. Exposure is opt-in. The ability must be marked public, and the permission callback still runs against the connected user. You can also expose an ability to other clients but keep it out of MCP, or the reverse, with the meta.mcp.public flag described in the adapter docs.

What should I install first: MCP Adapter or a third-party MCP plugin?

Install the official MCP Adapter if you want the canonical server and Abilities API bridge. Use a third-party plugin when you need a specific set of tools that plugin already registers, and check whether it depends on the official adapter. Our MCP server plugins roundup is the place to compare those options.

Install the official MCP Adapter, connect a desktop client as a least-privilege user, and treat an empty ability list as a setup step, not a failure.

Expose only the abilities you want the assistant to run, and revoke the Application Password the moment a client should lose access.

If you need a packaged set of tools rather than a blank official server, compare options in the MCP plugin roundup, and still keep the official adapter as the server layer when those plugins depend on it. When the job is building or editing Elementor layouts from the client, Elementor MCP is the connector to use, and it can sit alongside the official Adapter.

Last updated November 2026.

Lokesh Kapoor
Lokesh Kapoor

Lokesh Kapoor is a web developer, blogger, and digital creator passionate about WordPress, SaaS, automation, and modern web technologies. He shares practical tutorials, honest insights, and useful resources to help creators, entrepreneurs, and website owners build faster, smarter, and more effective online experiences with confidence, clarity, and consistency.

Articles: 46

One comment

Leave a Reply

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