wp_approve_commentLABSCO SUMMARY
Built for the person who runs several sites, not one blog.
The multi-site addressing is the part that changes how you work: one connection, and a request can name which client's site it applies to, which turns "update the footer everywhere" into a single instruction. The performance and cache tools are the second reason to bother — they let the same assistant that publishes a post also check what it did to the site.
What it is
An MCP server over the WordPress REST API, aimed at people who administer sites rather than visit them. It authenticates with Application Passwords, and one installation can manage up to 50 sites with the site named in each call.
What you get
- Posts and pages:
wp_list_posts,wp_create_post,wp_update_post,wp_delete_post,wp_get_post_revisions, and the matching set for pages - Media:
wp_upload_media,wp_list_media,wp_update_media,wp_delete_media - Comment moderation:
wp_list_comments,wp_approve_comment,wp_spam_comment,wp_create_comment,wp_delete_comment - Taxonomies and users:
wp_list_categories,wp_create_category,wp_create_tag,wp_list_users,wp_create_user,wp_create_application_password - Site level:
wp_get_site_settings,wp_update_site_settings,wp_search_site - Caching and performance:
wp_cache_stats,wp_cache_clear,wp_cache_warm,wp_performance_stats,wp_performance_history,wp_performance_benchmark,wp_performance_alerts,wp_performance_optimize,wp_performance_export - Authentication handled in-band:
wp_test_auth,wp_get_auth_status,wp_switch_auth_method
Requirements
WordPress 5.6+ with the REST API enabled and Application Passwords available, then WORDPRESS_SITE_URL, WORDPRESS_USERNAME and WORDPRESS_APP_PASSWORD. Role matters: Editor or above for posts, pages, comments and media; an Author only reaches their own. Install as a Claude Desktop DXT extension, globally with npm install -g mcp-wordpress, or straight from npx -y mcp-wordpress; the package is mcp-wordpress. JWT, Basic Auth and API Key are supported alternatives to Application Passwords.
Setup effort
One command plus credentials — npx -y mcp-wordpress, then supply credentials
USE CASES
Publishing without opening wp-admin
Draft, set categories and tags, upload the image, and publish — then check the revision list if something looks wrong.
Clearing a comment backlog
List what is pending, approve the legitimate ones and mark the rest as spam in one pass.
Applying one change across client sites
Address each site by name from the same connection instead of logging into each dashboard.
Checking whether the site got slower
Read current performance statistics and history, warm the cache, and export the numbers.
59 tools
Listed in project docs. Your client may show a different list.
wp_cache_clearwp_cache_infowp_cache_statswp_cache_warmwp_create_application_passwordwp_create_categorywp_create_commentwp_create_pagewp_create_postwp_create_tagwp_create_userwp_delete_application_passwordwp_delete_categorywp_delete_commentwp_delete_mediawp_delete_pagewp_delete_postwp_delete_tagwp_delete_userwp_get_application_passwordswp_get_auth_statuswp_get_categorywp_get_commentwp_get_current_userwp_get_mediawp_get_pagewp_get_page_revisionswp_get_postwp_get_post_revisionswp_get_site_settingswp_get_tagwp_get_userwp_list_categorieswp_list_commentswp_list_mediawp_list_pageswp_list_postswp_list_tagswp_list_userswp_performance_alertswp_performance_benchmarkwp_performance_exportwp_performance_historywp_performance_optimizewp_performance_statswp_search_sitewp_spam_commentwp_switch_auth_methodwp_test_authwp_update_categorywp_update_commentwp_update_mediawp_update_pagewp_update_postwp_update_site_settingswp_update_tagwp_update_userwp_upload_mediaBEFORE YOU INSTALL
What to know first
Tools you get
59 tools named in the project's documentation.
Requires
- npx on PATH
- WORDPRESS_APP_PASSWORD in your environment
- WORDPRESS_USERNAME in your environment
- WORDPRESS_SITE_URL in your environment
INSTALLATION
Connect your client
Server setup
npx -y mcp-wordpressMCP Clients
Claude Desktop — DXT file
Download the extension file:
curl -L https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt -o mcp-wordpress.dxtThen in Claude Desktop go to Extensions → Install and select the mcp-wordpress.dxt file, and enter your WordPress site URL and credentials when asked.
Claude Desktop — npx
{
"mcpServers": {
"mcp-wordpress": {
"command": "npx",
"args": [
"-y",
"mcp-wordpress"
],
"env": {
"WORDPRESS_SITE_URL": "https://myblog.com",
"WORDPRESS_USERNAME": "admin",
"WORDPRESS_APP_PASSWORD": "<YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD>"
}
}
}
}Claude Desktop — Docker
{
"mcpServers": {
"mcp-wordpress": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"WORDPRESS_SITE_URL=<YOUR_WORDPRESS_SITE_URL>",
"-e",
"WORDPRESS_USERNAME=<YOUR_WORDPRESS_USERNAME>",
"-e",
"WORDPRESS_APP_PASSWORD=<YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD> <YOUR_WORDPRESS_APP_PASSWORD>",
"docdyhr/mcp-wordpress:latest"
]
}
}
}