An MCP server for day-to-day WordPress maintenance across multiple client sites.
- list configured sites
- inspect site health and pending updates
- list plugins and themes
- update plugins
- update themes
- update WordPress core
- create remote backups via SSH + WP-CLI
- Python 3.11+
mcppydanticPyYAML- SSH access to each WordPress host
- WP-CLI installed on each remote host
git clone https://github.com/nextestudios/wordpress-mcp.git
cd wordpress-mcp
uv tool install .git clone https://github.com/nextestudios/wordpress-mcp.git
cd wordpress-mcp
pipx install .Both options install the wordpress-mcp command.
Create ~/.hermes/wordpress-mcp.yaml:
sites:
client-a:
label: Client A
ssh:
host: your-server.example.com
user: deploy
port: 22
key_path: ~/.ssh/id_ed25519
path: /var/www/client-a/public_html
wp_bin: wp
shell: bashYou can also point the server at a different file with WORDPRESS_MCP_CONFIG.
wordpress-mcpAdd this to ~/.hermes/config.yaml:
mcp_servers:
wordpress:
command: wordpress-mcpOr add it interactively:
hermes mcp add wordpress --command wordpress-mcpRestart Hermes and the tools will appear with the mcp_wordpress_* prefix.
wordpress_list_siteswordpress_site_statuswordpress_site_backupwordpress_site_update_pluginswordpress_site_update_themeswordpress_site_update_core- Re-check
wordpress_site_status