Accumulate site edits in a staging Changeset, preview them on the live site without touching production, then Publish Changeset after human approval.
Agent prompt (paste-ready):
You have access to a WordPress site. Before staging changes: (1) Check if Changesets and WordPress MCP Adapter are installed and active by verifying
changesets/*abilities are available via MCP. (2) If missing, explain both plugins are required, ask permission to install, then install if allowed. (3) Once plugins are active, ensure MCP connection with Application Password. Then workflow: create changeset → stage changes with changesets/save (type: content/styles/setting) → give human the preview URL and wait for approval → after approval call changesets/approve then changesets/publish. Never edit live content directly unless human explicitly requests a repair outside Changesets.
Setup checklist (verify BEFORE asking for credentials):
- Are Changesets + MCP Adapter installed and active?
- Verify by checking if
changesets/*abilities are available via MCP tools - If missing: Ask permission to install, then install if allowed
- Only after plugins are active: Request Application Password / MCP connection if not connected
Why: Site URL alone ≠ MCP access. You need the adapter plugin + authenticated connection for changesets/* tools to appear.
Critical rule: Never edit live posts, options, or styles directly. Use Changesets abilities only. Only bypass Changesets if human explicitly asks for a live repair.
Workflow:
- Create a changeset:
changesets/create→ returns{ preview_url, uuid, changeset_id } - Stage work:
changesets/savewith one of threetypevalues:content— page/post/template/template-part/navigation/CPTstyles— global styles and style variationssetting— site options (blogname, page_on_front, etc.)
- Preview: Give the human the
?changeset=<uuid>URL and wait for approval - Publish: After approval, call
changesets/approve, thenchangesets/publish
See BUILD.md for ability details and readme.txt for complete documentation.
Requirements: Hosted WordPress 6.9+ (not Playground)
- Install and activate Changesets and WordPress MCP Adapter on your WordPress site
- Create an Application Password (propose-only user without publish permissions recommended)
- Connect your MCP client to the site using the Application Password
Media policy: Attachment posts are never staged in changesets. Uploads go directly to the Media Library (persist on discard). Changesets stage only references: featured images (featured_media), site logo (custom_logo), site icon (site_icon), and content HTML/blocks containing attachment IDs.
Expanded settings:
- Site icon (option:
site_icon) - Site logo (theme_mod:
custom_logo) - Featured images on content saves (field:
featured_mediaorthumbnail_id)
What stages: Content (pages, posts, templates, parts, navigation, CPTs), global styles, style variations, and settings (site title, homepage, logo, icon). Media attachments remain live; only IDs are staged.
Storage model: CPT bag + draft clones for post-like entities + JSON meta for options/styles. Not one Customizer JSON blob in post_content.
See BUILD.md for ability details and readme.txt for complete changelog.
- Fix: Publish correctly promotes new pages to live status by clearing staged markers first
- Fix: Settings referencing staged content (like
page_on_front) are remapped to final live IDs - Fix: Publish returns accurate results including failed items
- New:
changesets/discardability to trash changesets and delete staged drafts - New:
changesets/statusability for setup verification and readiness checks - Enhanced:
changesets/getincludes staged options, styles, and variations - Improved: Agent setup docs require plugin verification before credentials
See readme.txt for full changelog.
GPLv2 or later