Skip to main content
Glama

WordPress MCP Server

by Leonelberio

update_post

Modify an existing WordPress post by updating its title, content, or status using the WordPress MCP Server. Input the post ID and desired changes for efficient content management.

Instructions

Update an existing WordPress post

Input Schema

NameRequiredDescriptionDefault
contentNoNew post content
passwordNoWordPress password (overrides WORDPRESS_PASSWORD env var)
postIdYesPost ID to update
siteUrlNoWordPress site URL (overrides WORDPRESS_SITE_URL env var)
statusNoNew post status (draft, publish, etc.)
titleNoNew post title
usernameNoWordPress username (overrides WORDPRESS_USERNAME env var)

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "New post content", "type": "string" }, "password": { "description": "WordPress password (overrides WORDPRESS_PASSWORD env var)", "type": "string" }, "postId": { "description": "Post ID to update", "type": "number" }, "siteUrl": { "description": "WordPress site URL (overrides WORDPRESS_SITE_URL env var)", "type": "string" }, "status": { "description": "New post status (draft, publish, etc.)", "type": "string" }, "title": { "description": "New post title", "type": "string" }, "username": { "description": "WordPress username (overrides WORDPRESS_USERNAME env var)", "type": "string" } }, "required": [ "postId" ], "type": "object" }
Install Server

Other Tools from WordPress MCP Server

Related Tools

    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/Leonelberio/the-wordpress-mcp-server'

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