Repository navigation
Releases
WordPress MCP Server v3.0
WordPress MCP Server v3.0 - Release Notes
Version: 3.0.0
Release Date: October 25, 2025
Type: Major Update
What's New
WordPress MCP Server v3.0 expands from 49 to 190 tools, enabling AI to handle 99% of WordPress development tasks.
New Features
Developer Tools (66 tools)
- File System Operations (8) - Read/write files with automatic backups
- Theme Management (13) - Create child themes, customize theme.json
- Plugin Management (10) - Activate/deactivate, modify code
- Menu Management (8) - Build navigation menus
- Custom Post Types (7) - Manage content structures
- Shortcodes, Cron, Widgets, Database (20) - Advanced WordPress APIs
E-commerce & Modern WordPress (27 tools)
- WooCommerce (15) - Products, orders, inventory, coupons, analytics
- Gutenberg (12) - 95 block types, 156 patterns, reusable blocks
Production Features (48 tools)
- Advanced SEO (10) - Sitemaps, redirects, schema markup, Open Graph
- Security (7) - Site health, updates, integrity checks
- Performance (8) - Cache management, database optimization
- Advanced Media (5) - Image optimization, WebP conversion, cleanup
- Backup & Migration (10) - Full/partial backups, restore, clone
- User Roles (8) - Custom roles, capabilities, permissions
Installation
npm install -g wpmcp@3.0.0Upload wpmcp-plugin folder to WordPress and activate.
What AI Can Do
- Build complete WordPress + WooCommerce sites
- Develop custom themes with Gutenberg
- Manage plugins and code
- Database operations
- Advanced SEO optimization
- Backup and disaster recovery
- Performance optimization
- User role management
Breaking Changes
None. All v2.x tools remain compatible.
Requirements
- Node.js 18+
- WordPress 5.0+
- PHP 7.2+
Documentation
- README.md - Quick start
- WPMCP_TOOLS.MD - All 190 tools
- wpmcp-plugin/README.md - Plugin setup
Total: 190 tools | 99% coverage | Production ready
WPMCP Server v2.0
WordPress MCP Server v2.0 - Production Release Summary
Release Date: 2025-10-24
Version: 2.0.0
Status: ✅ Production Ready
Tools: 95 (94% increase from v1.0)
🎉 Release Highlights
Major Upgrade: 49 → 95 Tools
This release transforms the WordPress MCP Server from a basic content management tool into a complete WordPress development platform for AI agents.
New Capabilities:
- ✅ File system access (read/write any WordPress file)
- ✅ Theme customization (child themes, theme.json, templates)
- ✅ Plugin management (activate, deactivate, modify code)
- ✅ Menu builder (navigation menus with locations)
- ✅ Custom content types (post types and taxonomies)
- ✅ Enterprise security (8-layer protection)
- ✅ Automatic backups (rollback capability)
📊 What's New in v2.0
File System Operations (8 tools)
Enable AI to read and write WordPress files securely.
Tools:
wordpress_read_file- Read any allowed filewordpress_write_file- Create/modify files with backupwordpress_delete_file- Remove files safelywordpress_copy_file- Duplicate fileswordpress_move_file- Rename/relocate fileswordpress_list_files- Browse directorieswordpress_file_info- Get file metadata
Use Cases:
- Customize theme CSS and PHP
- Modify plugin configuration
- Create custom templates
- Edit functions.php safely
Security:
- Path whitelisting (only safe directories)
- Extension validation
- Malware detection
- Automatic backups
- PHP syntax validation
Theme Management (13 tools)
Complete control over WordPress themes.
Tools:
wordpress_get_themes_detailed- List all themeswordpress_activate_theme- Switch active themewordpress_get_active_theme- Get current themewordpress_create_child_theme- Generate child theme automaticallywordpress_get_theme_mods- Get customizer settingswordpress_delete_theme- Remove themewordpress_get_theme_json- Get FSE configurationwordpress_update_theme_json- Modify theme.jsonwordpress_read_theme_file- Read theme fileswordpress_write_theme_file- Modify theme fileswordpress_list_theme_files- Browse theme directorywordpress_get_theme_templates- Get block templateswordpress_get_template_parts- Get template partswordpress_get_global_styles- Get site editor styleswordpress_theme_exists- Check theme installation
Use Cases:
- Create custom child themes
- Modify theme appearance
- Customize block themes (FSE)
- Change color palettes
- Update typography settings
Plugin Management (10 tools)
Full plugin lifecycle control.
Tools:
wordpress_get_plugins_detailed- List all pluginswordpress_activate_plugin- Activate pluginwordpress_deactivate_plugin- Deactivate pluginwordpress_delete_plugin- Remove pluginwordpress_read_plugin_file- Read plugin codewordpress_write_plugin_file- Modify plugin codewordpress_list_plugin_files- Browse plugin directorywordpress_get_active_plugins- Get active pluginswordpress_plugin_exists- Check plugin installationwordpress_get_plugin_status- Get plugin details
Use Cases:
- Enable/disable plugins
- Configure plugin settings
- Modify plugin behavior
- Create custom plugins
- Read plugin documentation
Menu Management (8 tools)
Build and manage navigation menus.
Tools:
wordpress_get_menus- List all menuswordpress_create_menu- Create new menuwordpress_delete_menu- Remove menuwordpress_get_menu_items- Get menu structurewordpress_create_menu_item- Add menu itemwordpress_update_menu_item- Modify itemwordpress_delete_menu_item- Remove itemwordpress_get_menu_locations- Get theme locationswordpress_assign_menu_to_location- Assign menu
Use Cases:
- Create site navigation
- Build header/footer menus
- Link to pages and posts
- Organize menu hierarchy
- Assign menus to theme locations
Custom Post Types & Taxonomies (7 tools)
Manage WordPress content structures.
Tools:
wordpress_get_post_types- List all post typeswordpress_get_post_type- Get post type detailswordpress_get_taxonomies- List all taxonomieswordpress_get_taxonomy- Get taxonomy detailswordpress_get_terms- Get taxonomy termswordpress_create_term- Create new termwordpress_update_term- Modify termwordpress_delete_term- Remove term
Use Cases:
- Explore WordPress content structure
- Manage categories and tags
- Work with custom taxonomies
- Create custom terms
- Organize content hierarchically
🔒 Security Enhancements
All new features include enterprise-grade security:
Multi-Layer Protection
- Path Validation - Only allowed directories accessible
- Extension Whitelisting - Only safe file types (.php, .css, .js, etc.)
- Malware Detection - Forbidden pattern scanning (eval, shell_exec, etc.)
- PHP Validation - Syntax checking before write
- Automatic Backups - Created before all modifications
- Permission Checks - WordPress capability system enforced
- File Size Limits - 10MB maximum per file
- Protected Backups - Backup directory secured with .htaccess
Allowed Directories
wp-content/themes/wp-content/plugins/wp-content/uploads/wp-content/mu-plugins/
Backup System
- Automatic backup before file modifications
- Stored in
wp-content/wpmcp-backups/ - Includes metadata (timestamp, user, original path)
- Protected from web access
- Easy manual restore capability
🎯 Capability Comparison
v1.0 (49 tools) - Content Manager
AI could:
- Create and manage posts, pages, media
- Manage users, categories, tags, comments
- Configure basic site settings
- View installed plugins and themes
AI could NOT:
- Customize theme code
- Modify plugin code
- Create child themes
- Manage menus
- Access file system
Developer Replacement: ~30% of tasks
v2.0 (95 tools) - WordPress Developer
AI can now:
- Everything from v1.0 PLUS:
- Read and write any WordPress file
- Create child themes automatically
- Customize theme.json (FSE)
- Activate/deactivate plugins
- Modify plugin and theme code
- Build navigation menus
- Manage custom post types and taxonomies
- Safe file operations with backups
Developer Replacement: ~75% of tasks
💼 Real-World Use Cases
Use Case 1: E-commerce Site Setup
AI: "Create a child theme of Twenty Twenty-Five called 'My Shop'.
Add custom CSS for product grids.
Create a menu with Shop, About, Contact links.
Activate WooCommerce plugin.
Customize theme colors to match brand."
✅ AI handles this complete workflow
Use Case 2: Custom Blog Theme
AI: "Create child theme 'Tech Blog Pro'.
Modify theme.json to use dark mode colors.
Add custom functions.php code for breadcrumbs.
Create custom post template.
Build header and footer menus.
Activate the theme."
✅ AI builds custom theme from scratch
Use Case 3: Plugin Customization
AI: "Activate Contact Form 7.
Read its main configuration file.
Modify form styling.
Create custom email template.
Save changes with backup."
✅ AI customizes plugins at code level
📈 Testing Results
Comprehensive Testing: 31/31 Tests Passed (100%)
File System Tests (8/8) ✅
- Read, write, delete, copy, move operations
- Security validation working
- Backup system functional
Theme Management Tests (8/8) ✅
- Theme activation
- Child theme creation
- File modification
- theme.json customization
Plugin Management Tests (5/5) ✅
- Plugin activation/deactivation
- File read/write
- Status checking
Menu Management Tests (3/3) ✅
- Menu creation
- Item management
- Location assignment
Custom Post Types Tests (3/3) ✅
- Post type retrieval
- Taxonomy listing
- Term management
Security Tests (4/4) ✅
- Path traversal blocked
- Unauthorized access denied
- Malware patterns detected
- Backup system working
🚀 Getting Started
Installation
# Install globally
npm i -g wpmcp
# Or use with npx
npx wpmcpWordPress Plugin Required
For file operations, install the companion plugin:
- Upload
wordpress-plugin/wpmcp-filesystem.phpto WordPress - Activate via WordPress Admin → Plugins
- Verify you have
edit_themesandedit_pluginscapabilities
Configuration
{
"mcpServers": {
"wordpress": {
"command": "npx",
"args": ["-y", "wpmcp"],
"env": {
"WORDPRESS_URL": "https://your-site.com",
"WORDPRESS_USERNAME": "admin",
"WORDPRESS_PASSWORD": "your-app-password"
}
}
}
}First Commands to Try
"Create a child theme called 'My Custom Theme'"
"Activate Contact Form 7 plugin"
"Create a navigation menu"
"Get all post types"
"Read my theme's style.css file"
📦 What's Included
Core Package
- MCP server with 95 tools
- Type-safe TypeScript implementation
- Comprehensive error handling
- Production-ready code
WordPress Plugin
- Secure file system operations
- REST API endpoints
- Automatic backup system
- Security validation
Documentation
- Simple README with examples
- Complete feature roadmap
- Architecture design
- Testing guide
- Plugin setup instructions
🎓 Technical Improvements
Code Quality
- ✅ Full TypeScript type safety
- ✅ Consistent e...