WordPress MCP Server

delete-post

Remove WordPress posts programmatically by specifying site URL, credentials, and post ID. Optionally bypass Trash for permanent deletion. Integrates with WordPress MCP Server for secure post management.

Instructions

Delete a WordPress post

Input Schema

NameRequiredDescriptionDefault
forceNoWhether to bypass Trash and force deletion
passwordYesWordPress application password
postIdYesID of the post to delete
siteUrlYesWordPress site URL
usernameYesWordPress username

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "force": { "default": false, "description": "Whether to bypass Trash and force deletion", "type": "boolean" }, "password": { "description": "WordPress application password", "type": "string" }, "postId": { "description": "ID of the post to delete", "type": "number" }, "siteUrl": { "description": "WordPress site URL", "format": "uri", "type": "string" }, "username": { "description": "WordPress username", "type": "string" } }, "required": [ "siteUrl", "username", "password", "postId" ], "type": "object" }
ID: 4g84e42ylk