MCP Hub
Back to servers

mcp-expose-abilities

Let AI assistants edit your WordPress site. 54 abilities for content, menus, users, media, Elementor, and more.

Stars
4
Tools
86
Updated
Jan 7, 2026
Validated
Jan 9, 2026

MCP Expose Abilities

Let AI assistants edit your WordPress site via MCP.

GitHub release License: GPL v2 WordPress PHP

Tested up to: 6.9 Stable tag: 3.0.9 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

What It Does

This plugin exposes WordPress functionality through MCP (Model Context Protocol), enabling AI assistants like Claude to directly interact with your WordPress site. No more copy-pasting between chat and admin.

Example: "Fix the phone numbers in these 25 articles to be clickable tel: links." - Done in 30 seconds, all 25 articles.

Modular Architecture

Version 3.0 introduced a modular architecture. The core plugin provides WordPress-native abilities, while vendor-specific features are available as separate add-on plugins:

PluginAbilitiesDescription
MCP Expose Abilities (core)49WordPress core: content, menus, users, media, widgets, plugins, options, system
MCP Abilities - Filesystem10File operations with security hardening
MCP Abilities - Elementor6Elementor page builder integration
MCP Abilities - GeneratePress5GeneratePress theme + GenerateBlocks
MCP Abilities - Cloudflare1Cloudflare cache management
MCP Abilities - Email8Gmail API with service account

Total ecosystem: 79 abilities

Install only what you need. Running GeneratePress? Install that add-on. Don't use Elementor? Skip it.

Requirements

Installation

  1. Install and activate the required plugins (Abilities API and MCP Adapter)
  2. Download the latest release from Releases
  3. Upload via WordPress Admin → Plugins → Add New → Upload Plugin
  4. Activate the plugin
  5. (Optional) Install add-on plugins for vendor-specific features

Core Plugin Abilities (49)

Content Management (20)

AbilityDescription
content/list-postsList posts with filtering by status, category, author, search
content/get-postGet single post by ID or slug
content/create-postCreate new post
content/update-postUpdate existing post
content/delete-postDelete post (trash or permanent)
content/patch-postFind/replace in post content
content/list-pagesList pages with filtering
content/get-pageGet single page by ID or slug
content/create-pageCreate new page
content/update-pageUpdate existing page
content/delete-pageDelete page
content/patch-pageFind/replace in page content
content/list-categoriesList all categories
content/list-tagsList all tags
content/create-tagCreate new tag
content/list-mediaList media items
content/list-usersList users
content/searchSearch across posts, pages, media
content/list-revisionsList revisions for a post/page
content/get-revisionGet specific revision details

Menu Management (7)

AbilityDescription
menus/listList all menus and theme locations
menus/get-itemsGet items from a menu
menus/createCreate new menu
menus/add-itemAdd item to menu
menus/update-itemUpdate menu item
menus/delete-itemDelete menu item
menus/assign-locationAssign menu to theme location

User Management (5)

AbilityDescription
users/listList users with roles
users/getGet user by ID, login, or email
users/createCreate new user
users/updateUpdate user
users/deleteDelete user (can reassign content)

Media Library (4)

AbilityDescription
media/uploadUpload media from URL
media/getGet media item details and sizes
media/updateUpdate title, alt, caption
media/deleteDelete media item

Widget Management (3)

AbilityDescription
widgets/list-sidebarsList all widget areas
widgets/get-sidebarGet widgets in a sidebar
widgets/list-availableList available widget types

Plugin Management (5)

AbilityDescription
plugins/uploadUpload plugin from URL
plugins/listList installed plugins
plugins/activateActivate installed plugin
plugins/deactivateDeactivate active plugin
plugins/deleteDelete inactive plugin

Comments (6)

AbilityDescription
comments/listList comments with filtering
comments/getGet single comment details
comments/createCreate top-level comment
comments/replyReply to existing comment
comments/update-statusUpdate comment status (approve, spam, trash)
comments/deleteDelete comment

Options (3)

AbilityDescription
options/getGet option value
options/updateUpdate option (protected options blocked)
options/listList all options

System (3)

AbilityDescription
system/get-transientGet transient value
system/debug-logRead debug.log file
system/toggle-debugToggle WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY

Add-on Plugin Abilities

Filesystem (mcp-abilities-filesystem) - 10 abilities

AbilityDescription
filesystem/get-changelogGet plugin/theme changelog
filesystem/read-fileRead file contents (security hardened)
filesystem/write-fileWrite file (PHP code blocked)
filesystem/append-fileAppend to file
filesystem/list-directoryList directory contents
filesystem/delete-fileDelete file (creates backup)
filesystem/file-infoGet file metadata
filesystem/create-directoryCreate directory
filesystem/copy-fileCopy file
filesystem/move-fileMove/rename file

Elementor (mcp-abilities-elementor) - 6 abilities

AbilityDescription
elementor/get-dataGet Elementor JSON for a page
elementor/update-dataReplace Elementor JSON
elementor/patch-dataFind/replace in Elementor JSON
elementor/update-elementUpdate specific element by ID
elementor/list-templatesList saved templates
elementor/clear-cacheClear CSS cache

