WordPress MCP AI agents can now write to your site

For most of the last decade I told clients the same thing: no, an AI cannot safely edit your database. Early LLMs would hallucinate SQL or drop a table because nothing in the prompt told them a foreign key existed. The new write capabilities for WordPress MCP AI agents have me softening that position.

When WordPress.com shipped Model Context Protocol (MCP) support back in October, it was read only. The agent could pull your analytics or fetch a post, but it could not put anything back. That part has changed, and an agent can now write content straight into your site.

Why WordPress MCP AI agents matter for devs

The part worth caring about is standardized tool calling. Following the official MCP specification, WordPress has exposed 19 new write abilities covering posts, pages, media and taxonomies.

The difference from a plain REST API integration is that the agent is design aware. It reads your theme’s design system, the colors, the fonts, the registered block patterns, and writes markup that fits inside it. Anyone who has generated Gutenberg blocks programmatically knows how easily that output ends up looking like a Geocities page.

The technical workflow: CRUD via conversation

Ask a WordPress MCP AI agent for a landing page for a yoga studio and it does not guess at the markup. It reads your theme’s theme.json and the block patterns already available, then builds the page out of those. That is a different model of content automation than the one most of us are used to.

I have been running similar setups internally with a WordPress MCP adapter to find where they break. Having it native on WordPress.com removes the plumbing work that kept most people out of agent workflows.

The war story: when automated writes go wrong

Three years ago a client ran an early AI plugin to generate alt text for 5,000 images. There was no confirmation step. It hit a race condition, timed out, and left half the media library with corrupt metadata. I spent 48 hours in WP-CLI putting it back.

WordPress.com clearly learned from that era. The write tools ship with three safety layers, and none of them is optional if you are running a real business:

  • The agent has to describe the change it wants to make and wait for you to confirm it, so nothing reaches the database silently.
  • New posts are created with post_status = 'draft', which leaves the publish decision with you.
  • The agent inherits your role. A Contributor account cannot use it to reach the site settings an Administrator can, because every call still runs through current_user_can().

Implementing WordPress MCP AI agents safely

Setup does not need a plugin stack. You enable MCP in the dashboard, switch on the operations you actually want, say create_post or update_media, then connect your client, whether that is Claude, Cursor or ChatGPT.

If security is on your mind, and it should be, I broke down the vibe coding security risks separately. The useful part of this design is how granular the toggles are. You can turn on the media tools alone, clear out your alt text debt, and give the agent no route to your categories.

// Example: Even with MCP, you should still audit your logs
// AI changes are visible in your Activity Log.
// Use WP-CLI to audit recent posts if you're suspicious:
wp post list --post_status=draft --orderby=post_date --order=DESC

If wiring up WordPress MCP AI agents is eating your dev hours, hand it over. I have been working with WordPress since the 4.x days.

Where this lands

Clicking Add New for every small task is on its way out, and that saves real time as long as you do not leave the agent unattended. I use it to skip the dashboard diving, then read the draft myself before anything goes live.

author avatar
Ahmad Wael
I'm a WordPress and WooCommerce developer with 15+ years of experience building custom e-commerce solutions and plugins. I specialize in PHP development, following WordPress coding standards to deliver clean, maintainable code. Currently, I'm exploring AI and e-commerce by building multi-agent systems and SaaS products that integrate technologies like Google Gemini API with WordPress platforms, approaching every project with a commitment to performance, security, and exceptional user experience.