Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WordPress MCP Serverlist the 5 most recent blog posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WordPress MCP Server
A TypeScript Model Context Protocol (MCP) server for managing WordPress sites via the REST API. Supports any WordPress 5.6+ site, including sites using the Divi theme.
Features
38 tools across 8 categories for comprehensive WordPress management
Application Passwords authentication (secure, no plugins required)
Divi-compatible — reads/writes Divi shortcode content via standard REST API
Rate limiting with configurable token bucket
Health checks for connection diagnostics
Quick Start
1. Generate an Application Password
In your WordPress admin panel:
Go to Users → Profile
Scroll to Application Passwords
Enter a name (e.g., "Claude MCP") and click Add New Application Password
Copy the generated password (spaces are part of the password)
Application Passwords require HTTPS on your site.
2. Register with Claude Code
claude mcp add wordpress -e WP_SITE_URL=https://your-site.com -e WP_USERNAME=admin -e WP_APPLICATION_PASSWORD="xxxx xxxx xxxx xxxx xxxx" -- node /path/to/wordpress-mcp/build/index.js3. Build from Source
git clone https://github.com/gdamalis/wordpress-mcp.git
cd wordpress-mcp
npm install
npm run buildEnvironment Variables
Variable | Required | Default | Description |
| Yes | — | WordPress site URL (must use HTTPS) |
| Yes | — | WordPress username |
| Yes | — | Application Password (include spaces) |
| No |
| Max requests per rate window |
| No |
| Rate window in milliseconds |
| No |
| Request timeout in milliseconds |
Tools Reference
Content Management (10 tools)
Tool | Description |
| List posts with filters (status, category, tag, author, search, date range) |
| Get a single post by ID with full raw content |
| Create a new post (supports HTML and Divi shortcodes) |
| Update post fields |
| Trash or permanently delete a post |
| List pages with filters |
| Get a single page by ID with full raw content |
| Create a new page |
| Update page fields |
| Search across all content types |
Media Management (4 tools)
Tool | Description |
| List media library items |
| Get media item with all size URLs |
| Upload from URL or base64 data |
| Update alt text, caption, description |
Taxonomy Management (5 tools)
Tool | Description |
| List categories |
| Create a category |
| List tags |
| Create a tag |
| Set categories/tags on a post |
Comment Moderation (4 tools)
Tool | Description |
| List comments with status filters |
| Get comment details |
| Change comment status (approve/hold/spam/trash) |
| Reply as the authenticated user |
User Management (3 tools)
Tool | Description |
| List users with role filters |
| Get user profile |
| Get the authenticated user's profile |
Plugin & Theme Management (5 tools)
Tool | Description |
| List installed plugins with status |
| Activate or deactivate a plugin |
| List installed themes |
| Get active theme details |
| Activate a different theme |
Site Settings (4 tools)
Tool | Description |
| Get site name, URL, WP version, namespaces |
| Get site settings (title, tagline, timezone, etc.) |
| Update site settings |
| List registered post types (discover Divi layouts) |
Navigation Menus (3 tools)
Tool | Description |
| List navigation menus |
| Get menu details |
| Update menu name, description, locations |
Health (2 tools)
Tool | Description |
| Quick connection and auth check |
| Comprehensive check of all API endpoints |
Divi Theme Support
This MCP works with Divi-powered sites through the standard WordPress REST API:
Reading Divi pages:
get_postandget_pagereturn raw content withcontext=edit, exposing Divi shortcode structures like[et_pb_section][et_pb_row]...Creating Divi pages: Use
create_pagewith Divi shortcodes in thecontentfieldUpdating Divi pages: Modify shortcode content via
update_pageDiscovering Divi layouts: Use
get_post_typesto find Divi'set_pb_layoutcustom post type (Divi Library items)
Security
HTTPS is enforced (Application Passwords are Base64-encoded and require transport encryption)
Credentials are loaded from environment variables only, never stored on disk
Minimum role required: Editor for content operations, Administrator for plugin/theme management
Media uploads accept URLs and base64 only — no local filesystem access
WordPress Role Requirements
Tools | Minimum Role |
Content, Media, Taxonomy, Comments | Editor |
Users (read-only) | Author |
Plugins, Themes, Settings | Administrator |
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.