WordPress MCP Server

delete-category

Remove a specific category from a WordPress site by specifying its ID, ensuring cleanup and streamlined content organization. Requires site URL, username, password, and category details for secure execution.

Instructions

Delete a WordPress category

Input Schema

NameRequiredDescriptionDefault
categoryIdYesID of the category to delete
forceNoRequired to be true, as terms do not support trashing
passwordYesWordPress application password
siteUrlYesWordPress site URL
usernameYesWordPress username

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "categoryId": { "description": "ID of the category to delete", "type": "number" }, "force": { "default": true, "description": "Required to be true, as terms do not support trashing", "type": "boolean" }, "password": { "description": "WordPress application password", "type": "string" }, "siteUrl": { "description": "WordPress site URL", "format": "uri", "type": "string" }, "username": { "description": "WordPress username", "type": "string" } }, "required": [ "siteUrl", "username", "password", "categoryId" ], "type": "object" }
ID: 4g84e42ylk