MCP WordPress Server Server

Server MCP yang komprehensif untuk mengelola situs WordPress, dilengkapi dengan berbagai alat untuk pemantauan kinerja, caching, dan lainnya.

Dokumentasi

๐Ÿš€ MCP WordPress Server

WordPress MCP Logo

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

CI/CD Pipeline GitHub Stars NPM Version NPM Downloads NPM Total Downloads Docker Pulls Coverage Status MCP Evaluation

TypeScript CodeQL Docker License

๐ŸŽ‰ 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!

  1. Download: mcp-wordpress.dxt (3.4MB)
  2. Install: Claude Desktop โ†’ Extensions โ†’ Install โ†’ Select DXT file
  3. 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

๐Ÿ“‹ 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:

  1. WordPress Admin โ†’ Users โ†’ Profile โ†’ Application Passwords โ†’ Add New
  2. Copy the generated password into your config

Alternative methods: JWT, Basic Auth, API Key โ€” see Authentication Configuration

๐ŸŒŸ What Makes This Special

FeatureThis ServerCompetition
Tools Available59 tools20-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
ErrorSolution
401 UnauthorizedRegenerate application password
403 ForbiddenCheck user role (Editor+ required)
404 Not FoundVerify WORDPRESS_SITE_URL
Connection TimeoutCheck WordPress REST API access

๐Ÿ“– Full Troubleshooting Guide

๐Ÿ“š Documentation

Getting Started

User Guides

Integration Guides

Developer Documentation

Deployment & Operations

๐Ÿ”ง Requirements

  • WordPress 5.0+ with REST API enabled
  • HTTPS recommended for production
  • Application Passwords enabled (WordPress 5.6+)
RoleAccess
AdministratorFull access to all functions
EditorPosts, pages, comments, media
AuthorOwn posts and media
ContributorOwn posts (drafts only)
SubscriberRead only

๐Ÿš€ Next Steps

Ready to transform your WordPress management?

  1. ๐Ÿ† Download DXT Extension - Easiest setup (2 minutes)
  2. โšก Try NPX Method - Power user setup (5 minutes)
  3. ๐Ÿ“š Explore All Tools - See what's possible
  4. ๐Ÿ’ฌ Join Discussions - Get help and share ideas

๐Ÿ”— Similar Projects


๐Ÿ“‹ 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 - CachedWordPressClient with 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! โญ