WordPress MCP Server

update-post

Modify and update an existing WordPress post by changing its title, content, status, date, slug, author, excerpt, featured media, categories, tags, or other attributes using secure authentication.

Instructions

Update an existing WordPress post

Input Schema

NameRequiredDescriptionDefault
authorNoNew author ID for the post
categoriesNoNew categories for the post
commentStatusNoNew comment status for the post
contentNoNew content for the post
dateNoNew publication date in the site's timezone
dateGmtNoNew publication date as GMT
excerptNoNew excerpt for the post
featuredMediaNoNew featured media ID for the post
formatNoNew format for the post
metaNoNew meta fields
passwordYesWordPress application password
pingStatusNoNew ping status for the post
postIdYesID of the post to update
postPasswordNoNew password to protect access to the content and excerpt
siteUrlYesWordPress site URL
slugNoNew slug for the post
statusNoNew status for the post
stickyNoNew sticky status for the post
tagsNoNew tags for the post
templateNoNew template for the post
titleNoNew title for the post
usernameYesWordPress username

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "author": { "description": "New author ID for the post", "type": "number" }, "categories": { "description": "New categories for the post", "items": { "type": "number" }, "type": "array" }, "commentStatus": { "description": "New comment status for the post", "enum": [ "open", "closed" ], "type": "string" }, "content": { "description": "New content for the post", "type": "string" }, "date": { "description": "New publication date in the site's timezone", "type": "string" }, "dateGmt": { "description": "New publication date as GMT", "type": "string" }, "excerpt": { "description": "New excerpt for the post", "type": "string" }, "featuredMedia": { "description": "New featured media ID for the post", "type": "number" }, "format": { "description": "New format for the post", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "type": "string" }, "meta": { "additionalProperties": {}, "description": "New meta fields", "type": "object" }, "password": { "description": "WordPress application password", "type": "string" }, "pingStatus": { "description": "New ping status for the post", "enum": [ "open", "closed" ], "type": "string" }, "postId": { "description": "ID of the post to update", "type": "number" }, "postPassword": { "description": "New password to protect access to the content and excerpt", "type": "string" }, "siteUrl": { "description": "WordPress site URL", "format": "uri", "type": "string" }, "slug": { "description": "New slug for the post", "type": "string" }, "status": { "description": "New status for the post", "enum": [ "publish", "future", "draft", "pending", "private" ], "type": "string" }, "sticky": { "description": "New sticky status for the post", "type": "boolean" }, "tags": { "description": "New tags for the post", "items": { "type": "number" }, "type": "array" }, "template": { "description": "New template for the post", "type": "string" }, "title": { "description": "New title for the post", "type": "string" }, "username": { "description": "WordPress username", "type": "string" } }, "required": [ "siteUrl", "username", "password", "postId" ], "type": "object" }
ID: 4g84e42ylk