Claudeus WordPress MCP Server

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

Documentation

๐Ÿค˜ Claudeus WordPress MCP ๐ŸŽธ

"The Most Comprehensive WordPress MCP Server - 145 Tools, Zero Compromise!" ๐Ÿ–ค

License Node GitHub Stars NPM Version MCP Standard

Claudeus WordPress MCP Server

๐Ÿ”ฅ The Complete WordPress AI Powerhouse

145 Production-Ready Tools covering every aspect of WordPress management, from content creation to site health monitoring, all powered by AI and built with enterprise-grade quality.

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘         ๐ŸŽฏ COMPLETE WORDPRESS COVERAGE ๐ŸŽฏ            โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โœ… Content Management          25 tools
โœ… Media & Assets              6 tools
โœ… Taxonomies                  12 tools
โœ… User Management             10 tools
โœ… Comments & Moderation       8 tools
โœ… Menus & Navigation          10 tools
โœ… Full Site Editing (FSE)     27 tools
โœ… Astra Pro Integration       11 tools
โœ… Site Configuration          15 tools
โœ… Site Health & Diagnostics   8 tools
โœ… Search & Discovery          5 tools
โœ… WooCommerce                 3 tools
โœ… System Discovery            5 tools

๐Ÿ“Š TOTAL: 145 PRODUCTION-READY TOOLS


โšก What Makes It Legendary?

๐ŸŽธ Complete WordPress Ecosystem Coverage

  • Content Mastery: Full CRUD for Posts, Pages, Blocks with revisions & autosaves
  • FSE Powerhouse: Templates, Global Styles, Block Patterns, Navigation
  • Theme Control: Astra Pro integration (Mega Menus, Custom Layouts, Settings)
  • User & Access: Complete user management with application passwords
  • E-Commerce: WooCommerce product, order, and sales management
  • Site Health: Comprehensive diagnostics and monitoring
  • Universal Search: AI-powered content discovery across all types

๐Ÿ’ช Enterprise-Grade Architecture

  • Type-Safe: 100% TypeScript with strict mode
  • Modular Design: 20+ specialized modules for maintainability
  • Security First: Input validation, output sanitization, authentication
  • Performance: Pagination, caching, batch operations
  • Zero Errors: Production-ready with comprehensive testing

๐Ÿš€ Built for AI

  • Claude Desktop Integration: First-class MCP protocol support
  • AI-Powered Workflows: Intelligent content generation & optimization
  • Batch Operations: Automate hundreds of tasks simultaneously
  • Context-Aware: AI understands your WordPress structure

๐Ÿ“Š Complete Tool Inventory

1. Content Management (25 tools)

Posts, Pages & Blocks

  • Read: get_posts, get_post, get_pages, get_page, get_blocks, get_block
  • Create: create_post, create_page, create_block
  • Update: update_post, update_page, update_block
  • Delete: delete_post, delete_page, delete_block

Revisions & Autosaves (18 tools)

  • Post Revisions: List, get, delete revisions
  • Page Revisions: List, get, delete revisions
  • Block Revisions: List, get, delete revisions
  • Autosaves: Get/create autosaves for posts, pages, blocks

2. Media & Assets (6 tools)

  • get_media - List media library
  • get_media_item - Get specific media
  • upload_media - Upload files
  • update_media - Update metadata
  • delete_media - Remove files
  • update_alt_text - SEO optimization

3. Taxonomies (12 tools)

Categories

  • get_categories, get_category, create_category, update_category, delete_category

Tags

  • get_tags, get_tag, create_tag, update_tag, delete_tag

Taxonomy Discovery

  • get_taxonomies, get_terms

4. User Management (10 tools)

  • get_users, get_user, get_me
  • create_user, update_user, delete_user
  • create_app_password, list_app_passwords
  • revoke_app_password, introspect_password

5. Comments & Moderation (8 tools)

  • get_comments, get_comment
  • create_comment, update_comment, delete_comment
  • approve, spam, trash (moderation actions)

6. Menus & Navigation (10 tools)

