Get the plugin
WP MCP/Guides/Guide

By · Published · Updated

Build with Kadence, GenerateBlocks, Spectra, Otter, and Blocksy blocks through your AI agent

Block suites keep more than markup. Each block carries a unique id its CSS is keyed by, GenerateBlocks 2 prints a compiled css attribute verbatim, and Spectra and Otter cache a per-post stylesheet. A block written by hand into post_content can therefore land unstyled. WP MCP Pro has a dedicated block suite pair that handles all of that for Kadence Blocks, GenerateBlocks, Spectra, Otter Blocks and the Blocksy companion blocks.

What you need

  • WP MCP Pro, connected to your AI client.
  • At least one of those suites active. The block-suites-read and block-suites-write pair registers only while one is.

Discover what is available

› Which block suites are active, and what attributes does the Kadence row layout take?

The agent calls block-suites-read with list-suites, then get-block-schemas for the suite (kadence-blocks, generateblocks, spectra, otter-blocks or blocksy).

Build and edit

› Add a Kadence row layout with three info boxes under the hero on /services.
› Make the GenerateBlocks hero text larger on desktop.

The agent reads the page with parse-blocks to get its expected_hash, then calls insert-block or update-block. Before any snapshot, every attribute of a suite block is checked against its registered schema (unknown attributes, wrong types and enum misses are refused). Each block gets a unique id in the shape the suite’s editor generates, GenerateBlocks 2 styles are compiled into the css its front end prints, and the suite’s cached styles are dropped so the page rebuilds them. One post snapshot per call means rollback-operation puts the exact bytes back, and a rollback refreshes the suite’s styles too.

Import a pattern

› Find a pricing pattern that uses Spectra and put it above the FAQ on /pricing.

list-patterns browses registered patterns (core, theme and the ones suites such as Otter and Blocksy register), filtered by suite, category or search, and import-pattern inserts one in a single undoable write. Remote images are brought into the Media Library first through the same guarded download as other remote media; images on hosts outside the allowlist are left at their URLs and reported. To browse the WordPress.org Pattern Directory instead, see Import block patterns from the WordPress.org directory.

Without Pro

The free Gutenberg tools (list-block-types, get-block-type, add-block, update-block) still work on any registered block by raw markup, suite blocks included. What Pro adds is the schema check, correct unique ids, style rebuilding and pattern import.

Common questions

Which block suites does WP MCP Pro support?

Kadence Blocks, GenerateBlocks, Spectra, Otter Blocks and the Blocksy companion blocks. The block-suites-read and block-suites-write tools register only while at least one is active.

Why not just write suite block markup into post content?

Suite blocks carry unique ids their CSS is keyed by, and some cache compiled styles, so hand written markup can land unstyled. The suite tools generate correct ids and rebuild the cached styles.

What does WP MCP validate on a suite block?

Every attribute is checked against the suite's registered schema before the snapshot, and unknown attributes, wrong types and enum misses are refused.

Can I import a block pattern with one undoable step?

Yes. import-pattern inserts a registered pattern in a single write with one post snapshot, so rollback-operation restores the exact bytes and refreshes the suite's styles.

Do suite blocks work without Pro?

The free Gutenberg tools still work on any registered block by raw markup. Pro adds schema checks, correct unique ids, style rebuilding and pattern import.

All WP MCP guides, or see every plugin integration. Topic: Gutenberg and block suites.