The Most Comprehensive WordPress MCP Server
Manage WordPress sites with natural language through AI tools like Claude Desktop
Quick Start • Why This MCP Server? Installation Options • Documentation • Examples
Transform WordPress management from complex admin panels to simple conversations:
❌ Before: Login → Admin Panel → Navigate → Click → Fill Forms → Save
✅ After: "Create a new blog post about AI trends with SEO optimization"
Key Advantages:
- 🏆 Most Complete: 71 tools vs 20-30 in alternatives
- ⚡ Fastest Setup: 2-click Claude Desktop installation via DXT
- 🔒 CI-Tested: 2750+ tests across Node 20/22/24, CodeQL + Trivy security scanning
- 🎯 TypeScript Native: 100% type safety, best-in-class developer experience
- 🌐 Multi-Site: Manage up to 50 WordPress sites from one place
Get up and running in under 5 minutes:
- WordPress: Version 5.6+ with REST API enabled
- Claude Desktop: Latest version installed
- Application Password: Generated from WordPress admin panel
1️⃣ Generate WordPress Application Password
WordPress Admin → Users → Profile → Application Passwords → Add New
2️⃣ Install MCP Server (Choose One)
Option A: DXT Extension (Easiest)
# Download and install in Claude Desktop
curl -L https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt -o mcp-wordpress.dxt
# Then: Claude Desktop → Extensions → Install → Select DXT fileOption B: NPM Global Install
npm install -g mcp-wordpress3️⃣ Test Your Connection
In Claude: "Test my WordPress connection"
Response: "✅ Authentication successful! Connected to: Your Site Name"
📺 Watch 2-minute Setup Video | 📖 Detailed Setup Guide
Easiest installation - just 2 clicks!
- Download:
mcp-wordpress.dxt(3.4MB) - Install: Claude Desktop → Extensions → Install → Select DXT file
- Configure: Enter your WordPress site URL and credentials
✅ Zero command line required ✅ Easy updates ✅ Built-in security
# Run directly - always latest version
npx -y mcp-wordpress
# Interactive setup wizard
npm run setup- 💻 NPM Setup - Local development
- 🐳 Docker Setup - Production deployment
- 🔧 Manual Build - Custom builds
Single Site (.env)
WORDPRESS_SITE_URL=https://myblog.com
WORDPRESS_USERNAME=admin
WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxxClaude Desktop Config
{
"mcpServers": {
"mcp-wordpress": {
"command": "npx",
"args": ["-y", "mcp-wordpress"],
"env": {
"WORDPRESS_SITE_URL": "https://myblog.com",
"WORDPRESS_USERNAME": "admin",
"WORDPRESS_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
}
}
}
}📖 Complete Configuration Guide — multi-site, JWT, Docker, production environments
WordPress Application Passwords are recommended:
- WordPress Admin → Users → Profile → Application Passwords → Add New
- Copy the generated password into your config
Alternative methods: JWT, Basic Auth, API Key — see Authentication Configuration
| Feature | This Server | Competition |
|---|---|---|
| Tools Available | 71 tools | 20-30 tools |
| Claude Desktop DXT | ✅ 2-click install | ❌ Manual setup |
| Multi-Site Support | ✅ Up to 50 sites | ❌ Single site |
| TypeScript | ✅ 100% TypeScript, strict mode | |
| Performance Monitoring | ✅ Real-time analytics | ❌ Basic only |
| Test Coverage | ✅ 2750+ tests, ~76% line coverage | |
| Security Scanning | ✅ CodeQL + Trivy in CI |
- 📝 Posts (6 tools) - Create, edit, delete, list posts and revisions
- 📄 Pages (6 tools) - Manage static pages and revisions
- 🖼️ Media (5 tools) - Upload, manage media library and files
- 🔍 SEO (11 tools) - Content analysis, metadata, schema markup, SERP tracking, keyword research
- 👥 Users (6 tools) - User management and profiles
- 💬 Comments (7 tools) - Comment moderation and management
- 🏷️ Taxonomies (10 tools) - Categories and tags management
- ⚙️ Site Settings (6 tools) - Site configuration and statistics
- 🔐 Authentication (3 tools) - Auth testing and management
- ⚡ Cache Management (4 tools) - Performance caching control
- 📊 Performance Monitoring (6 tools) - Real-time metrics and optimization
- 🛠️ System (1 tool) - Version checking
📖 Complete Tool Documentation | Live API Reference
💬 "Create a new blog post about AI trends with SEO optimization"
💬 "Check my WordPress site performance and provide optimization recommendations"
💬 "Find all draft posts older than 30 days and provide a summary"
💬 "Batch update all client sites with the new privacy policy footer"
💬 "List all posts from my client-blog site"
📖 More Examples | Real-World Workflows
npm test # Full test suite (2750/2750 passing, 94 files)
npm run test:security # Security tests (371/371 passing)
npm run health # System health check📖 Security Documentation — OWASP coverage, penetration testing, compliance
npm run health # System check
DEBUG=true npm run dev # Debug logging
npm run fix:rest-auth # Fix WordPress 401 errors| Error | Solution |
|---|---|
401 Unauthorized |
Regenerate application password |
403 Forbidden |
Check user role (Editor+ required) |
404 Not Found |
Verify WORDPRESS_SITE_URL |
Connection Timeout |
Check WordPress REST API access |
- Quick Start Guide - Get running in 5 minutes
- Installation Guide - Detailed setup instructions
- Configuration Guide - All configuration options
- Authentication Setup - WordPress auth methods
- Basic Usage - Common tasks and workflows
- Advanced Workflows - Complex automation
- Multi-Site Management - Managing multiple sites
- Troubleshooting - Common issues and solutions
- Claude Desktop - Complete Claude integration
- VS Code - VS Code extension setup
- Cline - Cline AI assistant integration
- Developer Guide - Build your own MCP client
- API Reference - Complete tool documentation
- Architecture - System design and decisions
- Contributing - Development guidelines
- Build System - Build and release
- Docker Deployment - Container deployment
- Publishing Troubleshooting - Fix publishing issues
- Security Best Practices - Production security
- Caching - Performance and caching guide
- WordPress 5.0+ with REST API enabled
- HTTPS recommended for production
- Application Passwords enabled (WordPress 5.6+)
| Role | Access |
|---|---|
| Administrator | Full access to all functions |
| Editor | Posts, pages, comments, media |
| Author | Own posts and media |
| Contributor | Own posts (drafts only) |
| Subscriber | Read only |
Ready to transform your WordPress management?
- 🏆 Download DXT Extension - Easiest setup (2 minutes)
- ⚡ Try NPX Method - Power user setup (5 minutes)
- 📚 Explore All Tools - See what's possible
- 💬 Join Discussions - Get help and share ideas
- Automattic WordPress MCP - Official WordPress MCP server by Automattic
- 🔒 Security Hardening - SSRF denylist, HTTPS enforcement, logger redaction, dependency floor updates
- 🐳 Docker Release Reliability - Bounded publish-job timeouts and corrected retry-on-hang logic
- 📚 DOX Documentation - Hierarchical AGENTS.md contract tree for per-directory work guidance
See CHANGELOG.md for the complete, release-by-release history.
- 🔒 Security Updates - Patch moderate Hono vulnerabilities, update allowlisted npm-bundled advisories
- 🧪 CI - Smoke-test improvements and Node 24 validation
- 🏗️ Modular Architecture - Domain-specific operation modules and composition pattern
- 🔄 Fault Tolerance - Circuit breaker pattern with automatic recovery
- 📊 2200+ Tests - Comprehensive test suite across security, cache, server, client, config, utils, tools, and performance
- ⚡ Caching Layer -
CachedWordPressClientwith configurable TTL; 50–70% faster repeat requests - 🌐 Multi-Site - Up to 50 WordPress sites from one configuration file
- 🔐 4 Auth Methods - App Passwords (recommended), JWT, Basic, API Key
- 🐳 Docker & DXT - One-click Claude Desktop extension and Docker Hub image
For the full history see CHANGELOG.md.
Special thanks to Stephan Ferraro for the upstream project that inspired this implementation.
⭐ Found this helpful? Give us a star on GitHub! ⭐