Get the FREE Ultimate OpenClaw Setup Guide →

wordpress

Comprehensive WordPress and WooCommerce control via MCP (Model Context Protocol)

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio breuk-ai-wordpress-mcp python E:\path\to\wordpress-mcp\mcp-server\server.py \
  --env WP_SITE_URL="https://your-site.com" \
  --env WP_USERNAME="your-username" \
  --env WP_APP_PASSWORD="xxxx xxxx xxxx xxxx xxxx xxxx"

How to use

This MCP server provides comprehensive WordPress and WooCommerce control via the Model Context Protocol. Through Claude Desktop, you can issue natural language commands to manage posts, pages, media, templates, users, products, orders, and customers. The server exposes WordPress operations (create/read/update/delete and search for posts and pages, manage media, edit templates with backups, handle users, and check system status) along with WooCommerce capabilities (manage products, orders, and customers, plus bulk updates like pricing and stock). To get started, configure the MCP server in Claude Desktop using the provided Python-based server script and your WordPress credentials, then use the tool suite to perform tasks in natural language and have the MCP translate those requests into WordPress REST API calls.

How to install

Prerequisites:

  • WordPress 5.6+ with Application Passwords enabled
  • Python 3.8+
  • Claude Desktop

Installation steps:

  1. Clone the repository and enter the project:
git clone https://github.com/Breuk-AI/wordpress-mcp.git
cd wordpress-mcp
  1. Install the WordPress plugin by uploading the wp-mcp-plugin folder to /wp-content/plugins/ and activating the "WordPress MCP Integration" in WordPress admin.
  2. Install the MCP server dependencies (Python):
pip install -r mcp-server/requirements.txt
  1. Configure the MCP server script path and environment variables as shown in the Quick Start; for example, you will run the server via the Python script and supply your WordPress site URL, username, and application password.
  2. Add the server to Claude Desktop config (example provided in the README):
{
  "wordpress": {
    "command": "python",
    "args": ["E:\\path\\to\\wordpress-mcp\\mcp-server\\server.py"],
    "env": {
      "WP_SITE_URL": "https://your-site.com",
      "WP_USERNAME": "your-username",
      "WP_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
    }
  }
}

Additional notes

Tips and notes:

  • Ensure WordPress Application Passwords are enabled and that the user has adequate permissions for the actions you intend to perform.
  • Use HTTPS for secure connections between Claude Desktop and your WordPress site.
  • The MCP server supports backups when editing templates; use the Templates tool to track changes.
  • If you encounter authentication issues, verify that WP_SITE_URL, WP_USERNAME, and WP_APP_PASSWORD are correct and that the app password has the necessary scope.
  • For large bulk operations, consider enabling rate limiting and monitoring responses to avoid server overload.

Related MCP Servers

Sponsor this space

Reach thousands of developers