Tools / WordPress

WordPress tools reference: complete catalog for this category.

Includes core, content, users, taxonomy, menus, settings, and diagnostics tools.

Core

Base tools to verify MCP connectivity and initial status.

mcp_ping Read-only

checks connectivity with the MCP server. It returns the current GMT time, basic site information, and optional lightweight diagnostics.

Posts

Editorial operations on posts, publishing, and content updates.

wp_get_posts Read-only

lists posts with filters and optional enrichments such as author, featured media, taxonomies, and pagination.

wp_get_post Read-only

gets one post by ID, with optional author, featured media, and taxonomy enrichments.

wp_create_post Write

creates a post. It accepts title, content, status, type, excerpt, author, featured image, metadata, categories, and taxonomies.

wp_update_post Write

updates a post by ID using fields compatible with `wp_update_post()`. It can also change the featured image.

wp_delete_post Write

deletes a post by ID.

wp_set_featured_image Write

assigns or removes the featured image of a post. If `attachment_id` is `0`, it removes the image.

Pages

Create, update, and delete static pages.

wp_get_pages Read-only

lists pages with filters for status, search, limit, offset, order, and order field.

wp_create_page Write

creates a page with title, content, status, author, parent, menu order, and metadata.

wp_update_page Write

updates a page by ID.

wp_delete_page Write

deletes a page by ID. It can bypass trash with `force=true`.

Comments

Moderation and lifecycle control for comments.

wp_get_comments Read-only

lists comments with filters by post, status, search, dates, limit, offset, and pagination.

wp_create_comment Write

creates a comment. It requires `post_id` and `comment_content`.

wp_update_comment Write

updates a comment by `comment_ID` with a fields object.

wp_delete_comment Write

deletes a comment by `comment_ID`, with an optional `force` flag.

Users and user meta

Read and update user metadata for administrative workflows.

wp_get_users Read-only

lists users with basic fields: ID, login, display name, and roles. It can optionally include registration date, avatar, post count, and pagination.

wp_get_user_meta Sensitive read

gets user metadata by `user_id` and optional `meta_key`.

wp_update_user_meta Write

updates a user meta value by `user_id`, `meta_key`, and `meta_value`.

wp_delete_user_meta Write

deletes user metadata by `user_id` and `meta_key`.

Plugins and themes

Inspect technical environment for support and audits.

wp_list_plugins Read-only

lists installed plugins with name and version.

wp_get_themes Read-only

lists installed themes.

Taxonomies, categories and tags

Manage taxonomy terms for editorial classification.

wp_get_taxonomies Read-only

lists registered taxonomies and returns `slug`, `name`, and `label` for each item.

wp_get_terms Read-only

lists terms from a taxonomy.

wp_create_term Write

creates a term in any registered taxonomy.

wp_update_term Write

updates a term in any taxonomy.

wp_delete_term Write

deletes a term by `term_id` and taxonomy.

wp_get_term_meta Sensitive read

gets term metadata and redacts values that look like secrets. Output is structured as `{term_id, key, value}` when `meta_key` is provided, or `{term_id, meta}` when it is not.

wp_update_term_meta Write

updates term metadata.

wp_delete_term_meta Write

deletes term metadata.

wp_get_categories Read-only

lists categories with empty, search, and limit filters.

wp_create_category Write

creates a category.

wp_update_category Write

updates a category by `term_id`.

wp_delete_category Write

deletes a category.

wp_get_tags Read-only

lists tags with filters.

wp_create_tag Write

creates a tag.

wp_update_tag Write

updates a tag by `term_id`.

wp_delete_tag Write

deletes a tag.

Options, settings and metadata

Read and update options with controlled safeguards.

wp_get_option Sensitive read

gets the value of a WordPress option.

wp_get_plugin_settings Sensitive read

inspects plugin-related options by slug or prefixes and recursively redacts secrets.

wp_update_option Write

updates a WordPress option.

wp_get_post_meta Sensitive read

gets post metadata.

wp_update_post_meta Write

updates post metadata.

wp_delete_post_meta Write

deletes post metadata.

wp_get_settings Sensitive read

gets WordPress settings. It can receive a `keys` array to limit the query.

wp_update_settings Write

updates multiple WordPress settings.

Revisions, post types and health

Technical diagnostics and content restoration flows.

wp_get_post_revisions Read-only

gets revisions for a post.

wp_restore_post_revision Write

restores a post to a revision by `revision_id`.

wp_get_post_types Read-only

lists registered post types with labels, capabilities, and visibility.

wp_get_site_health Sensitive read

runs a site audit with depth levels 0, 1, or 2.

Utilities and network

Search and network lookups for AI-assisted operations.

search Read-only

searches posts with filters for type, author, category, tag, status, date, order, and pagination.

fetch Sensitive read

fetches a URL using the WordPress HTTP API. It supports method, query params, headers, timeout, redirects, HEAD mode, text extraction, and byte limits.