Skip to main content
Glama

update-post

Use this tool to modify existing WordPress posts by updating content, title, status, date, author, categories, tags, and other fields. Requires site URL, credentials, and post ID for authentication.

Instructions

Update an existing WordPress post

Input Schema

TableJSON 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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prathammanocha/wordpress-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server