Planned integration for WooCommerce functionality (currently on roadmap).
Enables full WordPress site management through the REST API, including creating, reading, updating, and deleting posts, managing pages and media, querying plugins, and controlling content workflow from draft to published status.
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 Servercreate a draft post about our new product launch"
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
Manage your WordPress site with AI. Create posts, update content, and query your site—all through natural conversation.
What is this?
WordPress MCP is a Model Context Protocol server that connects AI assistants like Claude Code and Cursor to your WordPress site via the REST API.
Instead of switching between your terminal and WordPress admin, just ask:
Demo
Here's a real conversation showing the draft-to-publish workflow:
Features
Full CRUD for Posts - Create, read, update, and delete posts
Content Management - List pages, media, and plugins
Search & Filter - Find posts by status, keyword, or date
Draft Workflow - Create drafts, review, then publish
Secure Auth - Uses WordPress Application Passwords
Quick Start
1. Install
2. Create a WordPress Application Password
Go to WordPress Admin → Users → Profile
Scroll to Application Passwords
Enter a name (e.g., "Claude Code") and click Add New
Copy the generated password (you won't see it again!)
3. Configure Claude Code
Add to your Claude Code MCP config (~/.claude.json):
4. Restart Claude Code
Verify with /mcp - you should see "wordpress" listed.
Available Tools
Reading Content
Tool | Description |
| Get site name, URL, timezone |
| List posts (filter by status, search) |
| Get single post with full content |
| List all pages |
| List media library items |
| List installed plugins |
Writing Content
Tool | Description |
| Create a new post (draft or published) |
| Update title, content, status, or excerpt |
| Move to trash or permanently delete |
Example Workflows
Blog Publishing
Content Audit
Bulk Operations
Environment Variables
Variable | Required | Description |
| Yes | Your WordPress site URL (e.g., |
| Yes | WordPress username |
| Yes | Application password (not your login password!) |
Requirements
Python 3.10+
WordPress 5.6+ (for Application Passwords)
WordPress REST API enabled (default on most sites)
Troubleshooting
"Authentication failed"
Verify your Application Password is correct (no spaces)
Ensure the user has permission to access REST API
Check if a security plugin is blocking REST API
"Connection refused"
Verify
WORDPRESS_URLincludeshttps://Check if your site is behind a firewall/VPN
Server not appearing in Claude Code
Run
/mcpto see error messagesTest manually:
cd wordpress-mcp && uv run wordpress-mcpRestart Claude Code completely (
/quitthenclaude)
Roadmap
Categories and tags management
User management
Custom post types support
Media upload
Comments management
WooCommerce integration
Contributing
Contributions welcome! Please open an issue first to discuss what you'd like to change.
License
MIT
Built with FastMCP and the WordPress REST API.