We Built a WordPress Plugin That Lets AI Edit Your Site (And It’s Open Source)

You know that feeling when you’re chatting with an AI assistant and think: “Man, I wish you could just do this for me instead of telling me how”?

We felt that too. So we built something about it.

The short version: We created a WordPress plugin that lets AI assistants (like Claude) directly interact with your WordPress site – editing posts, managing plugins, updating Elementor pages, and more. All through conversation. 🤖


Why We Built This

Here’s the thing about working with AI on WordPress tasks:

The AI can write your content. It can suggest code changes. It can explain how to configure settings. But then you still have to:

  • Copy-paste the content into WordPress
  • Navigate to the right admin page
  • Click through multiple menus
  • Format everything correctly
  • Hope you didn’t miss a step

It’s like having a really smart assistant who can only communicate through sticky notes.

We wanted the AI to be able to actually do things. Not just talk about them.


What It Does 🔧

The plugin exposes WordPress functionality through MCP (Model Context Protocol) – basically giving AI assistants a set of “abilities” they can use.

Here’s what the AI can do once it’s connected:

📝 Content Management

  • Create, edit, and delete posts and pages
  • Surgical find-and-replace in content
  • Search across your entire site
  • Manage categories and tags

📂 Menu Management

  • Create and manage navigation menus
  • Add, update, delete menu items
  • Assign menus to theme locations
  • Build submenus with parent items

👥 User Management

  • Create, update, and delete users
  • Assign roles (admin, editor, etc.)
  • Get detailed user information
  • Reassign content when deleting

🖼️ Media Library

  • Upload images from any URL
  • Update title, alt text, captions
  • Get all image sizes and metadata
  • Delete media items

🎨 Elementor Support

  • Read and update Elementor page data
  • Find-and-replace in Elementor JSON
  • List all saved templates
  • Clear Elementor cache

⚡ GeneratePress/Blocks

  • Read and update theme settings
  • Manage global colors and typography
  • Update GenerateBlocks styles
  • Clear CSS caches

🧱 Widgets

  • List all widget sidebars
  • See widgets in each sidebar
  • List available widget types

🔌 Plugin Management

  • Upload plugins from any URL
  • Auto-activate after install
  • List all installed plugins

A Real Example: Fixing 25 Articles in Minutes

Here’s something we actually did yesterday.

We had 25 articles where the phone number in the contact section wasn’t clickable. Small thing, but it bugs people on mobile.

The old way:

  1. Open article 1
  2. Find the phone number
  3. Select it, add link, type tel:+number
  4. Save
  5. Repeat 24 more times
  6. Lose the will to live around article 12

The new way:

We told Claude: “Fix the phone numbers in these 25 articles to be clickable tel: links.”

Claude used the patch-post ability to do a surgical find-and-replace across all 25 articles. Done in about 30 seconds. ⚡


How It Works (The Simple Version)

Three plugins work together:

1. Abilities API
The WordPress.org official framework that lets plugins register “abilities” – things the site can do.

2. MCP Adapter
The bridge that exposes those abilities through the MCP protocol, so AI tools can talk to them.

3. Our Plugin
Registers all the specific abilities we want – content management, Elementor, GeneratePress, etc.

The first two are maintained by WordPress.org. Our plugin is just the “what we want to do” layer on top.


Is It Safe? 🔒

Good question. Here’s how security works:

  • Authentication required – Uses WordPress application passwords. No password, no access.
  • Permission checks – Every ability checks if the authenticated user actually has permission to do that thing.
  • Your server, your rules – The AI connects to your site. You control what’s exposed.
  • No data leaves WordPress – The plugin just opens a door. The AI reaches in, does its thing, and that’s it.

That said – don’t give admin access to anything you don’t trust. Same rule as always.


Getting Started

If you want to try it:

  1. Install Abilities API and MCP Adapter from WordPress.org
  2. Download our plugin from GitHub. We will add it to WordPress.org when we have gotten our other plugins approved.
  3. Create an application password in your WordPress profile
  4. Connect your AI tool (Claude Code, etc.) to your site’s MCP endpoint

The GitHub README has full setup instructions.


Full List of Abilities (54 Total) 📊

Here’s everything the plugin can do right now:

📝 Content (14)

  • Posts: list, get, create, update, delete, patch
  • Pages: list, get, create, update, delete, patch
  • Categories, tags, search

📂 Menus (7)

  • List all menus and locations
  • Get, create, update, delete menu items
  • Assign menus to theme locations

👥 Users (5)

  • List, get, create, update, delete users
  • Manage roles and permissions
  • Reassign content on delete

🖼️ Media (4)

  • Upload media from URL
  • Get, update, delete media items
  • Manage alt text, captions, descriptions

🧱 Widgets (3)

  • List all widget sidebars
  • Get widgets in a sidebar
  • List available widget types

🔌 Plugins (2)

  • Upload and install from URL
  • List all installed plugins

🎨 Elementor (5)

  • Get, update, patch page data
  • List templates, clear cache

⚡ GeneratePress/Blocks (5)

  • Theme settings, global colors
  • Block styles, CSS cache

The plugin is open source. If you add something useful, send a PR. 🎉


What’s Next?

We’re using this daily now on our own sites. Every time we think “ugh, I wish Claude could just do this” – we add another ability.

Some things we’re considering:

  • WooCommerce product management
  • Custom post types support
  • Options/settings management
  • Database queries (with safety limits)

The Honest Take 🎯

This isn’t magic. It won’t write your content strategy or design your site.

What it does is remove the friction between “AI suggests something” and “that thing actually happens.” Less copy-pasting. Less clicking through admin menus. Less tedious repetitive work.

For us, it’s turned hours of boring maintenance into minutes of conversation.

And honestly? That’s the future of working with AI. Not just getting advice – but having a collaborator who can actually do the work alongside you.

Give it a try. Let us know what you build. 🚀

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.