productivitydeveloper-tools

WordPress

raheesahmed

by raheesahmed

Easily manage WP sites: posts, pages, users, plugins, themes, comments & more. Reliable wp manage tools integrated with

Integrates with WordPress REST API to provide complete site management including posts, pages, media uploads, user management, comments, categories, tags, plugins, themes, menus, and site settings through 49+ tools with Basic authentication and robust error handling.

github stars

42

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

190+ management toolsFile system access for themes and pluginsNatural language WordPress control

best for

  • / WordPress developers automating site management tasks
  • / Content creators managing multiple WordPress sites
  • / Agencies handling client WordPress maintenance
  • / Building AI-powered WordPress management workflows

capabilities

  • / Create and edit posts, pages, and custom content types
  • / Upload and manage media files
  • / Install and configure themes and plugins
  • / Manage users, comments, and site settings
  • / Execute database queries and custom code
  • / Create and modify menus and widgets

what it does

Connects AI assistants to WordPress sites through the REST API, allowing natural language management of content, themes, plugins, and site settings. Provides 190+ tools for complete WordPress control without needing to use the admin dashboard.

about

WordPress is a community-built MCP server published by raheesahmed that provides AI assistants with tools and capabilities via the Model Context Protocol. Easily manage WP sites: posts, pages, users, plugins, themes, comments & more. Reliable wp manage tools integrated with It is categorized under productivity, developer tools.

how to install

You can install WordPress in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

WordPress is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

WPMCP Logo # WordPress MCP Server

Enable AI to manage WordPress sites like a professional developer

190+ tools for complete WordPress control

