🔌

WordPress MCP

Content350

Create, edit, and manage WordPress posts, pages, and media.

Claude DesktopCursor

Overview

Create, edit, and manage WordPress posts, pages, and media.

Setup

Run with npx:

npx -y @modelcontextprotocol/server-wordpress

Configuration

WORDPRESS_SITE_URL and WORDPRESS_APPLICATION_PASSWORD

Documentation

WordPress MCP

Overview

The WordPress MCP server enables AI agents to create, edit, and manage WordPress posts, pages, and media. Perfect for content creation automation and blog management.

Features

  • Post Management: Create, edit, publish posts
  • Page Management: Manage static pages
  • Media Upload: Upload and manage media files
  • Category/Tag Management: Organize content
  • User Management: View and manage users

Installation

npx -y @modelcontextprotocol/server-wordpress

Configuration

{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-wordpress"],
      "env": {
        "WORDPRESS_SITE_URL": "https://your-site.com",
        "WORDPRESS_APPLICATION_PASSWORD": "your-app-password"
      }
    }
  }
}

Application Password Setup

  1. Log into WordPress admin
  2. Go to Users → Profile
  3. Scroll to "Application Passwords"
  4. Generate a new application password
  5. Use it as the WORDPRESS_APPLICATION_PASSWORD

Available Tools

ToolDescription
list_postsList blog posts
get_postGet post details
create_postCreate a new post
update_postUpdate a post
delete_postDelete a post
list_pagesList pages
create_pageCreate a new page
upload_mediaUpload media file

Usage Examples

Create a Blog Post

Create a new blog post titled "Getting Started with AI Agents" with draft status.

Publish a Post

Publish the draft post with ID 123.

Upload an Image

Upload the image at /path/to/image.jpg and attach it to post 456.

Pros

  • ✅ Full WordPress integration
  • ✅ Content automation
  • ✅ Media management

Cons

  • ❌ Requires WordPress site
  • ❌ Application password setup
  • ❌ Limited to WordPress REST API

Resources