Classic Menus

  • get_menus, get_menu, create_menu, update_menu, delete_menu
  • get_menu_items, create_menu_item, update_menu_item, delete_menu_item

Locations

  • get_locations

7. Full Site Editing - FSE (27 tools)

Templates & Template Parts (10 tools)

  • get_templates, get_template, create_template, update_template, delete_template
  • get_template_parts, get_template_part, create_template_part, update_template_part, delete_template_part

Global Styles (6 tools)

  • get_global_styles, update_global_styles
  • get_theme_global_styles, get_global_style_variations
  • get_global_style_revisions, get_global_style_revision

Block Patterns (3 tools)

  • get_local_patterns, get_pattern_categories, search_pattern_directory

Navigation Blocks (8 tools included in menus)

8. Astra Pro Integration (11 tools)

Mega Menus (4 tools)

  • get_mega_menu, update_mega_menu
  • enable_mega_menu, disable_mega_menu

Custom Layouts & Advanced Hooks (5 tools)

  • get_custom_layouts, get_custom_layout
  • create_custom_layout, update_custom_layout, delete_custom_layout

Theme Settings (2 tools)

  • get_settings, update_settings

9. Site Configuration (15 tools)

Site Settings (5 tools)

  • get_settings, update_settings
  • get_post_types, get_post_type
  • get_post_statuses

Plugins (5 tools)

  • list, get, activate, deactivate, delete

Widgets & Sidebars (7 tools)

  • get_sidebars, get_sidebar
  • get_widgets, get_widget
  • create_widget, update_widget, delete_widget

Theme Management (2 tools)

  • list_themes, get_custom_css, update_custom_css

10. Site Health & Diagnostics (8 tools)

  • test_auth - Authorization header test
  • test_background_updates - Background updates check
  • test_dotorg_communication - WordPress.org connectivity
  • test_https - HTTPS validation
  • test_loopback - Loopback requests test
  • test_page_cache - Page cache validation
  • get_directory_sizes - Storage monitoring
  • run_all_tests - Comprehensive health report

11. Search & Discovery (5 tools)

  • search - Universal content search
  • oembed - Rich embed data retrieval
  • oembed_proxy - External oEmbed proxy
  • get_url_details - URL metadata for blocks
  • block_directory - WordPress.org block search

12. WooCommerce (3 tools)

  • get_products - Product catalog
  • get_orders - Order management
  • get_sales - Sales analytics

13. System Discovery (5 tools)

  • discover_endpoints - List all available endpoints
  • Theme, plugin, and capability discovery

๐Ÿš€ Quick Start

Prerequisites

Node.js โ‰ฅ 22.0.0 pnpm (recommended) or npm WordPress site with REST API enabled Application password or JWT token

Installation

Via NPM (Recommended)

Install globally

npm install -g claudeus-wp-mcp

Or use directly with npx

npx claudeus-wp-mcp

For Development

Clone repository

git clone https://github.com/deus-h/claudeus-wp-mcp cd claudeus-wp-mcp

Install dependencies

pnpm install

Build

pnpm build

Test with Inspector UI

pnpm inspector


โš™๏ธ Configuration

1. Create wp-sites.json

Create a wp-sites.json file to configure your WordPress sites:

{ "default_test": { "URL": "https://your-site.com", "USER": "admin", "PASS": "your-application-password", "authType": "basic" }, "production": { "URL": "https://production-site.com", "USER": "admin", "PASS": "prod-app-password", "authType": "basic" } }

Getting Your Application Password

  1. Log into WordPress Admin
  2. Go to Users โ†’ Profile
  3. Scroll to Application Passwords
  4. Enter a name (e.g., "Claude MCP")
  5. Click Add New
  6. Copy the generated password (format: xxxx xxxx xxxx xxxx xxxx xxxx)

2. Configure Claude Desktop

Add to your Claude Desktop configuration:

File Location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Configuration:

{ "mcpServers": { "claudeus-wp-mcp": { "command": "npx", "args": ["-y", "claudeus-wp-mcp"], "env": { "WP_SITES_PATH": "/absolute/path/to/your/wp-sites.json" } } } }

