Editor · tools

What Claude can call on the editor zip

Names as they appear on wpadapter.com/mcp. Pass site_id when the key sees more than one site. A Forms-only key does not get this list.

Always start here

ToolDoes
list-sitesWordPress this key may use. Client keys already have one.
get-siteName, theme, editors, preferred_editor, job, create_hint, playbooks. Read playbooks before you improvise.
get-policyDraft-only, allow_publish, trash, media, chrome, replace. The model should read this before it tries to go live.

Posts and pages

ToolDoes
search-postss, post_type, post_status. 50 per page.
get-postTitle, slug, status, Markdown, editor name, block tree. Argument: id.
create-postDraft unless status=publish. Optional slug (æ→ae, ø→oe, å→aa). On Divi: native [et_pb_section] in content_divi or content_html (written as the canvas). Markdown or Gutenberg blocks otherwise. Optional categories, tags, excerpt, editor.
update-postmode=patch keeps copy. Optional slug. Native Divi shortcodes replace a draft canvas without Allow replace. Plain HTML on an existing Divi canvas still needs mode=replace.
set-statusdraft / pending / private / publish / future. Optional slug — pass it here or WordPress rebuilds from the title. Allow publish on by default.
trash-postTrash only. No force-delete. Dangerous · default off.
convert-markdownMarkdown → Gutenberg markup. Does not write the post.

Preview, CSS, files

Playbooks: new-landing, rewrite-copy, css-fight, ship. Public drafts 404 — mint a visitor URL first.

ToolDoes
preview-postSigned visitor URL for a draft. 24h. Lite can call this.
inspect-frontGET a published URL or a draft id (issues preview). Body class, stylesheets, style tags, needle hits.
search-cssNeedle in Additional CSS, Divi custom CSS, page CSS, HFCM, allowlisted files. Whitespace-collapsed match, so border-radius: 15px hits border-radius:15px.
get-site-cssDump those CSS buckets plus Divi globals (column / radius / shadow / background / gutter / fonts) and HFCM. Optional post id.
update-site-cssbucket additional / divi / page. Pro. Allow site CSS on by default. Never PHP.
search-filesGrep css/js/html/txt/json under wp-content. No PHP, no .env, no .htaccess.
purge-cacheLiteSpeed, Super Cache, Rocket, Autoptimize, Fastest Cache, object cache. Pro. Allow cache purge on by default.

Terms, media, menus

ToolDoes
list-termsCategories or tags. taxonomy = category, post_tag, or with WooCommerce product_cat / product_tag.
assign-termsSet categories and tags on a post. id.
list-mediaLibrary: ids, URLs, mime.
upload-mediaFrom URL (or base64 on origin). jpeg/png/gif/webp/pdf, ≤ 8MB. Needs Allow media. Dangerous · default off.
set-featured-imageid (post) + media_id.
list-menusNav menus on the site.
update-menuReplace items (simple). Needs edit_theme_options. Dangerous · default off.

Block nodes

Addressable tree with wpAdapterId. Use this to change one heading without rewriting the canvas.

ToolDoes
get-blocksTree for a post. id.
update-blockOne node: content and/or attrs.
insert-blockAfter a node or at an index.
move-blockNew index.
delete-blockRemove one node. Dangerous · default off.

Published posts cannot be node-edited while draft-only is on.

Templates

ToolDoes
list-templatesTheme Builder / header / footer / FSE templates.
get-templateRead one layout. id.
update-templatePatch if Allow site chrome is on. Dangerous · default off. Never theme PHP.

Undo and audit

ToolDoes
list-snapshotsSnapshots for a post. id.
rollbacksnapshot_id. Restores title, content, excerpt, status, slug, taxonomies, featured image, wp_adapter_* meta. Dangerous · default off.
list-auditLast N origin audit rows. Optional ability filter.

WooCommerce

Requires WooCommerce on the origin. Errors if it is off. Full chapter: WooCommerce.

ToolDoes
list-productsSearch the catalog. Lite can read.
get-productPrices, stock, variations. id. Lite can read.
create-productDraft by default. type = simple / virtual / variable.
update-productPatch. Live products refused while draft-only is on.
set-product-stockQuantity / status, including live products.
set-product-statusPublish a product. Dangerous · default off.
trash-productTrash only. Dangerous · default off.
list-ordersCards: number, total, email. Not the full address.
get-orderItems, totals, addresses, notes.
add-order-noteInternal, or customer_note: true.
set-order-statusDoes not refund the payment. Dangerous · default off. Policy → Allow order status.

Plugins and WordPress core

wordpress.org only. No zip, no URL, no theme PHP. Updates do not snapshot — rollback will not undo them.

ToolDoes
list-pluginsInstalled: slug, version, active, available update.
list-updatesCore + plugins that have an update. Refreshes the wordpress.org check.
update-pluginAlready-installed slug. Needs Allow plugin updates. Dangerous · default off.
install-pluginwordpress.org slug only. activate defaults true. If it is already there, use update-plugin. Dangerous · default off.
update-coreWordPress core. Own Policy flag. Dangerous · default off.

Lite vs Pro

Without a paid editor plan on the origin, only these abilities register: get-site, get-policy, search-posts, get-post, list-terms, list-media, create-post, update-post, preview-post, convert-markdown, list-products, get-product. Writes stay draft. Everything else returns that it needs Pro — and Policy stays locked.

Never: zip upload, open-ended update_option, create_user, run_sql, edit_file, eval, force-delete, theme PHP. Plugin install is a wordpress.org slug, and only when Allow plugin updates is on. Core update is its own flag. Allowed options if you toggle them: blogname, blogdescription.

The WordPress® trademark is the intellectual property of the WordPress Foundation. Uses of the WordPress® names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation. WP Adapter is not endorsed or owned by, or affiliated with, the WordPress Foundation.