Also Available on glama.ai | Cursor.store [![npm version](https://img.shields.io/npm/v/wpmcp.svg)](https://www.npmjs.com/package/wpmcp) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![WordPress](https://img.shields.io/badge/WordPress-5.0+-blue.svg)](https://wordpress.org)
--- Video Demo : https://youtu.be/6hwMqXQFKN0 ## 💝 Support This Project If this project helps you, consider supporting its development: **Cryptocurrency Donation** | **Select Coin** | **Select Network** | **Contract** | **Deposit Address** | |-----------------|-------------------|--------------|---------------------| | 🪙 **USDT** (TetherUS) | 🔗 **TRX** (Tron TRC20) | Ending in `jLj6t` | `TBJBb7fKyRdhqmWETyZoNP4X98mPk2Jxrt` | Your support helps maintain and improve this project! 🙏 WPMCP server gives AI agents complete control over WordPress sites. Connect it to Claude, Cline, or any MCP-compatible AI, and manage WordPress through natural language. **Key Capabilities:** - ✅ **Content Management** - Posts, pages, media, users, comments - ✅ **File System Access** - Read and write theme/plugin files - ✅ **Theme Customization** - Create child themes, modify styles, customize block themes - ✅ **Plugin Control** - Activate, deactivate, and modify plugins - ✅ **Menu Management** - Create menus, add items, assign to locations - ✅ **Custom Content Types** - Manage post types and taxonomies - ✅ **Shortcodes & Cron** - Execute shortcodes, schedule tasks - ✅ **Widget System** - Manage sidebars and widgets - ✅ **Database Operations** - Execute queries, manage options, inspect tables - ✅ **WooCommerce Integration** - Products, orders, customers, inventory, reports - ✅ **Gutenberg Blocks** - Block types, patterns, reusable blocks, templates - ✅ **Advanced SEO** - Sitemaps, redirects, schema markup, Open Graph, analysis - ✅ **Security Monitoring** - Site health, updates, integrity checks, debug logs - ✅ **Performance Optimization** - Cache management, database optimization, image processing - ✅ **Backup & Migration** - Full/partial backups, restore, export/import, cloning - ✅ **User Roles** - Custom roles, capabilities, permissions, role management - ✅ **Complete Security** - Multi-layer validation and automatic backups ## Quick Start ### 1. Install ```bash npm i -g [email protected] ``` ### 2. Configure Add to your MCP client (Claude Desktop, Cline, etc.): ```json { "mcpServers": { "wordpress": { "command": "npx", "args": ["-y", "[email protected]"], "env": { "WORDPRESS_URL": "https://your-site.com", "WORDPRESS_USERNAME": "admin", "WORDPRESS_PASSWORD": "your-app-password" } } } } ``` ### 3. Install WordPress Plugin (Required) 1. Install `wpmcp-plugin/wpmcp.zip` to `/wp-content/plugins/wpmcp-plugin/` 2. Activate via WordPress Admin → Plugins → "WordPress MCP Server Plugin" 3. Ensure you have `edit_themes` and `edit_plugins` capabilities **What the plugin enables:** - File system operations (read, write, delete, copy, move) - Shortcode execution - Cron job management - All advanced WordPress features See [`wpmcp-plugin/README.md`](./wpmcp-plugin/README.md) for detailed setup guide. ### 4. Use ``` "Create a child theme called 'My Custom Theme'" "Activate Akismet plugin" "Read the style.css file from my theme" "Create a blog post about WordPress and publish it" ``` ## Available Tools (130+) **👉 See [`WPMCP_TOOLS.MD`](./WPMCP_TOOLS.MD) for complete detailed list of all 130 tools.** | Category | Tools | What You Can Do | |----------|-------|-----------------| | **Posts** (15) | create, update, delete, search, schedule, publish, duplicate, bulk | Manage all blog content | | **Pages** (4) | create, update, delete, hierarchy | Build site structure | | **Media** (5) | upload, update, delete, featured images | Manage images and files | | **Users** (4) | create, update, delete, roles | User management | | **Categories** (4) | create, update, delete, hierarchy | Organize content | | **Tags** (2) | create, get | Tag content | | **Comments** (4) | create, update, delete, moderate | Manage discussions | | **Settings** (4) | get, update site settings | Configure WordPress | | **SEO** (2) | meta description, focus keywords | Optimize for search | | **File System** (8) | read, write, delete, copy, move | Edit any file | | **Theme Manager** (13) | activate, child themes, theme.json, templates | Complete theme control | | **Plugin Manager** (10) | activate, deactivate, read/write files | Full plugin control | | **Menu Manager** (8) | create, add items, assign locations | Full navigation control | | **Custom Types** (7) | get post types, taxonomies, manage terms | Advanced content types | | **Shortcodes** (3) | list, execute, check existence | Shortcode system | | **Cron Jobs** (5) | list, schedule, unschedule, run manually | Task scheduling | | **Widgets** (6) | get sidebars, widgets, types, update | Widget management | | **Database** (6) | execute queries, manage options, list tables | Database operations | | **WooCommerce** (15) | products, orders, customers, inventory, coupons | E-commerce management | | **Gutenberg Blocks** (12) | block types, patterns, reusable blocks, templates | Modern block editor | | **Security** (7) | site health, updates, integrity, debug logs | Security monitoring | | **Performance** (8) | cache, optimization, cleanup, image processing | Performance tuning | ## What You Can Do ### Content Management ``` "Create a blog post about AI and publish it" "Upload an image and set it as featured image for post 5" "Get all draft posts" "Create a new page called 'About Us'" ``` ### Theme Customization ``` "Create a child theme of Twenty Twenty-Five" "Read my theme's functions.php file" "Add custom CSS to make headers blue" "Get the theme.json configuration" "List all files in my theme" ``` ### Menu Management Examples ```typescript // Create menu { "name": "Main Navigation", "description": "Primary site menu" } // Add menu item { "title": "Home", "url": "https://yoursite.com", "menus": 3 } // Get menu locations // No parameters needed // Assign menu to location { "location": "primary", "menuId": 3 } ``` ### Plugin Management ``` "Show me all installed plugins" "Activate the Contact Form 7 plugin" "Read the main WooCommerce plugin file" "Deactivate Hello Dolly" "Check if Yoast SEO is installed" ``` ### Menu Management ``` "Create a new menu called 'Main Navigation'" "Add a Home link to the menu" "Get all registered menu locations" "Assign the Main Navigation menu to primary location" "Show me all menu items in the Main menu" ``` ### Custom Post Types & Taxonomies ``` "Show me all registered post types" "Get details for the 'page' post type" "Get all taxonomies" "Show me all categories" "Create a new category called 'Technology'" ``` ### Shortcodes ``` "List all registered shortcodes" "Execute [gallery ids='1,2,3']" "Check if 'contact-form' shortcode exists" ``` ### Cron Jobs & Scheduled Tasks ``` "Show me all scheduled cron jobs" "Schedule a daily backup task" "Run WordPress cron manually" "Get available cron schedules" ``` ### Widgets ``` "Get all widget areas" "Show me all available widget types" "Get widgets in the sidebar" "List inactive widgets" ``` ### File Operations ``` "Read style.css from my theme" "Create a new custom.css file in my theme" "Copy functions.php to functions-backup.php" "Delete old-template.php with backup" ``` ## Security Features All operations are secure: - ✅ Only allowed directories (themes, plugins, uploads) - ✅ Only safe file extensions (.php, .css, .js, etc.) - ✅ Malware pattern detection - ✅ PHP syntax validation - ✅ Automatic backups before changes - ✅ WordPress permission system - ✅ File size limits (10MB) ## WordPress Authentication **Self-Hosted WordPress:** 1. Install [Basic Auth plugin](https://github.com/WP-API/Basic-Auth) 2. Use your WordPress admin username and password **WordPress.com:** 1. Requires Business plan or higher 2. Generate Application Password in Settings → Security ## Project Structure ``` src/tools/ ├── posts.ts # 15 post management tools ├── pages.ts # 4 page tools ├── media.ts # 5 media tools ├── filesystem.ts # 8 file system tools ├── themes.ts # 13 theme management tools ├── plugins.ts # 10 plugin management tools ├── menus.ts # 8 menu management tools └── all-features.ts # Users, categories, tags, comments, settings, SEO filesystem-plugin/ └── wpmcp-filesystem.php # Required for file operations ``` ## Development ```bash # Clone repository git clone https://github.com/RaheesAhmed/wordpress-mcp-server.git cd wordpress-mcp-server # Install dependencies npm install # Build npm run build # Run npm start ``` ## Testing All features tested on live WordPress: - ✅ 21/21 tests passed - ✅ File operations working - ✅ Theme management verified - ✅ Plugin control confirmed - ✅ Security validated ## API Examples ### Create Post ```typescript { "title": "My Post", "content": "

Content here

", "status": "publish" } ``` ### Create Child Theme ```typescript { "parentTheme": "twentytwentyfive", "childName": "My Custom Theme" } ``` ### Activate Plugin ```typescript { "plugin": "akismet/akismet" } ``` ### Read Theme File ```typescript { "theme": "mytheme", "filePath": "functions.php" } ``` ### Write File ```typescript { "path": "wp-content/themes/mytheme/custom.css", "content": "/* Custom styles */", "createBackup": true } ``` ## Contributing 1. Fork the repos ---

FAQ

What is the WordPress MCP server?
WordPress is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for WordPress?
This profile displays 28 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.8 out of 5—verify behavior in your own environment before production use.

Use Cases

Extended AI Capabilities

Add new capabilities to Claude beyond text generation

Example

Access external data sources, execute code, interact with tools and services

Transform Claude from chatbot to action-taking agent

Context Enhancement

Provide Claude with access to relevant context and data

Example

Load project documentation, access knowledge bases, query databases

Get more accurate, context-aware responses

Workflow Automation

Automate multi-step workflows combining AI and external tools

Example

Research → Summarize → Create document → Send notification

Complete complex tasks end-to-end without manual steps

Implementation Guide

Prerequisites

  • Claude Desktop 0.7.0+ or Cursor IDE with MCP support
  • Basic understanding of MCP architecture and capabilities
  • Access credentials for integrated services (if required)
  • Willingness to experiment and iterate on configuration

Time Estimate

15-60 minutes depending on server complexity

Installation Steps

  1. 1.Install MCP server: npm install -g [package-name] or via GitHub
  2. 2.Add server configuration to ~/.claude/mcp.json
  3. 3.Provide required credentials and configuration
  4. 4.Restart Claude Desktop to load new server
  5. 5.Test basic functionality with simple prompts
  6. 6.Explore capabilities and experiment with use cases
  7. 7.Document successful patterns for reuse

Troubleshooting

  • MCP server not loading: Check config syntax, verify installation
  • Connection errors: Check network, firewall, credentials
  • Feature not working: Read server docs, check required parameters
  • Performance issues: Monitor resource usage, check for network latency
  • Conflicts with other servers: Check port assignments, namespace collisions

Best Practices

✓ Do

  • +Read server documentation thoroughly before setup
  • +Start with simple use cases to validate functionality
  • +Test in non-production environment first
  • +Monitor resource usage and performance
  • +Keep servers updated for bug fixes and new features
  • +Document configuration for team members
  • +Use environment variables for sensitive configuration

✗ Don't

  • Don't grant overly permissive access to MCP servers
  • Don't skip reading security considerations in docs
  • Don't expose sensitive data without proper controls
  • Don't run untrusted MCP servers without code review
  • Don't ignore error messages—investigate root cause

💡 Pro Tips

  • Combine multiple MCP servers for powerful workflows
  • Create custom MCP servers for your specific needs
  • Share successful configurations with team
  • Use MCP inspector for debugging
  • Join MCP community for tips and troubleshooting

Technical Details

Architecture

Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.

Protocols

  • Model Context Protocol (MCP)
  • JSON-RPC 2.0
  • stdio or HTTP transport

Compatibility

  • Claude Desktop
  • Cursor IDE
  • Custom MCP clients

When to Use This

✓ Use When

Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.

✗ Avoid When

Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.

Integration

  • Tool composition: Chain multiple MCP tools in workflows
  • Context augmentation: Provide AI with relevant external data
  • Action delegation: Let AI execute tasks on external systems
  • Bidirectional sync: Keep AI context and external systems in sync

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.

List & Promote Your MCP Server

Share your MCP server with the developer community

GET_STARTED →
MCP server reviews

Ratings

4.828 reviews
  • Aanya Ghosh· Dec 24, 2024

    WordPress reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Hassan Ramirez· Dec 20, 2024

    WordPress has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Ganesh Mohane· Dec 12, 2024

    According to our notes, WordPress benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Xiao Menon· Nov 15, 2024

    I recommend WordPress for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Soo Lopez· Nov 11, 2024

    WordPress is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

  • Sakshi Patil· Nov 3, 2024

    We wired WordPress into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Kwame Iyer· Nov 3, 2024

    We evaluated WordPress against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Oct 22, 2024

    WordPress is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

  • Daniel Bhatia· Oct 22, 2024

    WordPress is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Amelia Singh· Oct 6, 2024

    Strong directory entry: WordPress surfaces stars and publisher context so we could sanity-check maintenance before adopting.

showing 1-10 of 28

1 / 3