Enables AI to manage WordPress sites by providing tools for creating and updating posts, managing users, and retrieving...
Created byApr 23, 2025
Comprehensive WordPress MCP Server
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with WordPress sites through the WordPress REST API. This server provides tools for managing all aspects of WordPress programmatically, including posts, users, comments, categories, tags, and custom endpoints.
Features
Post Management
Create, retrieve, update, and delete WordPress posts
Filter posts by various parameters
Pagination support for post listings
User Management
Retrieve user information by ID or login
Update user details
Delete users
Comments Management
Create, retrieve, update, and delete comments
Filter comments by post
Pagination support for comment listings
Taxonomy Management
Manage categories and tags
Create, retrieve, update, and delete taxonomies
Find categories and tags by slug
Site Information
Retrieve general WordPress site information
Custom Requests
Support for custom REST API endpoints
Custom HTTP methods (GET, POST, PUT, DELETE)
Custom data and parameters
Prerequisites
Node.js v18 or higher
A WordPress site with REST API enabled
WordPress application password for authentication
Installation
Clone this repository:
Install dependencies:
Build the server:
WordPress Configuration
Before using the server, you need to set up your WordPress site:
Ensure your WordPress site has REST API enabled (enabled by default in WordPress 4.7+)
Create an application password:
- Log in to your WordPress admin panel
- Go to Users Profile
- Scroll down to "Application Passwords"
- Enter a name for the application (e.g., "MCP Server")
- Click "Add New Application Password"
- Copy the generated password (you won't be able to see it again)
MCP Configuration
Add the server to your MCP settings file (usually located at `~/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`):