Feedback

Wordpress Mcp Server — by docdyhr

@docdyhr Claim

Basic information

Runtime
JavaScript
Category
License
MIT
Transports
stdio
Author
docdyhr
Submitted by
Community
Quality
25
Stars
114

About Wordpress Mcp Server

Comprehensive MCP server for WordPress management with 54 tools across posts, pages, media, users, comments, taxonomies, settings, and authentication.

Wordpress Mcp Server is a MCP server in the Other category listed in the AddMCP.net directory, published by docdyhr. It exposes 71 tools, including wp_test_auth, wp_get_auth_status, wp_switch_auth_method, wp_cache_stats and more. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 114 GitHub stars. Source code is hosted on github.com. Related topics: authentication, blog, blogging, claude-ai, cms.

Setup

{
    "mcpServers": {
        "mcp-wordpress": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-wordpress"
            ],
            "env": {
                "WORDPRESS_SITE_URL": "https://your-site.com",
                "WORDPRESS_USERNAME": "your-username",
                "WORDPRESS_APP_PASSWORD": "your-app-password"
            }
        }
    }
}

Wordpress Mcp Server — by docdyhr config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-wordpress": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-wordpress"
            ],
            "env": {
                "WORDPRESS_SITE_URL": "https://your-site.com",
                "WORDPRESS_USERNAME": "your-username",
                "WORDPRESS_APP_PASSWORD": "your-app-password"
            }
        }
    }
}

