MCP WordPress Server Server
A comprehensive MCP server for managing WordPress sites, featuring a wide range of tools for performance monitoring, caching, and more.
Documentation
๐ MCP WordPress Server
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
๐ v3.3.14 - Production Ready!
๐ฏ Why This MCP Server?
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: 59 tools vs 20-30 in alternatives
- โก Fastest Setup: 2-click Claude Desktop installation via DXT
- ๐ Production Ready: 2200+ tests, security audited, battle-tested
- ๐ฏ TypeScript Native: 100% type safety, best-in-class developer experience
- ๐ Multi-Site: Manage unlimited WordPress sites from one place
๐ Quick Start
Get up and running in under 5 minutes:
Prerequisites
- WordPress: Version 5.6+ with REST API enabled
- Claude Desktop: Latest version installed
- Application Password: Generated from WordPress admin panel
3-Step Setup
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 file
Option B: NPM Global Install
npm install -g mcp-wordpress
3๏ธโฃ 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
โก Installation Options
๐ Recommended: Claude Desktop Extension (DXT)
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
๐ Complete DXT Setup Guide โ
๐ Alternative: NPX (Power Users)
# Run directly - always latest version
npx -y mcp-wordpress
# Interactive setup wizard
npm run setup
๐ง Other Options
- ๐ป NPM Setup - Local development
- ๐ณ Docker Setup - Production deployment
- ๐ง Manual Build - Custom builds
๐ Configuration
Single Site (.env)
WORDPRESS_SITE_URL=https://myblog.com
WORDPRESS_USERNAME=admin
WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
Claude 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
๐ Authentication
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
๐ What Makes This Special
| Feature | This Server | Competition |
|---|---|---|
| Tools Available | 59 tools | 20-30 tools |
| Claude Desktop DXT | โ 2-click install | โ Manual setup |
| Multi-Site Support | โ Unlimited sites | โ Single site |
| TypeScript | โ 100% coverage | โ ๏ธ Partial/None |
| Performance Monitoring | โ Real-time analytics | โ Basic only |
| Test Coverage | โ 2200+ tests, comprehensive coverage | โ ๏ธ Limited |
| Production Ready | โ Security audited | โ ๏ธ Unknown |
๐ Available Tools (59 Tools)
Content Management
- ๐ Posts (6 tools) - Create, edit, delete, list posts and revisions
- ๐ Pages (6 tools) - Manage static pages and revisions
- ๐ผ๏ธ Media (6 tools) - Upload, manage media library and files
User & Community
- ๐ฅ Users (6 tools) - User management and profiles
- ๐ฌ Comments (7 tools) - Comment moderation and management
- ๐ท๏ธ Taxonomies (10 tools) - Categories and tags management
Site Management
- โ๏ธ Site Settings (7 tools) - Site configuration and statistics
- ๐ Authentication (6 tools) - Auth testing and management
- โก Cache Management (4 tools) - Performance caching control
- ๐ Performance Monitoring (6 tools) - Real-time metrics and optimization
๐ Complete Tool Documentation | Live API Reference
๐ค Examples
๐ฌ "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
๐งช Testing & Security
npm test # Full test suite (512/512 passing)
npm run test:security # Security tests (40/40 passing)
npm run health # System health check
๐ Security Documentation โ OWASP coverage, penetration testing, compliance
๐ ๏ธ Troubleshooting
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 |
๐ Full Troubleshooting Guide
๐ Documentation
Getting Started
- Quick Start Guide - Get running in 5 minutes
- Installation Guide - Detailed setup instructions
- Configuration Guide - All configuration options
- Authentication Setup - WordPress auth methods
User Guides
- Basic Usage - Common tasks and workflows
- Advanced Workflows - Complex automation
- Multi-Site Management - Managing multiple sites
- Troubleshooting - Common issues and solutions
Integration Guides
- Claude Desktop - Complete Claude integration
- VS Code - VS Code extension setup
- Cline - Cline AI assistant integration
- Developer Guide - Build your own MCP client
Developer Documentation
- API Reference - Complete tool documentation
- Architecture - System design and decisions
- Contributing - Development guidelines
- Build System - Build and release
Deployment & Operations
- Docker Deployment - Container deployment
- Publishing Troubleshooting - Fix publishing issues
- Security Best Practices - Production security
- Caching - Performance and caching guide
๐ง Requirements
- 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 |
๐ Next Steps
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
๐ Similar Projects
- Automattic WordPress MCP - Official WordPress MCP server by Automattic
๐ Changelog
v3.3.14 (June 2026)
- ๐ Security Updates - Patch moderate Hono vulnerabilities, update allowlisted npm-bundled advisories
- ๐งช CI - Smoke-test improvements and Node 24 validation
v3.x Series (2025โ2026)
- ๐๏ธ 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 - Unlimited 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.
๐ Acknowledgments
Special thanks to Stephan Ferraro for the upstream project that inspired this implementation.
โญ Found this helpful? Give us a star on GitHub! โญ