get-category
Retrieve a specific WordPress category by ID using site URL, username, and application password. Integrates with WordPress MCP Server for secure API-based category management.
Instructions
Get a specific category by ID
Input Schema
Name | Required | Description | Default |
---|---|---|---|
categoryId | Yes | ID of the category to retrieve | |
context | No | Scope under which the request is made | view |
password | Yes | WordPress application password | |
siteUrl | Yes | WordPress site URL | |
username | Yes | WordPress 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"
}