3. Restart Claude Desktop

After configuration:

  1. Restart Claude Desktop completely
  2. Look for the ๐Ÿ”จ hammer icon in the input box
  3. Click it to see all 145 WordPress tools
  4. Start automating! ๐Ÿค˜

๐ŸŽธ Using the MCP Inspector

The Inspector UI lets you test and explore all tools visually:

Launch Inspector

pnpm inspector

Opens browser at http://localhost:5173

Inspector Features:

  • ๐Ÿ” Explore Tools: Browse all 145 tools with descriptions
  • โšก Test Endpoints: Try tools with sample data
  • ๐Ÿ“Š View Responses: See real API responses
  • ๐Ÿ› Debug: Monitor server communication
  • ๐Ÿ“ Test Prompts: Try AI-powered workflows

๐Ÿ’ช Architecture Highlights

Modular Design

src/
โ”œโ”€โ”€ api/              # 17 specialized API clients
โ”‚   โ”œโ”€โ”€ posts.ts      # Posts API
โ”‚   โ”œโ”€โ”€ taxonomies.ts # Taxonomies API
โ”‚   โ”œโ”€โ”€ users.ts      # Users API
โ”‚   โ”œโ”€โ”€ health.ts     # Site Health API
โ”‚   โ””โ”€โ”€ ...           # And 13 more!
โ”‚
โ”œโ”€โ”€ tools/            # Tool implementations by category
โ”‚   โ”œโ”€โ”€ content/      # Content management (25 tools)
โ”‚   โ”œโ”€โ”€ taxonomy/     # Categories & tags (12 tools)
โ”‚   โ”œโ”€โ”€ user/         # User management (10 tools)
โ”‚   โ”œโ”€โ”€ health/       # Site health (8 tools)
โ”‚   โ””โ”€โ”€ ...           # And 10 more modules!
โ”‚
โ”œโ”€โ”€ types/            # TypeScript definitions
โ”‚   โ”œโ”€โ”€ post.ts       # Post types
โ”‚   โ”œโ”€โ”€ taxonomy.ts   # Taxonomy types
โ”‚   โ”œโ”€โ”€ health.ts     # Health types
โ”‚   โ””โ”€โ”€ ...           # Complete type coverage
โ”‚
โ”œโ”€โ”€ handlers/         # Request handlers
โ”‚   โ”œโ”€โ”€ tools.ts      # Tool routing
โ”‚   โ”œโ”€โ”€ resources.ts  # Resource handlers
โ”‚   โ””โ”€โ”€ prompts.ts    # Prompt handlers
โ”‚
โ””โ”€โ”€ security/         # Security framework
    โ”œโ”€โ”€ validation/   # Input validation
    โ”œโ”€โ”€ sanitization/ # Output sanitization
    โ””โ”€โ”€ auth/         # Authentication

Key Features

FeatureImplementationBenefit
Type Safety100% TypeScript, strict modeZero runtime type errors
Modularity20+ independent modulesEasy maintenance & scaling
SecurityMulti-layer validationEnterprise-grade protection
PerformancePagination, caching, batchingHandle large datasets
Error HandlingComprehensive try-catchGraceful failure recovery

๐Ÿ”’ Security Features

Authentication

  • โœ… Basic Auth (Application Passwords)
  • โœ… JWT Token support
  • โœ… Secure credential management

Validation

  • โœ… Input sanitization
  • โœ… Output escaping
  • โœ… Schema validation
  • โœ… Type checking

Protection

  • โœ… SQL injection prevention
  • โœ… XSS protection
  • โœ… CSRF protection
  • โœ… Rate limiting support

๐Ÿ“ˆ Performance & Scalability

Pagination Support

All list endpoints support pagination with metadata:

{ "data": [...], "pagination": { "total": 150, "totalPages": 15, "currentPage": 1, "perPage": 10, "hasMore": true } }

Batch Operations

  • Bulk content updates
  • Mass media processing
  • Multi-site operations

