The WordPress MCP Server enables AI agents to fully manage WordPress sites through natural language commands with 190+ tools for comprehensive control.
Key Capabilities:
Content Management: Create, update, delete, search, schedule, publish, and duplicate posts, pages, media, users, categories, tags, and comments with bulk operations support
File System Operations: Read, write, delete, copy, move, and list files within themes, plugins, and uploads directories with security validation and automatic backups
Theme Management: Activate, delete, create child themes, modify theme files, manage theme.json configurations, templates, template parts, and global styles for block themes (FSE)
Plugin Management: Activate, deactivate, delete plugins, and read/write plugin files with status checking
Navigation & Menus: Create, update, and delete menus and menu items; assign menus to theme locations with full hierarchy support
User Management: Create, update, delete users; manage roles, permissions, and capabilities; reassign content
Custom Content Types: Manage post types, taxonomies, and terms with detailed information retrieval
Shortcodes & Cron Jobs: List and execute shortcodes; schedule, unschedule, and manually run scheduled tasks
Widgets: Manage sidebars, widget areas, and widget types
Database Operations: Execute queries, manage options, and inspect tables
SEO & Metadata: Set meta descriptions, focus keywords, and custom metadata (compatible with Yoast SEO, Rank Math, All-in-One SEO)
Site Configuration: Get and update site settings, retrieve complete site information and API routes, test connections
WooCommerce Integration: Manage products, orders, customers, inventory, and reports
Gutenberg Blocks: Work with block types, patterns, reusable blocks, and templates
Security Monitoring: Check site health, updates, integrity, and debug logs
Performance Optimization: Manage cache, optimize database, process images, and convert to WebP
Backup & Migration: Create full/partial backups, restore, export/import, and clone sites
Security Features:
Multi-layer validation with automatic backups before modifications
Restricted to allowed directories and safe file extensions
Malware pattern detection and PHP syntax validation
WordPress permission system enforcement
File size limits (10MB)
Integration Support: Compatible with Claude Desktop, Cline, and any MCP-compatible AI platform.
Provides 12 tools for managing WordPress Gutenberg block editor features including block types, patterns, reusable blocks, and templates.
Enables e-commerce management through WooCommerce integration with 15 tools for managing products, orders, customers, inventory, coupons, and reports.
Provides comprehensive WordPress site management with 190+ tools for content management, file system operations, theme customization, plugin control, menu management, custom post types, shortcodes, cron jobs, widgets, and database operations.
Mentioned as an example plugin that can be managed through the plugin control tools, allowing activation and management of Yoast SEO functionality.
WordPress MCP Server
Also Available on glama.ai | Cursor.store
Video Demo : https://youtu.be/6hwMqXQFKN0
š Support This Project
If this project helps you, consider supporting its development:
Cryptocurrency Donation
Select Coin | Select Network | Contract | Deposit Address |
šŖ USDT (TetherUS) | š TRX (Tron TRC20) | Ending in |
|
Your support helps maintain and improve this project! š
WPMCP server gives AI agents complete control over WordPress sites. Connect it to Claude, Cline, or any MCP-compatible AI, and manage WordPress through natural language.
Key Capabilities:
ā Content Management - Posts, pages, media, users, comments
ā File System Access - Read and write theme/plugin files
ā Theme Customization - Create child themes, modify styles, customize block themes
ā Plugin Control - Activate, deactivate, and modify plugins
ā Menu Management - Create menus, add items, assign to locations
ā Custom Content Types - Manage post types and taxonomies
ā Shortcodes & Cron - Execute shortcodes, schedule tasks
ā Widget System - Manage sidebars and widgets
ā Database Operations - Execute queries, manage options, inspect tables
ā WooCommerce Integration - Products, orders, customers, inventory, reports
ā Gutenberg Blocks - Block types, patterns, reusable blocks, templates
ā Advanced SEO - Sitemaps, redirects, schema markup, Open Graph, analysis
ā Security Monitoring - Site health, updates, integrity checks, debug logs
ā Performance Optimization - Cache management, database optimization, image processing
ā Backup & Migration - Full/partial backups, restore, export/import, cloning
ā User Roles - Custom roles, capabilities, permissions, role management
ā Complete Security - Multi-layer validation and automatic backups
Quick Start
1. Install
2. Configure
Add to your MCP client (Claude Desktop, Cline, etc.):
3. Install WordPress Plugin (Required)
Install
wpmcp-plugin/wpmcp.zipto/wp-content/plugins/wpmcp-plugin/Activate via WordPress Admin ā Plugins ā "WordPress MCP Server Plugin"
Ensure you have
edit_themesandedit_pluginscapabilities
What the plugin enables:
File system operations (read, write, delete, copy, move)
Shortcode execution
Cron job management
All advanced WordPress features
See wpmcp-plugin/README.md for detailed setup guide.
4. Use
Available Tools (130+)
š See
Category | Tools | What You Can Do |
Posts (15) | create, update, delete, search, schedule, publish, duplicate, bulk | Manage all blog content |
Pages (4) | create, update, delete, hierarchy | Build site structure |
Media (5) | upload, update, delete, featured images | Manage images and files |
Users (4) | create, update, delete, roles | User management |
Categories (4) | create, update, delete, hierarchy | Organize content |
Tags (2) | create, get | Tag content |
Comments (4) | create, update, delete, moderate | Manage discussions |
Settings (4) | get, update site settings | Configure WordPress |
SEO (2) | meta description, focus keywords | Optimize for search |
File System (8) | read, write, delete, copy, move | Edit any file |
Theme Manager (13) | activate, child themes, theme.json, templates | Complete theme control |
Plugin Manager (10) | activate, deactivate, read/write files | Full plugin control |
Menu Manager (8) | create, add items, assign locations | Full navigation control |
Custom Types (7) | get post types, taxonomies, manage terms | Advanced content types |
Shortcodes (3) | list, execute, check existence | Shortcode system |
Cron Jobs (5) | list, schedule, unschedule, run manually | Task scheduling |
Widgets (6) | get sidebars, widgets, types, update | Widget management |
Database (6) | execute queries, manage options, list tables | Database operations |
WooCommerce (15) | products, orders, customers, inventory, coupons | E-commerce management |
Gutenberg Blocks (12) | block types, patterns, reusable blocks, templates | Modern block editor |
Security (7) | site health, updates, integrity, debug logs | Security monitoring |
Performance (8) | cache, optimization, cleanup, image processing | Performance tuning |
What You Can Do
Content Management
Theme Customization
Menu Management Examples
Plugin Management
Menu Management
Custom Post Types & Taxonomies
Shortcodes
Cron Jobs & Scheduled Tasks
Widgets
File Operations
Security Features
All operations are secure:
ā Only allowed directories (themes, plugins, uploads)
ā Only safe file extensions (.php, .css, .js, etc.)
ā Malware pattern detection
ā PHP syntax validation
ā Automatic backups before changes
ā WordPress permission system
ā File size limits (10MB)
WordPress Authentication
Self-Hosted WordPress:
Install Basic Auth plugin
Use your WordPress admin username and password
WordPress.com:
Requires Business plan or higher
Generate Application Password in Settings ā Security
Project Structure
Development
Testing
All features tested on live WordPress:
ā 21/21 tests passed
ā File operations working
ā Theme management verified
ā Plugin control confirmed
ā Security validated
API Examples
Create Post
Create Child Theme
Activate Plugin
Read Theme File
Write File
Contributing
Fork the repository
Create feature branch (
git checkout -b feature/name)Commit changes (
git commit -m 'Add feature')Push to branch (
git push origin feature/name)Open Pull Request
License
MIT License - see LICENSE
š Support This Project
If you find this project valuable, consider supporting its continued development:
Cryptocurrency Donation
Coin | Network | Contract Address | Deposit Address |
šŖ USDT (TetherUS) | š TRX (Tron TRC20) | Ending in |
|
Copy Address:
Your contributions help keep this project active and growing! Thank you for your support! š
Built for AI-powered WordPress development š