Wordpress Mcp Server — by docdyhr tools

  • wp_test_auth — Tests the authentication and connectivity for a configured WordPress site with detailed connection diagnostics. **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 connectivity
    site:string
  • wp_get_auth_status — Gets the current authentication status for a configured WordPress site.
    site:string
  • wp_switch_auth_method — Switches the authentication method for a site for the current session and verifies the new credentials with a live request. The switch is in-memory only — it does not persist across server restarts; update your configuration file for that.
    site:string, method:string*, username:string, password:string, jwt_secret:string, api_key:string
  • wp_cache_stats — Get cache statistics for a WordPress site.
    site:string
  • wp_cache_clear — Clear cache for a WordPress site.
    site:string, pattern:string
  • wp_cache_warm — Pre-warm cache with essential WordPress data.
    site:string
  • wp_cache_info — Get detailed cache configuration and status information.
    site:string
  • wp_list_comments — Lists comments from a WordPress site, with filters.
    site:string, post:number, status:string
  • wp_get_comment — Retrieves a single comment by its ID.
    site:string, id:number*
  • wp_create_comment — Creates a new comment on a post.
    site:string, post:number*, content:string*, author_name:string, author_email:string
  • wp_update_comment — Updates an existing comment.
    site:string, id:number*, content:string, status:string
  • wp_delete_comment — Deletes a comment.
    site:string, id:number*, force:boolean
  • wp_approve_comment — Approves a pending comment.
    site:string, id:number*
  • wp_spam_comment — Marks a comment as spam.
    site:string, id:number*
  • wp_list_media — Lists media items from a WordPress site, with filters.
    site:string, per_page:number, search:string, media_type:string
  • wp_get_media — Retrieves a single media item by its ID.
    site:string, id:number*
  • wp_upload_media — Uploads a file to the WordPress media library.
    site:string, file_path:string*, title:string, alt_text:string, caption:string, description:string, post:number
  • wp_update_media — Updates the metadata of an existing media item.
    site:string, id:number*, title:string, alt_text:string, caption:string, description:string
  • wp_delete_media — Deletes a media item.
    site:string, id:number*, force:boolean
  • wp_list_pages — Lists pages from a WordPress site, with filters.
    site:string, per_page:number, search:string, status:string
  • wp_get_page — Retrieves a single page by its ID, optionally including full content for editing.
    site:string, id:number*, include_content:boolean
  • wp_create_page — Creates a new page.
    site:string, title:string*, content:string, status:string
  • wp_update_page — Updates an existing page.
    site:string, id:number*, title:string, content:string, status:string
  • wp_delete_page — Deletes a page.
    site:string, id:number*, force:boolean
  • wp_get_page_revisions — Retrieves revisions for a specific page.
    site:string, id:number*
  • wp_performance_stats — Get 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.
    site:string, category:string, format:string
  • wp_performance_history — Get historical performance data and trends
    site:string, timeframe:string, metrics:array, includeTrends:boolean
  • wp_performance_benchmark — Compare current performance against industry benchmarks. Note: Benchmarks are based on session-wide aggregated metrics across all sites, not per-site metrics.
    site:string, category:string, includeRecommendations:boolean
  • wp_performance_alerts — Get performance alerts and anomaly detection results
    site:string, severity:string, category:string, limit:number, includeAnomalies:boolean
  • wp_performance_optimize — Get optimization recommendations and insights
    site:string, focus:string, priority:string, includeROI:boolean, includePredictions:boolean
  • wp_performance_export — Export comprehensive performance report
    site:string, format:string, includeHistorical:boolean, includeAnalytics:boolean, timeRange:string
  • wp_list_posts — Lists 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`
    site:string, per_page:number, search:string, status:string, categories:array, tags:array
  • wp_get_post — Retrieves 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`
    site:string, id:number*, include_content:boolean
  • wp_create_post — Creates 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"`
    site:string, title:string*, content:string, status:string, excerpt:string, categories:array, tags:array, featured_media:number, date:string
  • wp_update_post — Updates 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]`
    site:string, id:number*, title:string, content:string, status:string, excerpt:string, categories:array, tags:array, featured_media:number, date:string
  • wp_delete_post — Deletes 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
    site:string, id:number*, force:boolean
  • wp_get_post_revisions — Retrieves the revision history for a specific post, including details about changes, dates, and authors for content management and auditing purposes.
    site:string, id:number*
  • wp_seo_analyze_content — Analyze WordPress post content for SEO optimization opportunities including readability, keyword density, structure, and technical factors
    site:string, postId:number*, analysisType:string, focusKeywords:array
  • wp_seo_generate_metadata — Generate SEO-optimized metadata including title tags, meta descriptions, OpenGraph, and Twitter Card data
    site:string, postId:number*, title:string, description:string, focusKeyword:string
  • wp_seo_bulk_update_metadata — Update SEO metadata for multiple posts with progress tracking and error handling
    site:string, postIds:array*, updates:object*, dryRun:boolean
  • wp_seo_generate_schema — Generate JSON-LD structured data schema for enhanced search results
    site:string, postId:number*, schemaType:string*, customData:object
  • wp_seo_validate_schema — Validate JSON-LD schema markup for correctness and compliance
    site:string, schema:object*, schemaType:string, useGoogleValidator:boolean
  • wp_seo_suggest_internal_links — Analyze content and suggest relevant internal linking opportunities for better SEO
    site:string, postId:number*, maxSuggestions:number, minimumRelevance:number
  • wp_seo_site_audit — Perform comprehensive SEO audit of the WordPress site including technical, content, and performance analysis
    site:string, auditType:string, maxPages:number, includeExternalLinks:boolean, force:boolean
  • wp_seo_track_serp — Track search engine result page positions for target keywords
    site:string, keywords:array*, url:string, searchEngine:string, location:string
  • wp_seo_keyword_research — Research keywords and get suggestions based on topic and competition analysis
    site:string, seedKeyword:string*, includeVariations:boolean, includeQuestions:boolean, maxResults:number
  • wp_seo_test_integration — Test SEO plugin integration and detect available SEO plugins on the WordPress site
    site:string, checkPlugins:boolean, testMetadataAccess:boolean
  • wp_seo_get_live_data — Retrieve live SEO data from WordPress including plugin-specific metadata and configurations
    site:string, postId:number*, includeAnalysis:boolean, includeRecommendations:boolean
  • wp_get_site_settings — Retrieves the general settings for a WordPress site. Requires administrator role (manage_options capability).
    site:string
  • wp_update_site_settings — Updates one or more general settings for a WordPress site. Requires administrator role (manage_options capability).
    site:string, title:string, description:string, timezone:string
  • wp_search_site — Performs 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"`
    site:string, term:string*, type:string
  • wp_get_application_passwords — Lists application passwords for a specific user.
    site:string, user_id:number*
  • wp_create_application_password — Creates a new application password for a user.
    site:string, user_id:number*, app_name:string*
  • wp_delete_application_password — Revokes an existing application password.
    site:string, user_id:number*, uuid:string*
  • wp_check_version — Check if a newer version of mcp-wordpress is available. Returns current version, latest version, and download URL if update is available.
    site:string, current_version:string
  • wp_list_categories — Lists categories from a WordPress site.
    site:string, search:string, hide_empty:boolean
  • wp_get_category — Retrieves a single category by its ID.
    site:string, id:number*
  • wp_create_category — Creates a new category.
    site:string, name:string*, description:string
  • wp_update_category — Updates an existing category.
    site:string, id:number*, name:string
  • wp_delete_category — Deletes a category.
    site:string, id:number*
  • wp_list_tags — Lists tags from a WordPress site.
    site:string, search:string
  • wp_get_tag — Retrieves a single tag by its ID.
    site:string, id:number*
  • wp_create_tag — Creates a new tag.
    site:string, name:string*
  • wp_update_tag — Updates an existing tag.
    site:string, id:number*, name:string
  • wp_delete_tag — Deletes a tag.
    site:string, id:number*
  • wp_list_users — Lists 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"]`
    site:string, search:string, roles:array
  • wp_get_user — Retrieves a single user by their ID.
    site:string, id:number*
  • wp_get_current_user — Retrieves 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 metadata
    site:string
  • wp_create_user — Creates a new user.
    site:string, username:string*, email:string*, password:string*, roles:array
  • wp_update_user — Updates an existing user.
    site:string, id:number*, email:string, name:string
  • wp_delete_user — Deletes a user.
    site:string, id:number*, reassign:number

