About Wordpress
Wordpress is an MCP server published by docdyhr in the Content category: mCP Server to manage a Wordpress CMS system. Conduid read 86 tools from its source: bulk_operations, cache, content_analyzer, internal_linking, meta_generator, schema_generator and 80 more. It is published to npm as mcp-wordpress and starts with npx.
The repository has 116 stars and 18 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v4.1.6 (12 Oct 2026): 🐛 Bug Fixes performance: fit trends against time and treat idle caches as no data (#274)… It follows v4.1.5 (12 Oct 2026), and the 5 most recent releases go back to v4.1.2 (10 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include cms and wordpress.
Install
claude mcp add wordpress-08fc -- npx -y mcp-wordpressnpx -y mcp-wordpressgit clone https://github.com/docdyhr/mcp-wordpressTools (86)
bulk_operationscachecontent_analyzerinternal_linkingmeta_generatorschema_generatorseoseo_analyze_contentseo_generate_metadatasite_auditorwp_approve_commentApproves a pending comment.| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the comment to approve. |
wp_cache_clearClear cache for a WordPress site.| Parameter | Type | Description |
|---|---|---|
| pattern | string | Optional pattern to clear specific cache entries (e.g., "posts", "categories"). |
wp_cache_infoGet detailed cache configuration and status information.wp_cache_statsGet cache statistics for a WordPress site.wp_cache_warmPre-warm cache with essential WordPress data.wp_check_versionCheck if a newer version of mcp-wordpress is available. Returns current version, latest version, and download URL if update is available.| Parameter | Type | Description |
|---|---|---|
| current_version | string | Override current version for testing (optional) |
wp_create_application_passwordCreates a new application password for a user.| Parameter | Type | Description |
|---|---|---|
| app_name * | string | The name of the application this password is for. |
| user_id * | number | The ID of the user to create the password for. |
wp_create_categoryCreates a new category.| Parameter | Type | Description |
|---|---|---|
| description | string | The description for the category. |
| name * | string | The name of the category. |
wp_create_commentCreates a new comment on a post.| Parameter | Type | Description |
|---|---|---|
| author_email | string | The email of the comment author. |
| author_name | string | The name of the comment author. |
| content * | string | The content of the comment. |
| post * | number | The ID of the post to comment on. |
wp_create_pageCreates a new page.| Parameter | Type | Description |
|---|---|---|
| content | string | The content for the page, in HTML format. |
| status | string | The publishing status for the page. |
| title * | string | The title for the page. |
wp_create_postCreates a new WordPress post with comprehensive validation and detailed success feedback including management links.
**Usage Examples:**
• Simple post: `wp_create_post --title="My New Post" --content="<p>Hello World!</p>"`
• Draft post: `wp_create_post --title="Draft Post" --status="draft"`
• Categorized post: `wp_create_post --title="Tech News" --categories=[1,5] --tags=[10,20]`
• Post with featured image: `wp_create_post --title="My Post" --content="<p>Content</p>" --featured_media=42`
• Remove featured image: `wp_create_post --title="My Post" --featured_media=0`
• Scheduled post: `wp_create_post --title="Future Post" --status="future" --date="2024-12-25T10:00:00"`
• Complete post: `wp_create_post --title="Complete Post" --content="<p>Content</p>" --excerpt="Summary" --status="publish"`| Parameter | Type | Description |
|---|---|---|
| categories | array | An array of category IDs to assign to the post. |
| content | string | The content for the post, in HTML format. |
| date | string | The date the post was published, in the site's timezone (ISO 8601 format). |
| excerpt | string | The excerpt for the post. |
| featured_media | number | The ID of the featured media (image). Use 0 to remove featured media. |
| post_type | string | Post type to create (default: "post"). Supports custom post types exposed to the REST API (show_in_rest) in the wp/v2 namespace. |
| status | string | The publishing status for the post. |
| tags | array | An array of tag IDs to assign to the post. |
| title * | string | The title for the post. |
wp_create_tagCreates a new tag.| Parameter | Type | Description |
|---|---|---|
| name * | string | The name of the tag. |
wp_create_userCreates a new user.| Parameter | Type | Description |
|---|---|---|
| email * | string | The email address for the new user. |
| password * | string | The password for the new user. |
| roles | array | An array of roles to assign to the user. |
| username * | string | The username for the new user. |
wp_delete_application_passwordRevokes an existing application password.| Parameter | Type | Description |
|---|---|---|
| user_id * | number | The ID of the user who owns the password. |
| uuid * | string | The UUID of the application password to revoke. |
wp_delete_categoryPermanently deletes a category (WordPress terms have no trash).| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the category to delete. |
wp_delete_commentDeletes a comment.| Parameter | Type | Description |
|---|---|---|
| force | boolean | If true, the comment will be permanently deleted. Defaults to false (moved to trash). |
| id * | number | The ID of the comment to delete. |
wp_delete_mediaDeletes a media item.| Parameter | Type | Description |
|---|---|---|
| force | boolean | If true, permanently delete. If false, move to trash. Defaults to false. |
| id * | number | The ID of the media item to delete. |
wp_delete_pageDeletes a page.| Parameter | Type | Description |
|---|---|---|
| force | boolean | If true, permanently delete. If false, move to trash. Defaults to false. |
| id * | number | The ID of the page to delete. |
wp_delete_postDeletes a WordPress post with options for trash or permanent deletion. Includes safety confirmations and detailed feedback on the deletion action.
**Usage Examples:**
• Trash a post: `wp_delete_post --id=123` (moves to trash)
• Permanent deletion: `wp_delete_post --id=123 --force=true`
• Bulk operations: Use multiple calls with different IDs| Parameter | Type | Description |
|---|---|---|
| force | boolean | Whether to bypass trash and force deletion (default: false, moves to trash). |
| id * | number | The ID of the post to delete. |
| post_type | string | Post type to delete (default: "post"). Supports custom post types exposed to the REST API (show_in_rest) in the wp/v2 namespace. |
wp_delete_tagPermanently deletes a tag (WordPress terms have no trash).| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the tag to delete. |
wp_delete_userDeletes a user.| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the user to delete. |
| reassign | number | The ID of a user to reassign the deleted user's content to. |
wp_get_application_passwordsLists application passwords for a specific user.| Parameter | Type | Description |
|---|---|---|
| user_id * | number | The ID of the user to get application passwords for. |
wp_get_auth_statusGets the current authentication status for a configured WordPress site.wp_get_categoryRetrieves a single category by its ID.| Parameter | Type | Description |
|---|---|---|
| id * | number | The unique identifier for the category. |
wp_get_commentRetrieves a single comment by its ID.| Parameter | Type | Description |
|---|---|---|
| id * | number | The unique identifier for the comment. |
wp_get_current_userRetrieves the currently authenticated user with comprehensive profile information including roles, capabilities, and account details.
**Usage Examples:**
• Get current user: `wp_get_current_user`
• Check permissions: Use this to verify your current user's capabilities and roles
• Account verification: Confirm you're authenticated with the correct account
• Profile details: View registration date, email, and user metadatawp_get_mediaRetrieves a single media item by its ID.| Parameter | Type | Description |
|---|---|---|
| id * | number | The unique identifier for the media item. |
wp_get_pageRetrieves a single page by its ID, optionally including full content for editing.| Parameter | Type | Description |
|---|---|---|
| id * | number | The unique identifier for the page. |
| include_content | boolean | If true, includes the full page content as raw source (context=edit), preserving Gutenberg block markup for editing. Default: false |
wp_get_page_revisionsRetrieves revisions for a specific page.| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the page to get revisions for. |
wp_get_postRetrieves detailed information about a single post including metadata, content statistics, and management links. Optionally includes full HTML content for editing.
**Usage Examples:**
• Basic metadata: `wp_get_post --id=123`
• With full content: `wp_get_post --id=123 --include_content=true`| Parameter | Type | Description |
|---|---|---|
| id * | number | The unique identifier for the post. |
| include_content | boolean | If true, includes the full post content as raw source (context=edit), preserving Gutenberg block markup for editing. Default: true |
| post_type | string | Post type to retrieve (default: "post"). Supports custom post types exposed to the REST API (show_in_rest) in the wp/v2 namespace. |
wp_get_post_revisionsRetrieves the revision history for a specific post, including details about changes, dates, and authors for content management and auditing purposes.| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the post to get revisions for. |
wp_get_site_settingsRetrieves the general settings for a WordPress site. Requires administrator role (manage_options capability).wp_get_tagRetrieves a single tag by its ID.| Parameter | Type | Description |
|---|---|---|
| id * | number | The unique identifier for the tag. |
wp_get_userRetrieves a single user by their ID.| Parameter | Type | Description |
|---|---|---|
| id * | number | The unique identifier for the user. |
wp_list_categoriesLists categories from a WordPress site.| Parameter | Type | Description |
|---|---|---|
| hide_empty | boolean | Whether to hide categories with no posts. |
| page | number | Page of results to return (1-based). |
| per_page | number | Number of categories to return per page (max 100). WordPress defaults to 10. |
| search | string | Limit results to those matching a search term. |
wp_list_commentsLists comments from a WordPress site, with filters.| Parameter | Type | Description |
|---|---|---|
| page | number | Page of results to return (1-based). |
| per_page | number | Number of comments to return per page (max 100). WordPress defaults to 10. |
| post | number | Limit results to comments assigned to a specific post ID. |
| status | string | Filter by comment status. |
wp_list_mediaLists media items from a WordPress site, with filters.| Parameter | Type | Description |
|---|---|---|
| media_type | string | Limit results to a specific media type. |
| per_page | number | Number of items to return per page (max 100). |
| search | string | Limit results to those matching a search term. |
wp_list_pagesLists pages from a WordPress site, with filters.| Parameter | Type | Description |
|---|---|---|
| per_page | number | Number of items to return per page (max 100). |
| search | string | Limit results to those matching a search term. |
| status | string | Filter by page status. |
wp_list_pluginsLists installed WordPress plugins with their active status, version, and author. Requires the activate_plugins capability.wp_list_postsLists posts from a WordPress site with comprehensive filtering options. Supports search, status filtering, and category/tag filtering with enhanced metadata display.
**Usage Examples:**
• Basic listing: `wp_list_posts`
• Search posts: `wp_list_posts --search="AI trends"`
• Filter by status: `wp_list_posts --status="draft"`
• Category filtering: `wp_list_posts --categories=[1,2,3]`
• Paginated results: `wp_list_posts --per_page=20 --page=2`
• Combined filters: `wp_list_posts --search="WordPress" --status="publish" --per_page=10`| Parameter | Type | Description |
|---|---|---|
| categories | array | Limit results to posts in specific category IDs. |
| page | number | Page of results to return (1-based). Combine with per_page to walk through a large site. |
| per_page | number | Number of items to return per page (max 100). |
| post_type | string | Post type to list (default: "post"). Supports custom post types exposed to the REST API (show_in_rest) in the wp/v2 namespace. |
| search | string | Limit results to those matching a search term. |
| status | string | Filter by post status. |
| tags | array | Limit results to posts with specific tag IDs. |
wp_list_tagsLists tags from a WordPress site.| Parameter | Type | Description |
|---|---|---|
| page | number | Page of results to return (1-based). |
| per_page | number | Number of tags to return per page (max 100). WordPress defaults to 10. |
| search | string | Limit results to those matching a search term. |
wp_list_themesLists installed WordPress themes with their active status, version, parent theme, and features. Requires the switch_themes capability.wp_list_usersLists users from a WordPress site with comprehensive filtering and detailed user information including roles, registration dates, and activity status.
**Note:** Role, email, and registration date fields require **administrator** privileges. Non-admin users will see limited metadata due to WordPress REST API restrictions.
**Usage Examples:**
• List all users: `wp_list_users`
• Search users: `wp_list_users --search="john"`
• Filter by role: `wp_list_users --roles=["editor","author"]`
• Find admins: `wp_list_users --roles=["administrator"]`
• Combined search: `wp_list_users --search="smith" --roles=["subscriber"]`| Parameter | Type | Description |
|---|---|---|
| roles | array | Limit results to users with specific roles. |
| search | string | Limit results to those matching a search term. |
wp_performance_alertsGet performance alerts and anomaly detection results. summary.overallStatus covers every alert recorded this session (alerts never expire) and is never better than summary.currentStatus; summary.currentStatus and summary.activeAlerts show only what is breaching right now, using the same rules as wp_performance_stats (overview.alertStatus).wp_performance_benchmarkCompare current performance against industry benchmarks. Note: Benchmarks are based on session-wide aggregated metrics across all sites, not per-site metrics.wp_performance_exportExport comprehensive performance reportwp_performance_historyGet historical performance data and trendswp_performance_optimizeGet optimization recommendations and insightswp_performance_statsGet real-time performance statistics and metrics. Note: Top-level metrics (totalRequests, averageResponseTime, errorRate) are session-wide aggregates across all sites. Per-site cache and client stats are shown in the siteSpecific section when a site parameter is provided. category=tools also lists the most recent tool calls (tool, site, status, duration, error code), which is the way to see what failed and why — an installed extension's own log output is not shown by the host.wp_search_sitePerforms a site-wide search for content across posts, pages, and media with comprehensive results and metadata.
**Usage Examples:**
• Search everything: `wp_search_site --term="WordPress"`
• Search posts only: `wp_search_site --term="tutorial" --type="posts"`
• Search pages: `wp_search_site --term="about" --type="pages"`
• Search media: `wp_search_site --term="logo" --type="media"`
• Find specific content: `wp_search_site --term="contact form"`| Parameter | Type | Description |
|---|---|---|
| term * | string | The search term to look for. |
| type | string | The type of content to search. |
wp_seo_analyze_contentwp_seo_bulk_updatewp_seo_bulk_update_metadatawp_seo_generate_metawp_seo_generate_metadatawp_seo_generate_schemawp_seo_get_live_datawp_seo_internal_linkingwp_seo_keyword_researchwp_seo_site_auditwp_seo_suggest_internal_linkswp_seo_test_integrationwp_seo_track_serpwp_seo_validate_schemawp_spam_commentMarks a comment as spam.| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the comment to mark as spam. |
wp_switch_auth_methodValidates an alternative authentication method for a site without mutating the shared client used by other tool invocations. The check is in-memory only and does not persist; update your configuration file for durable changes.| Parameter | Type | Description |
|---|---|---|
| api_key | string | Required for 'api-key'. |
| jwt_secret | string | Required for 'jwt' — the WordPress JWT Authentication plugin's secret key. |
| method * | string | The authentication method to validate. |
| password | string | The Application Password for 'app-password', or the account password for 'basic'/'jwt'. |
| username | string | Required for 'app-password', 'basic', and 'jwt'. |
wp_test_authTests the authentication and connectivity for a configured WordPress site with detailed connection diagnostics, and reports which configuration is live (the multi-site config file that was loaded, or the single-site fallback).
**Usage Examples:**
• Test connection: `wp_test_auth`
• Multi-site test: `wp_test_auth --site="my-site"`
• Verify setup: Use this after configuring new credentials
• Troubleshoot: Run when experiencing connection issues
• Health check: Regular verification of WordPress connectivitywp_update_categoryUpdates an existing category.| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the category to update. |
| name | string | The new name for the category. |
wp_update_commentUpdates an existing comment.| Parameter | Type | Description |
|---|---|---|
| content | string | The updated content for the comment. |
| id * | number | The ID of the comment to update. |
| status | string | The new status for the comment. |
wp_update_mediaUpdates the metadata of an existing media item.| Parameter | Type | Description |
|---|---|---|
| alt_text | string | The new alternative text. |
| caption | string | The new caption. |
| description | string | The new description. |
| id * | number | The ID of the media item to update. |
| title | string | The new title for the media item. |
wp_update_pageUpdates an existing page.| Parameter | Type | Description |
|---|---|---|
| content | string | The new content for the page, in HTML format. |
| id * | number | The ID of the page to update. |
| status | string | The new status for the page. |
| title | string | The new title for the page. |
wp_update_postUpdates an existing WordPress post with comprehensive validation and change tracking. All parameters except ID are optional - only provided fields will be updated.
**Usage Examples:**
• Update title: `wp_update_post --id=123 --title="New Title"`
• Update content: `wp_update_post --id=123 --content="<p>Updated content</p>"`
• Change status: `wp_update_post --id=123 --status="publish"`
• Update categories: `wp_update_post --id=123 --categories=[1,5,10]`
• Set featured image: `wp_update_post --id=123 --featured_media=42`
• Remove featured image: `wp_update_post --id=123 --featured_media=0`
• Multiple updates: `wp_update_post --id=123 --title="New Title" --status="publish" --categories=[1,2]`| Parameter | Type | Description |
|---|---|---|
| categories | array | An array of category IDs to assign to the post. |
| content | string | The new content for the post, in HTML format. |
| date | string | The date the post was published, in the site's timezone (ISO 8601 format). |
| excerpt | string | The new excerpt for the post. |
| featured_media | number | The ID of the featured media (image). Use 0 to remove featured media. |
| id * | number | The ID of the post to update. |
| post_type | string | Post type to update (default: "post"). Supports custom post types exposed to the REST API (show_in_rest) in the wp/v2 namespace. |
| status | string | The new publishing status for the post. |
| tags | array | An array of tag IDs to assign to the post. |
| title | string | The new title for the post. |
wp_update_site_settingsUpdates one or more general settings for a WordPress site. Requires administrator role (manage_options capability).| Parameter | Type | Description |
|---|---|---|
| description | string | The tagline or description of the site. |
| timezone | string | A city in the same timezone, e.g., 'America/New_York'. |
| title | string | The title of the site. |
wp_update_tagUpdates an existing tag.| Parameter | Type | Description |
|---|---|---|
| id * | number | The ID of the tag to update. |
| name | string | The new name for the tag. |
wp_update_userUpdates an existing user.| Parameter | Type | Description |
|---|---|---|
| string | The new email address for the user. | |
| id * | number | The ID of the user to update. |
| name | string | The new display name for the user. |
wp_upload_mediaUploads a file to the WordPress media library.| Parameter | Type | Description |
|---|---|---|
| alt_text | string | Alternative text for the media item (for accessibility). |
| caption | string | The caption for the media item. |
| description | string | The description for the media item. |
| file_path * | string | The local, absolute path to the file to upload. |
| post | number | The ID of a post to attach this media to. |
| title | string | The title for the media item. |
Security checks
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 113 source files and found 5 calls to eval or shell execution, in bin/setup.js, bin/status.js and src/security/SecurityReviewer.ts among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README