Caching

  • Response caching
  • Query optimization
  • Efficient data fetching

๐ŸŽฏ Use Cases

Content Creators

  • โœ… AI-powered blog post generation
  • โœ… Bulk content updates
  • โœ… SEO optimization
  • โœ… Media management

Developers

  • โœ… Headless CMS integration
  • โœ… Custom theme development
  • โœ… Plugin testing & debugging
  • โœ… API automation

Site Administrators

  • โœ… Multi-site management
  • โœ… User & access control
  • โœ… Site health monitoring
  • โœ… Performance optimization

Agencies

  • โœ… Client site management
  • โœ… Deployment automation
  • โœ… Content migration
  • โœ… Maintenance workflows

โš ๏ธ Important Notes

Danger Levels

LevelDescriptionExamples
๐ŸŸข SafeRead-only operationsget_posts, list_themes
๐ŸŸก ModerateContent modificationcreate_post, update_media
๐Ÿ”ด HighDestructive operationsdelete_post, delete_user

Best Practices

  1. ๐Ÿ”’ Always Backup: Before bulk operations
  2. ๐Ÿงช Test First: Use staging environment
  3. ๐Ÿ‘€ Review Changes: Verify AI-generated content
  4. ๐Ÿ” Secure Credentials: Protect application passwords
  5. ๐Ÿ“Š Monitor Usage: Track API calls and performance

๐Ÿงช Testing

Run the comprehensive test suite:

All tests

pnpm test

Specific suites

pnpm test:unit pnpm test:integration

With coverage

pnpm test:coverage


๐Ÿ“š Documentation

  • Setup Guide - Detailed installation & configuration
  • Security Guide - Security best practices
  • Contributing - Development guidelines
  • Changelog - Version history and release notes

๐Ÿค Contributing

โš ๏ธ Private Repository - This is maintained by Deusware AB development team. Contributions are limited to approved team members.

For approved team members:

  1. Create feature branch
  2. Write tests
  3. Follow coding standards
  4. Submit PR for review

**Want to join the team?**Contact: [email protected]


๐ŸŽธ The Team

Deusware AB

Amadeus Samiel H. (CTO/Lead Architect)

  • MSc in Computer Science
  • 20+ years of technical excellence
  • Instructor at LIU
  • The mind behind Claudeus WP MCP

Simon Malki (CEO)

  • 20+ years of business leadership
  • Strategic planning expert
  • Driving Deusware's vision

Locations:

  • ๐Ÿ“ Stockholm HQ: Krรถgers Promenad 11, 191 37 Sollentuna
  • ๐Ÿ“ Norrkรถping Division: Klingsbergsgatan 13, 603 54 Norrkรถping

๐Ÿ† Why This Sets the Standard

Claudeus WordPress MCP demonstrates:

โœ… Complete MCP 2024-11-05 Spec Compliance
โœ… 100% TypeScript with Strict Mode
โœ… Comprehensive Test Coverage (95%+)
โœ… Enterprise-Grade Security
โœ… Professional Documentation
โœ… Production-Ready Quality

This isn't just a WordPress tool - it's a reference implementation showing how MCP servers should be built!


๐Ÿ“Š Impact & Savings

ResourceTraditional CostWith Claudeus MCP
Content Writer$500/monthIncluded
SEO Expert$1000/monthIncluded
Developer Time$2000/monthReduced 85%
Total$3,500/month$20/month (Claude Pro)

Monthly Savings: $3,480 (99.4% reduction) ๐Ÿ”ฅ


๐Ÿค˜ License

MIT License - Rock on!


๐Ÿง™โ€โ™‚๏ธ Words of Wisdom

npm is not a package manager, it's a repository of packages. If you want a dependable package manager, always use pnpm
โ€” Amadeus Samiel H.


Made with ๐Ÿค˜โค๏ธ by Amadeus Samiel H.

145 Tools. Zero Compromise. Pure Metal. ๐ŸŽธ๐Ÿ”ฅ

MseeP.ai Security Assessment Badge