wp_update_post is one of 162 MCP tools included in Easy MCP AI β the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin βwp_update_post
DestructiveDescription
Publish a draft, swap categories, rewrite a headline, or add a section β all without opening the WordPress editor. Easy MCP AI routes the instruction from your AI client directly to your site's REST API, so every field on a post (title, content, status, tags, featured image) is within reach. Pair it with wp_list_posts or wp_search_posts to pinpoint the right post ID first, then let Easy MCP AI apply the change in one step. Pure PHP, no Node.js proxy required.
See it in action
wp_search_posts Finding the "WordPress Security Tips" postβ¦
{
"total": 1,
"results": [
{ "post_id": 42, "title": "WordPress Security Tips", "status": "publish", "date": "2024-01-18" }
]
} wp_update_post {
"post_id": 42,
"title": "WordPress Security Tips",
"status": "publish",
"updated_fields": ["content"],
"url": "https://yoursite.com/wordpress-security-tips/"
} Found post #42 β 'WordPress Security Tips'. I've added a new section on two-factor authentication and saved the changes. The post is live.
Example Use Cases & Sample Prompts
- Publishing a draft
- Prompt: βFind all my draft posts and publish the one titled βSummer Sale Guideβ.β
- Fixing a published post
- Prompt: βThe post about WordPress plugins has a typo in the intro β can you fix it? List my recent posts first so you can find it.β
- Adding tags to existing posts
- Prompt: βFind my posts from this month that donβt have any tags and add relevant ones based on their content.β
- Updating a postβs content
- Prompt: βSearch for the post titled βGetting Started with MCPβ and add a new section at the end summarizing the key takeaways.β
- Bulk status change
- Prompt: βList all my scheduled posts and change them all to draft status for now.β
Frequently Asked Questions
What does wp_update_post do?
Publish a draft, swap categories, rewrite a headline, or add a section β all without opening the WordPress editor. Easy MCP AI routes the instruction from your AI client directly to your site's REST API, so every field on a post (title, content, status, tags, featured image) is within reach. Pair it with wp_list_posts or wp_search_posts to pinpoint the right post ID first, then let Easy MCP AI apply the change in one step. Pure PHP, no Node.js proxy required.
How do I use wp_update_post with my AI assistant?
Install the Easy MCP AI WordPress plugin, generate an API token in your dashboard, and connect your AI client (Claude, ChatGPT, Cursor, or any MCP-compatible assistant). Then simply describe what you want in natural language β for example: "Update the 'WordPress Security Tips' post to include a new section on two-factor authentication."
Do I need Easy MCP AI to use wp_update_post?
Yes. wp_update_post is one of 162 MCP tools bundled inside the Easy MCP AI WordPress plugin. Install the free plugin from WordPress.org, connect your AI client, and this tool becomes available immediately β no coding required.
Related Tools
PostsHave your AI write, categorize, tag, and publish a new blog post β all in one step
Trash or permanently delete a specific post by ID
Fetch the full content and metadata of a specific post by ID
Ask your AI to browse posts by status, category, tag, author, or keyword with pagination
Search posts by keyword or phrase across all statuses
Upload an image or file from a URL directly into the WordPress media library
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_update_post and all 74 tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.