GeneratePress (mcp-abilities-generatepress) - 5 abilities

AbilityDescription
generatepress/get-settingsGet theme settings
generatepress/update-settingsUpdate theme settings
generateblocks/get-global-stylesGet global styles
generateblocks/update-global-stylesUpdate global styles
generateblocks/clear-cacheClear CSS cache

Cloudflare (mcp-abilities-cloudflare) - 1 ability

AbilityDescription
cloudflare/clear-cacheClear Cloudflare cache (entire site or specific URLs)

Email (mcp-abilities-email) - 8 abilities

AbilityDescription
gmail/configureSet up Gmail API service account credentials
gmail/statusCheck API connection status and configuration
gmail/listList inbox messages with filtering
gmail/getGet full email content by ID
gmail/sendSend email with HTML, attachments, CC, BCC
gmail/modifyModify labels (archive, mark read/unread, etc.)
gmail/replyReply to an existing email thread
email/sendSend email via WordPress wp_mail (fallback)

Usage with Claude Code

1. Create Application Password

WordPress Admin → Users → Your Profile → Application Passwords

2. Add MCP Server

claude mcp add wordpress-mysite "https://yoursite.com/wp-json/mcp/mcp-adapter-default-server" \
  -t http \
  -H "Authorization: Basic $(echo -n 'username:application-password' | base64)"

3. Start Using

Now Claude can directly edit your WordPress site through conversation.

Examples

Create a new page

{
  "ability_name": "content/create-page",
  "parameters": {
    "title": "About Us",
    "content": "<!-- wp:paragraph --><p>Hello world!</p><!-- /wp:paragraph -->",
    "status": "publish"
  }
}

Add menu item

{
  "ability_name": "menus/add-item",
  "parameters": {
    "menu_id": 5,
    "title": "Contact",
    "url": "/contact/"
  }
}

Upload media from URL

{
  "ability_name": "media/upload",
  "parameters": {
    "url": "https://example.com/image.jpg",
    "title": "Hero Image",
    "alt_text": "Beautiful sunset"
  }
}

Batch find/replace

{
  "ability_name": "content/patch-post",
  "parameters": {
    "id": 123,
    "find": "+44 203 3181 832",
    "replace": "<a href=\"tel:+442033181832\">+44 203 3181 832</a>"
  }
}

Security

  • Authentication required - Uses WordPress application passwords
  • Permission checks - Every ability verifies user capabilities
  • Your server - AI connects to your site, you control access
  • Protected options - Critical settings blocked from modification
  • Filesystem hardening - PHP code detection, path traversal protection (in add-on)

Architecture

Three-plugin stack plus optional add-ons:

  1. Abilities API - Framework for registering abilities (WordPress core team)
  2. MCP Adapter - MCP protocol layer (WordPress core team)
  3. MCP Expose Abilities (this plugin) - Core WordPress abilities
  4. Add-on plugins (optional) - Vendor-specific abilities

Changelog

3.0.9

  • Security: Added per-item capability checks for content, media, users, and comments

3.0.8

  • Added: plugins/activate ability to activate installed plugins
  • Added: plugins/deactivate ability to deactivate active plugins

3.0.7

  • Improved: All 47 ability descriptions now include parameter hints

3.0.6

  • Added: comments/create ability for top-level comments

3.0.5

  • Added: plugins/delete ability to remove inactive plugins

3.0.4

  • Fixed: Use WP_Filesystem API instead of native PHP functions
  • Fixed: Replaced wp_get_sidebars_widgets with direct option call

3.0.3

  • Added: Revisions abilities (content/list-revisions, content/get-revision)
  • Added: Comments abilities (list, get, create, reply, update-status, delete)
  • Added: author_id parameter for content creation

3.0.0

  • Breaking: Modular architecture - vendor-specific abilities moved to add-on plugins
  • Core plugin now contains only WordPress-native abilities
  • Add-on plugins: Filesystem (10), Elementor (6), GeneratePress (5), Cloudflare (1), Email (8)
  • Cleaner installation - install only what you need

2.2.12

  • Security: Added protected options blocklist (active_plugins, siteurl, admin_email, etc.)
  • Security: Prevents accidental site breakage via options/update

2.2.11

  • Security: Added UTF-7 and UTF-16 encoding bypass detection
  • Security: Blocks encoded PHP injection attempts

2.2.10

  • Security: Major filesystem security hardening
  • Security: PHP code detection in file writes
  • Security: Path traversal protection
  • Security: Restricted to wp-content directory

2.1.0

  • Added: Filesystem abilities
  • Added: Options abilities
  • Added: System abilities
  • Added: Cloudflare cache clear ability
  • Added: elementor/update-element for targeted element updates

2.0.0

  • Added: Menu, User, Media, Widget, Page abilities

1.0.0

  • Initial release

Contributing

PRs welcome! For vendor-specific abilities, consider creating an add-on plugin.

License

GPL-2.0+

Author

Devenia - We've been doing SEO and web development since 1993.

Links

Reviews

No reviews yet

Sign in to write a review