WordPress MCP Server for Cloudflare Workers
85 tools available in the WordPress MCP server. Each tool can be called by AI assistants to perform specific actions.
wordpress_list_blocksList reusable blocks (patterns).
Args:
Returns paginated list of reusable blocks.
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"search": {
"type": "string"
},
"status": {
"type": "string"
},
"orderby": {
"type": "string"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
}
}
}wordpress_get_blockGet a single reusable block by ID.
Args:
Returns the block with content.
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"blockId": {
"type": "number",
"description": "Block ID"
}
}
}wordpress_create_blockCreate a new reusable block.
Args:
Returns the created block.
{
"type": "object",
"required": [
"title",
"content"
],
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string",
"description": "Block title"
},
"status": {
"enum": [
"publish",
"draft",
"pending",
"private"
],
"type": "string"
},
"content": {
"type": "string",
"description": "Block content"
}
}
}wordpress_update_blockUpdate an existing reusable block.
Args:
Returns the updated block.
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"enum": [
"publish",
"draft",
"pending",
"private",
"trash"
],
"type": "string"
},
"blockId": {
"type": "number",
"description": "Block ID"
},
"content": {
"type": "string"
}
}
}wordpress_delete_blockDelete a reusable block.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"blockId"
],
"properties": {
"force": {
"type": "boolean"
},
"blockId": {
"type": "number",
"description": "Block ID"
}
}
}wordpress_list_block_typesList all registered block types.
Args:
Returns list of block types with their attributes and settings.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"namespace": {
"type": "string",
"description": "Filter by namespace"
}
}
}wordpress_get_block_typeGet details about a specific block type.
Args:
Returns block type details including attributes and supports.
{
"type": "object",
"required": [
"namespace",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Block name"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"namespace": {
"type": "string",
"description": "Block namespace"
}
}
}wordpress_list_commentsList comments from WordPress.
Args:
Returns paginated list of comments.
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"post": {
"type": "number",
"description": "Filter by post ID"
},
"type": {
"type": "string"
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"author": {
"type": "number"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"parent": {
"type": "number",
"description": "Filter by parent comment"
},
"search": {
"type": "string"
},
"status": {
"type": "string",
"description": "approved, hold, spam, trash"
},
"orderby": {
"type": "string"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
}
}
}wordpress_get_commentGet a single comment by ID.
Args:
Returns the comment with all fields.
{
"type": "object",
"required": [
"commentId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"commentId": {
"type": "number",
"description": "Comment ID"
}
}
}wordpress_create_commentCreate a new comment on a post.
Args:
Returns the created comment.
{
"type": "object",
"required": [
"post",
"content"
],
"properties": {
"post": {
"type": "number",
"description": "Post ID to comment on"
},
"author": {
"type": "number",
"description": "Author user ID"
},
"parent": {
"type": "number",
"description": "Parent comment for replies"
},
"status": {
"enum": [
"approved",
"hold"
],
"type": "string"
},
"content": {
"type": "string",
"description": "Comment content"
},
"authorUrl": {
"type": "string",
"description": "Author URL"
},
"authorName": {
"type": "string",
"description": "Author name (anonymous)"
},
"authorEmail": {
"type": "string",
"description": "Author email"
}
}
}wordpress_update_commentUpdate an existing comment.
Args:
Returns the updated comment.
{
"type": "object",
"required": [
"commentId"
],
"properties": {
"status": {
"enum": [
"approved",
"hold",
"spam",
"trash"
],
"type": "string"
},
"content": {
"type": "string"
},
"authorUrl": {
"type": "string"
},
"commentId": {
"type": "number",
"description": "Comment ID to update"
},
"authorName": {
"type": "string"
},
"authorEmail": {
"type": "string"
}
}
}wordpress_delete_commentDelete a comment.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"commentId"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Permanently delete"
},
"commentId": {
"type": "number",
"description": "Comment ID to delete"
}
}
}wordpress_approve_commentApprove a pending comment.
Args:
Returns the approved comment.
{
"type": "object",
"required": [
"commentId"
],
"properties": {
"commentId": {
"type": "number",
"description": "Comment ID to approve"
}
}
}wordpress_spam_commentMark a comment as spam.
Args:
Returns the updated comment.
{
"type": "object",
"required": [
"commentId"
],
"properties": {
"commentId": {
"type": "number",
"description": "Comment ID to mark as spam"
}
}
}wordpress_list_mediaList media items from WordPress media library.
Args:
Returns paginated list of media items.
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"author": {
"type": "number"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"parent": {
"type": "number",
"description": "Parent post ID"
},
"search": {
"type": "string"
},
"orderby": {
"type": "string"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"mimeType": {
"type": "string",
"description": "MIME type filter"
},
"mediaType": {
"enum": [
"image",
"video",
"text",
"application",
"audio"
],
"type": "string"
}
}
}wordpress_get_mediaGet a single media item by ID.
Args:
Returns the media item with details including source URL and sizes.
{
"type": "object",
"required": [
"mediaId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"mediaId": {
"type": "number",
"description": "Media ID"
}
}
}wordpress_upload_mediaUpload a media file to WordPress from a URL.
Args:
Returns the created media item with source URL.
{
"type": "object",
"required": [
"fileUrl",
"filename"
],
"properties": {
"post": {
"type": "number",
"description": "Parent post ID"
},
"title": {
"type": "string"
},
"altText": {
"type": "string",
"description": "Alt text for images"
},
"caption": {
"type": "string"
},
"fileUrl": {
"type": "string",
"description": "URL of the file to upload"
},
"filename": {
"type": "string",
"description": "Filename for the uploaded file"
},
"description": {
"type": "string"
}
}
}wordpress_update_mediaUpdate media item metadata.
Args:
Returns the updated media item.
{
"type": "object",
"required": [
"mediaId"
],
"properties": {
"post": {
"type": "number"
},
"title": {
"type": "string"
},
"altText": {
"type": "string"
},
"caption": {
"type": "string"
},
"mediaId": {
"type": "number",
"description": "Media ID to update"
},
"description": {
"type": "string"
}
}
}wordpress_delete_mediaDelete a media item.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"mediaId"
],
"properties": {
"force": {
"type": "boolean",
"default": true,
"description": "Permanently delete"
},
"mediaId": {
"type": "number",
"description": "Media ID to delete"
}
}
}wordpress_list_menusList navigation menus.
Args:
Returns list of registered menus with their locations.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_get_menuGet a specific menu by ID.
Args:
Returns the menu with locations.
{
"type": "object",
"required": [
"menuId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"menuId": {
"type": "number",
"description": "Menu ID"
}
}
}wordpress_list_menu_itemsList items in a menu.
Args:
Returns list of menu items with hierarchy.
{
"type": "object",
"required": [
"menuId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"menuId": {
"type": "number",
"description": "Menu ID"
}
}
}wordpress_get_menu_itemGet a specific menu item by ID.
Args:
Returns the menu item with details.
{
"type": "object",
"required": [
"menuItemId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"menuItemId": {
"type": "number",
"description": "Menu item ID"
}
}
}wordpress_list_pagesList pages from WordPress with filtering and pagination.
Args:
Returns paginated list of pages.
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Page number"
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort order"
},
"author": {
"type": "number",
"description": "Filter by author ID"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"parent": {
"type": "number",
"description": "Filter by parent page ID"
},
"search": {
"type": "string",
"description": "Search query"
},
"status": {
"type": "string",
"description": "Filter by status"
},
"orderby": {
"type": "string",
"description": "Sort field"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of pages per page"
},
"menuOrder": {
"type": "number",
"description": "Filter by menu order"
}
}
}wordpress_get_pageGet a single page by ID.
Args:
Returns the page with all fields.
{
"type": "object",
"required": [
"pageId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"pageId": {
"type": "number",
"description": "Page ID"
}
}
}wordpress_create_pageCreate a new page in WordPress.
Args:
Returns the created page.
{
"type": "object",
"required": [
"title",
"content"
],
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string",
"description": "Page title"
},
"author": {
"type": "number"
},
"parent": {
"type": "number",
"description": "Parent page ID"
},
"status": {
"enum": [
"publish",
"draft",
"pending",
"private",
"future"
],
"type": "string"
},
"content": {
"type": "string",
"description": "Page content (HTML)"
},
"excerpt": {
"type": "string"
},
"template": {
"type": "string",
"description": "Page template"
},
"menuOrder": {
"type": "number",
"description": "Menu order"
},
"commentStatus": {
"enum": [
"open",
"closed"
],
"type": "string"
},
"featuredMedia": {
"type": "number"
}
}
}wordpress_update_pageUpdate an existing page.
Args:
Returns the updated page.
{
"type": "object",
"required": [
"pageId"
],
"properties": {
"title": {
"type": "string"
},
"author": {
"type": "number"
},
"pageId": {
"type": "number",
"description": "Page ID to update"
},
"parent": {
"type": "number"
},
"status": {
"enum": [
"publish",
"draft",
"pending",
"private",
"future",
"trash"
],
"type": "string"
},
"content": {
"type": "string"
},
"excerpt": {
"type": "string"
},
"template": {
"type": "string"
},
"menuOrder": {
"type": "number"
},
"featuredMedia": {
"type": "number"
}
}
}wordpress_delete_pageDelete a page.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"pageId"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Permanently delete"
},
"pageId": {
"type": "number",
"description": "Page ID to delete"
}
}
}wordpress_list_page_revisionsList revisions for a specific page.
Args:
Returns list of page revisions.
{
"type": "object",
"required": [
"pageId"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"pageId": {
"type": "number",
"description": "Parent page ID"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
}
}
}wordpress_get_page_revisionGet a specific page revision.
Args:
Returns the revision.
{
"type": "object",
"required": [
"pageId",
"revisionId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"pageId": {
"type": "number",
"description": "Parent page ID"
},
"revisionId": {
"type": "number",
"description": "Revision ID"
}
}
}wordpress_delete_page_revisionDelete a page revision.
Args:
Returns confirmation.
{
"type": "object",
"required": [
"pageId",
"revisionId"
],
"properties": {
"pageId": {
"type": "number",
"description": "Parent page ID"
},
"revisionId": {
"type": "number",
"description": "Revision ID"
}
}
}wordpress_list_page_autosavesList autosaves for a specific page.
Args:
Returns list of autosaves.
{
"type": "object",
"required": [
"pageId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"pageId": {
"type": "number",
"description": "Parent page ID"
}
}
}wordpress_create_page_autosaveCreate an autosave for a page.
Args:
Returns the created autosave.
{
"type": "object",
"required": [
"pageId",
"title",
"content"
],
"properties": {
"title": {
"type": "string",
"description": "Title"
},
"pageId": {
"type": "number",
"description": "Parent page ID"
},
"content": {
"type": "string",
"description": "Content"
},
"excerpt": {
"type": "string"
}
}
}wordpress_list_pluginsList installed plugins.
Args:
Returns list of installed plugins with status and version.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"search": {
"type": "string",
"description": "Search query"
},
"status": {
"enum": [
"active",
"inactive"
],
"type": "string",
"description": "Filter by status"
}
}
}wordpress_get_pluginGet details about a specific plugin.
Args:
Returns plugin details including version and description.
{
"type": "object",
"required": [
"plugin"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"plugin": {
"type": "string",
"description": "Plugin file path"
}
}
}wordpress_activate_pluginActivate an installed plugin.
Args:
Returns the activated plugin.
{
"type": "object",
"required": [
"plugin"
],
"properties": {
"plugin": {
"type": "string",
"description": "Plugin file path"
}
}
}wordpress_deactivate_pluginDeactivate an active plugin.
Args:
Returns the deactivated plugin.
{
"type": "object",
"required": [
"plugin"
],
"properties": {
"plugin": {
"type": "string",
"description": "Plugin file path"
}
}
}wordpress_delete_pluginDelete a plugin. The plugin must be deactivated first.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"plugin"
],
"properties": {
"plugin": {
"type": "string",
"description": "Plugin file path"
}
}
}wordpress_create_tagCreate a new tag.
Args:
Returns the created tag.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Tag name"
},
"slug": {
"type": "string"
},
"description": {
"type": "string"
}
}
}wordpress_list_postsList posts from WordPress with filtering and pagination.
Args:
Returns paginated list of posts with metadata.
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Page number"
},
"tags": {
"type": "string",
"description": "Tag IDs (comma-separated)"
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort order"
},
"author": {
"type": "number",
"description": "Filter by author ID"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"search": {
"type": "string",
"description": "Search query"
},
"status": {
"type": "string",
"description": "Filter by status"
},
"orderby": {
"type": "string",
"description": "Sort field"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of posts per page"
},
"categories": {
"type": "string",
"description": "Category IDs (comma-separated)"
}
}
}wordpress_get_postGet a single post by ID.
Args:
Returns the post with all fields including content.
{
"type": "object",
"required": [
"postId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"postId": {
"type": "number",
"description": "Post ID"
}
}
}wordpress_create_postCreate a new post in WordPress.
Args:
Returns the created post.
{
"type": "object",
"required": [
"title",
"content"
],
"properties": {
"slug": {
"type": "string",
"description": "URL slug"
},
"tags": {
"type": "array",
"items": {
"type": "number"
},
"description": "Tag IDs"
},
"title": {
"type": "string",
"description": "Post title"
},
"author": {
"type": "number",
"description": "Author user ID"
},
"format": {
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"type": "string",
"description": "Post format"
},
"status": {
"enum": [
"publish",
"draft",
"pending",
"private",
"future"
],
"type": "string",
"description": "Post status"
},
"sticky": {
"type": "boolean",
"description": "Sticky post"
},
"content": {
"type": "string",
"description": "Post content (HTML)"
},
"excerpt": {
"type": "string",
"description": "Post excerpt"
},
"categories": {
"type": "array",
"items": {
"type": "number"
},
"description": "Category IDs"
},
"commentStatus": {
"enum": [
"open",
"closed"
],
"type": "string",
"description": "Comment status"
},
"featuredMedia": {
"type": "number",
"description": "Featured image media ID"
}
}
}wordpress_update_postUpdate an existing post.
Args:
Returns the updated post.
{
"type": "object",
"required": [
"postId"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "number"
}
},
"title": {
"type": "string"
},
"author": {
"type": "number"
},
"postId": {
"type": "number",
"description": "Post ID to update"
},
"status": {
"enum": [
"publish",
"draft",
"pending",
"private",
"future",
"trash"
],
"type": "string"
},
"sticky": {
"type": "boolean"
},
"content": {
"type": "string"
},
"excerpt": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "number"
}
},
"commentStatus": {
"enum": [
"open",
"closed"
],
"type": "string"
},
"featuredMedia": {
"type": "number"
}
}
}wordpress_delete_postDelete a post.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"postId"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Permanently delete (bypass trash)"
},
"postId": {
"type": "number",
"description": "Post ID to delete"
}
}
}wordpress_list_post_revisionsList revisions for a specific post.
Args:
Returns list of post revisions.
{
"type": "object",
"required": [
"postId"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"postId": {
"type": "number",
"description": "Parent post ID"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
}
}
}wordpress_get_post_revisionGet a specific post revision.
Args:
Returns the revision with content.
{
"type": "object",
"required": [
"postId",
"revisionId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"postId": {
"type": "number",
"description": "Parent post ID"
},
"revisionId": {
"type": "number",
"description": "Revision ID"
}
}
}wordpress_delete_post_revisionDelete a post revision.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"postId",
"revisionId"
],
"properties": {
"postId": {
"type": "number",
"description": "Parent post ID"
},
"revisionId": {
"type": "number",
"description": "Revision ID to delete"
}
}
}wordpress_list_post_autosavesList autosaves for a specific post.
Args:
Returns list of autosaves.
{
"type": "object",
"required": [
"postId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"postId": {
"type": "number",
"description": "Parent post ID"
}
}
}wordpress_create_post_autosaveCreate an autosave for a post.
Args:
Returns the created autosave.
{
"type": "object",
"required": [
"postId",
"title",
"content"
],
"properties": {
"title": {
"type": "string",
"description": "Title"
},
"postId": {
"type": "number",
"description": "Parent post ID"
},
"content": {
"type": "string",
"description": "Content"
},
"excerpt": {
"type": "string"
}
}
}wordpress_get_settingsGet site settings.
Args:
Returns site settings including title, description, timezone, date format, etc.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_update_settingsUpdate site settings.
Args:
Returns the updated settings.
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Site title"
},
"language": {
"type": "string"
},
"timezone": {
"type": "string",
"description": "Timezone"
},
"dateFormat": {
"type": "string",
"description": "Date format"
},
"timeFormat": {
"type": "string",
"description": "Time format"
},
"description": {
"type": "string",
"description": "Site tagline"
},
"startOfWeek": {
"type": "number",
"maximum": 6,
"minimum": 0
},
"postsPerPage": {
"type": "number"
},
"defaultCategory": {
"type": "number"
},
"defaultPingStatus": {
"enum": [
"open",
"closed"
],
"type": "string"
},
"defaultCommentStatus": {
"enum": [
"open",
"closed"
],
"type": "string"
}
}
}wordpress_list_post_typesList all registered post types.
Args:
Returns all post types including posts, pages, and custom types.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_get_post_typeGet details about a specific post type.
Args:
Returns post type details including labels and capabilities.
{
"type": "object",
"required": [
"postType"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"postType": {
"type": "string",
"description": "Post type slug"
}
}
}wordpress_list_post_statusesList all available post statuses.
Args:
Returns all statuses (publish, draft, pending, private, etc.).
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_get_post_statusGet details about a specific post status.
Args:
Returns status details.
{
"type": "object",
"required": [
"status"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"status": {
"type": "string",
"description": "Status slug"
}
}
}wordpress_searchSearch across WordPress content.
Args:
Returns search results with titles and URLs.
{
"type": "object",
"required": [
"search"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"type": {
"enum": [
"post",
"term",
"post-format"
],
"type": "string"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"search": {
"type": "string",
"description": "Search query"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"subtype": {
"type": "string",
"description": "Specific subtype"
}
}
}wordpress_list_categoriesList categories from WordPress.
Args:
Returns paginated list of categories.
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"parent": {
"type": "number"
},
"search": {
"type": "string"
},
"orderby": {
"type": "string"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"hideEmpty": {
"type": "boolean",
"description": "Hide empty categories"
}
}
}wordpress_get_categoryGet a single category by ID.
Args:
Returns the category with all fields.
{
"type": "object",
"required": [
"categoryId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"categoryId": {
"type": "number",
"description": "Category ID"
}
}
}wordpress_create_categoryCreate a new category.
Args:
Returns the created category.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Category name"
},
"slug": {
"type": "string"
},
"parent": {
"type": "number",
"description": "Parent category ID"
},
"description": {
"type": "string"
}
}
}wordpress_update_categoryUpdate an existing category.
Args:
Returns the updated category.
{
"type": "object",
"required": [
"categoryId"
],
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"parent": {
"type": "number"
},
"categoryId": {
"type": "number",
"description": "Category ID"
},
"description": {
"type": "string"
}
}
}wordpress_delete_categoryDelete a category.
Args:
Note: Posts in this category will be moved to the default category.
{
"type": "object",
"required": [
"categoryId"
],
"properties": {
"categoryId": {
"type": "number",
"description": "Category ID"
}
}
}wordpress_list_tagsList tags from WordPress.
Args:
Returns paginated list of tags.
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"search": {
"type": "string"
},
"orderby": {
"type": "string"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"hideEmpty": {
"type": "boolean"
}
}
}wordpress_get_tagGet a single tag by ID.
Args:
Returns the tag with all fields.
{
"type": "object",
"required": [
"tagId"
],
"properties": {
"tagId": {
"type": "number",
"description": "Tag ID"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_update_tagUpdate an existing tag.
Args:
Returns the updated tag.
{
"type": "object",
"required": [
"tagId"
],
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"tagId": {
"type": "number",
"description": "Tag ID"
},
"description": {
"type": "string"
}
}
}wordpress_delete_tagDelete a tag.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"tagId"
],
"properties": {
"tagId": {
"type": "number",
"description": "Tag ID"
}
}
}wordpress_list_taxonomiesList all registered taxonomies.
Args:
Returns all taxonomies including categories, tags, and custom taxonomies.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_get_taxonomyGet details about a specific taxonomy.
Args:
Returns taxonomy details including labels and settings.
{
"type": "object",
"required": [
"taxonomy"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"taxonomy": {
"type": "string",
"description": "Taxonomy slug"
}
}
}wordpress_list_themesList installed themes.
Args:
Returns list of installed themes with status and version.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"status": {
"enum": [
"active",
"inactive"
],
"type": "string",
"description": "Filter by status"
}
}
}wordpress_get_themeGet details about a specific theme.
Args:
Returns theme details including version, author, and features.
{
"type": "object",
"required": [
"stylesheet"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"stylesheet": {
"type": "string",
"description": "Theme stylesheet"
}
}
}wordpress_get_active_themeGet the currently active theme.
Args:
Returns the active theme details.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_list_usersList users from WordPress.
Args:
Returns paginated list of users.
{
"type": "object",
"properties": {
"who": {
"enum": [
"authors"
],
"type": "string",
"description": "Filter to authors only"
},
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"roles": {
"type": "string",
"description": "Roles (comma-separated)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"search": {
"type": "string"
},
"orderby": {
"type": "string"
},
"perPage": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
}
}
}wordpress_get_userGet a single user by ID.
Args:
Returns the user with all fields.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"userId": {
"type": "number",
"description": "User ID"
}
}
}wordpress_get_current_userGet the currently authenticated user.
Args:
Returns the current user's profile.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_create_userCreate a new user.
Args:
Returns the created user.
{
"type": "object",
"required": [
"username",
"email",
"password"
],
"properties": {
"url": {
"type": "string"
},
"name": {
"type": "string",
"description": "Display name"
},
"email": {
"type": "string",
"description": "Email"
},
"roles": {
"type": "array",
"items": {
"type": "string"
},
"description": "User roles"
},
"locale": {
"type": "string"
},
"lastName": {
"type": "string"
},
"nickname": {
"type": "string"
},
"password": {
"type": "string",
"description": "Password"
},
"username": {
"type": "string",
"description": "Username"
},
"firstName": {
"type": "string"
},
"description": {
"type": "string"
}
}
}wordpress_update_userUpdate an existing user.
Args:
Returns the updated user.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"locale": {
"type": "string"
},
"userId": {
"type": "number",
"description": "User ID"
},
"lastName": {
"type": "string"
},
"nickname": {
"type": "string"
},
"password": {
"type": "string"
},
"firstName": {
"type": "string"
},
"description": {
"type": "string"
}
}
}wordpress_delete_userDelete a user.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"userId",
"reassign"
],
"properties": {
"userId": {
"type": "number",
"description": "User ID to delete"
},
"reassign": {
"type": "number",
"description": "User ID to reassign content to"
}
}
}wordpress_list_application_passwordsList application passwords for a user.
Args:
Returns list of application passwords (without the actual passwords).
{
"type": "object",
"required": [
"userId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"userId": {
"type": "number",
"description": "User ID"
}
}
}wordpress_create_application_passwordCreate a new application password for a user.
Args:
Returns the new application password. IMPORTANT: The password is only shown once!
{
"type": "object",
"required": [
"userId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Application name"
},
"appId": {
"type": "string",
"description": "Application UUID"
},
"userId": {
"type": "number",
"description": "User ID"
}
}
}wordpress_delete_application_passwordDelete an application password.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"userId",
"uuid"
],
"properties": {
"uuid": {
"type": "string",
"description": "Application password UUID"
},
"userId": {
"type": "number",
"description": "User ID"
}
}
}wordpress_delete_all_application_passwordsDelete all application passwords for a user.
Args:
Returns count of deleted passwords.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "number",
"description": "User ID"
}
}
}wordpress_list_widgetsList widgets.
Args:
Returns list of widgets with their configuration.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"sidebar": {
"type": "string",
"description": "Sidebar ID filter"
}
}
}wordpress_get_widgetGet a specific widget by ID.
Args:
Returns the widget with configuration.
{
"type": "object",
"required": [
"widgetId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"widgetId": {
"type": "string",
"description": "Widget ID"
}
}
}wordpress_list_widget_typesList available widget types.
Args:
Returns list of registered widget types.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_list_sidebarsList registered sidebars (widget areas).
Args:
Returns list of sidebars with their status and widgets.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}wordpress_get_sidebarGet a specific sidebar by ID.
Args:
Returns the sidebar with widgets list.
{
"type": "object",
"required": [
"sidebarId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"sidebarId": {
"type": "string",
"description": "Sidebar ID"
}
}
}