Overview

What is Wordpress Mcp Server?

Wordpress Mcp Server is an MCP server that gives AI assistants complete control over WordPress sites via 54 tools for content management, media library operations, user administration, site configuration, comments moderation, and taxonomy management. It enables natural language commands to manage all aspects of a WordPress site.

How to use Wordpress Mcp Server?

Run npx mcp-wordpress for an interactive setup wizard, or configure environment variables (WORDPRESS_SITE_URL, WORDPRESS_USERNAME, WORDPRESS_APP_PASSWORD) in your MCP client config (e.g., Claude Desktop). Then use natural language commands like “Create a new blog post about AI trends” to invoke the tools.

Key features of Wordpress Mcp Server

  • Content management: create, edit, publish, schedule posts and pages
  • Media library: upload files, edit metadata, batch process
  • User administration: create, manage accounts and roles
  • Site configuration: update settings, permalinks, manage plugins/themes data
  • Comments moderation: approve, spam, reply, track engagement
  • Taxonomy management: categories, tags, bulk categorization

Use cases of Wordpress Mcp Server

  • Create and publish blog posts via AI commands
  • Upload and optimize images in the media library
  • Moderate comments with AI assistance
  • Update site tagline, permalinks, and reading settings
  • Manage user accounts and assign roles

Frequently asked questions

1 What authentication methods are supported?

Application Passwords (recommended, built into WordPress 5.6+), JWT Authentication, Basic Authentication, and API Key Authentication.

2 What are the requirements to use Wordpress Mcp Server?

WordPress 5.0+ with REST API enabled, HTTPS connection recommended, a user account with appropriate permissions, and a compatible MCP client like Claude Desktop.

3 How many tools does Wordpress Mcp Server include and what are the categories?

54 tools across eight categories: Posts (6), Pages (6), Media (6), Users (6), Comments (7), Taxonomies (10), Site Management (7), and Authentication (6).

4 How do I install and configure Wordpress Mcp Server?

Run npx mcp-wordpress for an interactive setup, or add a JSON config block to your MCP client with environment variables for site URL, username, and app password.

5 Is Wordpress Mcp Server production-ready?

Yes, it is production tested, used by agencies and enterprises, has 95%+ test coverage, rate limiting, and error handling.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