This is a MCP tool to interact with Wordpress posts.
- Python 3.13
- UV
- 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
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"
}
}
}
}