Block suites integration
MCP for GenerateBlocks
GenerateBlocks keeps a cached per-post stylesheet and, in version 2, prints each block's css attribute exactly as stored. WP MCP Pro's block suite pair handles both. insert-block and update-block check every generateblocks/* attribute against the block's registered schema before any snapshot, give each block a unique id in the shape its editor generates, and compile a GenerateBlocks 2 block's styles object into the css attribute its front end prints, refusing any value that could break out of its rule. After a write, and after a rollback, the post is dropped from GenerateBlocks' cached CSS list so the stylesheet is rebuilt on the next view. list-patterns and import-pattern insert a registered or WordPress.org pattern in one undoable write.
What your AI can do
Real GenerateBlocks operations, every write reversible.
- Read each GenerateBlocks block's attribute schema
- Insert and update GenerateBlocks with every attribute validated first
- Compile GenerateBlocks 2 styles into the css the front end prints
- Rebuild the per-post stylesheet after writes and rollbacks
- Browse and import patterns in a single undoable write
- Roll back any block write exactly, per change or per session
Example prompts
Just ask.
Add a GenerateBlocks container with a heading and a button to /contact.
Make the hero text on the About page larger on desktop and centered on mobile.
Import a two-column feature pattern that uses GenerateBlocks under the intro.
Under the hood
The real calls.
block-suites-read({ operation: "get-block-schemas", args: { suite: "generateblocks" } })
block-suites-write({ operation: "update-block", args: { suite: "generateblocks", id: 8, expected_hash, path: [0], attrs: { styles: {…} } } }), styles compiled to css, snapshotted
Frequently asked
Questions, answered.
Why do GenerateBlocks 2 blocks need special handling?
Their front end prints the css attribute verbatim, and the editor compiles it from styles whenever a block is edited. A block written outside the editor needs the same compile or it renders unstyled, so the block suite pair does it for you.
Is there a free path?
Yes. The free Gutenberg block tools edit any registered block by raw markup. The dedicated GenerateBlocks support, with validation, style compiling and pattern import, is part of WP MCP Pro.
More integrations
MCP for Kadence Blocks
ProDedicated Kadence Blocks support: schema-checked block writes, correct unique ids, and pattern import, every write reversible.
MCP for Spectra
ProDedicated Spectra (uagb) support: blocks that render with their styles, correct selectors, and pattern import, every write reversible.
MCP for Otter Blocks
ProDedicated Otter Blocks support: schema-checked block writes, rebuilt stylesheets, and pattern import, every write reversible.
MCP for Elementor
ProDeep Elementor page-building from a curated 44-widget catalog, plus global colors and fonts, validated and reversible.
MCP for Gutenberg
FreeSurgical block-editor editing by index path, free, no page builder required.
MCP for Bricks
ProRead and write Bricks Builder content over MCP, a page builder most MCP tools can't touch.