2.2.0 on July 23, 2026
This release adds tools for browsing and safely editing your theme's Full Site Editing templates, creating reusable patterns, and listing block binding sources, along with richer block-type and pattern discovery. It also restores editing on sites behind a server firewall and keeps your saved settings from being overwritten.
🚀 Added
- You can now browse your block theme's Full Site Editing templates and template parts through the assistant, and see at a glance whether each one is served from your theme's files or from a saved customization that overrides them.
- The assistant can now edit theme templates and template parts when you allow it. This is off by default; turn it on at Settings → Block MCP. Each edit is saved as a customization that leaves your original theme files untouched and can be reverted at any time, either through the assistant or from Appearance → Editor.
- The assistant can now turn a selection of blocks into a reusable pattern, either synced so a single definition is reused everywhere, or as a one-time starting point.
- The assistant can now list the block binding sources registered on your site, such as post meta and pattern overrides, so it knows what dynamic data your blocks can draw from.
- The new template, pattern, and binding tools are also available as WordPress Abilities for the MCP Adapter, using the same sign-in and editing permissions as the REST API.
✨ Improved
- When listing the block types available on your site, the assistant now also sees each block's style variations and nesting rules (which blocks a given block can contain and where it can be placed), so it chooses valid style names and keeps blocks in valid positions.
- You can now filter available patterns by category, and the pattern list includes your site's full set of pattern categories.
🐛 Fixed
- The toggles on Settings → Block MCP (Media uploads, Move posts to trash, and the MCP Adapter) now show the value you saved rather than a value forced by a developer filter. Previously, when a filter was overriding one of these, saving the settings page could quietly rewrite your stored choice to match the filter.
- Fixes editing on sites whose server firewall rejects certain request types, where every editing tool returned a "405 Not Allowed" error while reading and creating content continued to work.
💻 Developer Updates
- New REST routes under
gk-block-api/v1:GET /templatesandGET /template(read Full Site Editing templates and parts),POST /templateandPOST /template/reset(gated template edits),GET /binding-sources, andPOST /patterns(create a pattern). GET /block-typesresponses now include each block'sstyles,parent,ancestor, andallowed_blocks, and accept aninclude_supportsparameter for the fullsupportsobject.GET /patternsaccepts acategoryfilter and returns the registeredcategories.- New MCP tools, also registered as WordPress Abilities for the MCP Adapter:
list_templates,get_template,update_template,reset_template,create_pattern, andlist_binding_sources. - Template editing is gated by a new option,
gk_block_api_template_edits(off by default), and thegk/block-mcp/templates/allow-editsfilter.