Page builders integration

MCP for Gutenberg

Edit the WordPress block editor incrementally, insert, update, move, and remove blocks by path.

FreeNeeds WordPress 6.9+ (no Elementor required)list-blocks · get-post-blocks · add-block · update-block +more

What the Gutenberg integration does

Not every site runs Elementor, so for the WordPress block editor, EMCP ships a dedicated, always-on Gutenberg toolkit that needs no page builder at all. Ten tools give your AI a clean, incremental way to work with block content: list the registered block types, read any block's attributes and supports, get a post's parsed block tree, and insert, update, move, duplicate, or remove blocks. It's pure WordPress core, raw block markup in and out, so it works on any modern WordPress site.

The key idea is incremental editing. Instead of rewriting a whole post, the agent reads the block tree with `get-post-blocks` (each block carries an index path like `[2,1]`), then targets a single block to change. That keeps edits surgical and safe, and everything round-trips valid block markup so the editor never flags "invalid content." Block patterns are first-class too, `list-patterns` and `insert-pattern` drop registered patterns straight into a post.

What your AI can do

Once Gutenberg is active, ask any MCP client, Claude, Cursor, or your own, to do these in plain language.

Example prompts

Real instructions you can hand your agent for Gutenberg.

"Add a heading and two paragraphs to the top of this post."

"Find the pricing block and change its second column's heading."

"Insert the 'Testimonials' pattern after the intro section."

Under the hood

Read the block tree, then update one block, how EMCP drives Gutenberg.

get-post-blocks({ post_id: 84 })

update-block({ post_id: 84, path: [2, 1],
  markup: "<!-- wp:heading {\"level\":2} --><h2>New heading</h2><!-- /wp:heading -->" })

Note: All 10 Gutenberg tools are free, always-on, and need no page builder. Only remove-block is badged destructive.

Frequently asked

Do I need Elementor for the Gutenberg tools?

No, they are pure WordPress core and register on any site running WordPress 6.9+, with or without Elementor. All ten are enabled by default in every configuration.

Could edits corrupt my content?

The tools parse and re-serialize with WordPress's own block parser and preserve container wrapper markup, so blocks stay valid. Edits are addressed by index path, so only the block you target changes, everything else is left intact.

Is it free?

Yes, all 10 Gutenberg block tools ship in the free EMCP plugin and are on by default (only remove-block is badged destructive).

More integrations

All integrations

Point your AI at Gutenberg.

Install EMCP, connect any MCP client, and drive Gutenberg from a prompt. The core is free and runs entirely on your own server.