MCP WordPress Server

by docdyhr

Not rated
GitHub

About

A comprehensive MCP server for managing WordPress sites, featuring a wide range of tools for performance monitoring, caching, and more.

Details

Author
docdyhr
Categories
Developer Tools, Other

Setup

Install MCP WordPress Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/docdyhr/mcp-wordpress

Follow the installation instructions in the repository README, then restart your MCP client.

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 managementfrom 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"

- 🏆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

- 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
# 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
In Claude: "Test my WordPress connection" Response: "✅ Authentication successful! Connected to: Your Site Name"

📺Watch 2-minute Setup Video| 📖Detailed Setup Guide

🏆 Recommended: Claude Desktop Extension (DXT)

- 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 requiredEasy updatesBuilt-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

WORDPRESS_SITE_URL=https://myblog.com WORDPRESS_USERNAME=admin WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
{ "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 AdminUsersProfileApplication PasswordsAdd New
- Copy the generated password into your config

Alternative methods: JWT, Basic Auth, API Key — seeAuthentication Configuration

- 📝 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"
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

- 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 recommendedfor production
- Application Passwords enabled(WordPress 5.6+)

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

SeeCHANGELOG.mdfor 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

Special thanks toStephan Ferrarofor the upstream project that inspired this implementation.

⭐ Found this helpful?Give us a star on GitHub!⭐

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Lightweight WordPress MCP server with 42 tools. Token-optimized responses reduce REST API verbosity by 95%+. Posts, pages, users, plugins, themes, media, taxonomies, comments.

Manage and utilize website content within the DevHub CMS platform

A server for integrating with WordPress sites, enabling content management and interaction via the Model Context Protocol.

An MCP server for WordPress and Elementor, enabling AI assistants to manage content and build pages.

Model Context Protocol (MCP) server for Kinsta WordPress hosting

Manage WordPress posts and upload images directly from file paths.

MCP server for managing Squidex CMS content and schemas from AI agents

A WordPress plugin that transforms a WordPress site into an MCP server, allowing direct access to its content.

An MCP server for integrating with and managing WordPress sites.

Interact with WordPress sites via the REST API. Manage content, posts, and site configurations for multiple sites using natural language.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.