
MCP server for interacting with Elementor and WordPress through natural language
概览
A powerful, modular Model Context Protocol (MCP) server for WordPress and Elementor. This server provides AI assistants with scalable capabilities—from basic content management to advanced page building—through an intelligent configuration system. - : Much more informative 404 and connection error messages with debugging information - : list_all_content - Find all posts/pages with Elementor status indicators (✅/⚠️/❌) - : Console logging, connection diagnostics, and detailed request information - : Enhanced data retrieval with context: 'edit' for full meta access - : Automatic timeout handling and enhanced error reporting - : Added credential testing with real WordPress connections - : Scale from 20 to 34 tools based on your needs - : Create sections, containers, widgets, and complex layouts - : Incremental updates, chunked data, smart caching - : Essential → Standard → Advanced → Full progression - : Direct manipulation of sections, columns, and widgets - : Works with posts, pages,...
README
以下为原文 README 节选,完整内容请查看原文。
Elementor WordPress MCP Server v1.6.1
A powerful, modular Model Context Protocol (MCP) server for WordPress and Elementor. This server provides AI assistants with scalable capabilities—from basic content management to advanced page building—through an intelligent configuration system.
🆕 What’s New in v1.6.1
- Enhanced Error Handling: Much more informative 404 and connection error messages with debugging information
- New Content Discovery Tool:
list_all_content- Find all posts/pages with Elementor status indicators (✅/⚠️/❌) - Improved Debugging: Console logging, connection diagnostics, and detailed request information
- Better WordPress Integration: Enhanced data retrieval with
context: 'edit'for full meta access - Connection Troubleshooting: Automatic timeout handling and enhanced error reporting
- Comprehensive Test Suite: Added credential testing with real WordPress connections
✨ Key Features
- Modular Configuration: Scale from 20 to 34 tools based on your needs
- Complete Page Building: Create sections, containers, widgets, and complex layouts
- Performance Optimized: Incremental updates, chunked data, smart caching
- User-Centric Design: Essential → Standard → Advanced → Full progression
- True Elementor Integration: Direct manipulation of sections, columns, and widgets
- Universal Compatibility: Works with posts, pages, and custom post types
- Production Ready: Type-safe, thoroughly tested, comprehensive documentation
🎯 Quick Start
Choose your complexity level:
# Essential Mode (20 tools) - Perfect for beginners
ELEMENTOR_MINIMAL_MODE=true npx wp-elementor-mcp
# Standard Mode (32 tools) - Great for most users (default)
npx wp-elementor-mcp
# Advanced Mode (34 tools) - For power users
ELEMENTOR_MCP_MODE=advanced npx wp-elementor-mcp
# Full Mode (34 tools) - Everything enabled (requires Elementor Pro)
ELEMENTOR_ENABLE_ALL=true npx wp-elementor-mcp
📊 Configuration Modes
| Mode | Tools | Best For | Capabilities |
|---|---|---|---|
| Essential | 20 | Learning, basic tasks | WordPress CRUD + Basic Elementor |
| Standard | 32 | Most users | + Page building & element management |
| Advanced | 34 | Power users | + Performance tools & advanced operations |
| Full | 34 | Pro workflows | + Templates, global settings, revisions* |
*Pro features require Elementor Pro license
🛠️ Prerequisites
- Node.js 18+
- WordPress site with REST API enabled
- WordPress Application Password (not regular password)
- Elementor plugin (for page building features)
- Elementor Pro (optional, for template and global features)
📦 Installation
Option 1: NPX (Recommended)
npx wp-elementor-mcp
Option 2: Local Development
git clone https://github.com/Huetarded/wp-elementor-mcp.git
cd wp-elementor-mcp
npm install
npm run build
Option 3: Global Installation
安装
npx wp-elementor-mcp配置
{
"mcpServers": {
"elementor-wordpress": {
"command": "npx",
"args": ["wp-elementor-mcp"],
"env": {
"ELEMENTOR_MCP_MODE": "standard",
"WORDPRESS_BASE_URL": "https://yoursite.com",
"WORDPRESS_USERNAME": "your-username",
"WORDPRESS_APPLICATION_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
}
}
}
}