Loading languages...
TS

tsainte/wordpress-automation-mcp

@tsainte2

A quick mcp for Wordpress post automation

wordpress
automation
post-management

Wordpress Automation MCP

This is a MCP tool to interact with Wordpress posts.

Tech Stack

  • Python 3.13
  • UV

Features

  • Connect to WordPress sites using environment variables or direct credentials
  • Create, read, update, and delete posts
  • Support for post status (draft, publish, etc.)
  • Pagination support for listing posts

Usage

You must specify the environment variables in your MCP configuration:

{
    "mcpServers": {
        "wordpress": {
            "command": "uv",
            "args": [
                "--directory", 
                "/path/to/wordpress-automation-mcp",
                "run",
                "main.py"
            ],
            "env": {
                "WP_SITE_URL": "https://your-wordpress-site.com",
                "WP_USERNAME": "your-username",
                "WP_APP_PASSWORD": "your-app-password"
            }
        }
    }
  }

# mcpServer Config

{
  "mcpServers": {
    "wordpress": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/wordpress-automation-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "WP_SITE_URL": "https://your-wordpress-site.com",
        "WP_USERNAME": "your-username",
        "WP_APP_PASSWORD": "your-app-password"
      }
    }
  }
}

# stdio

uv --directory /path/to/wordpress-automation-mcp run main.py
Transport:
stdio
Language:
Python
Created: 4/3/2025
Updated: 7/22/2025