WordPress MCP Server

get-category

Retrieve a specific WordPress category by its ID using authenticated API requests. Manage and access category details programmatically for efficient site administration.

Instructions

Get a specific category by ID

Input Schema

NameRequiredDescriptionDefault
categoryIdYesID of the category to retrieve
contextNoScope under which the request is madeview
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 retrieve", "type": "number" }, "context": { "default": "view", "description": "Scope under which the request is made", "enum": [ "view", "embed", "edit" ], "type": "string" }, "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