EMCP Pro Block Builder
  • EMCP Pro
  • Off by default
  • Block editor

Custom Gutenberg blocks, without writing a plugin.

Your AI agent describes a block as a spec: its settings, an HTML template and its styles. EMCP generates a real dynamic block from it. Once you activate it, editors insert it like any other block and change its options in the sidebar with a live preview.

8
MCP tools
9
attribute types
0
lines of JavaScript written by the AI
Sandbox Blocks screen listing Testimonial Card and Price List as active and Opening Hours as an inactive draft.
Settings

Text, images, colours and repeating rows.

Blocks take text, rich text, numbers, switches, choices, colours from the theme palette, media with alt text and links. A repeater lets editors add, remove and reorder rows, for a price list or an FAQ. Settings can be grouped into collapsible sidebar panels with help text.

Theme styles

Colour, spacing and borders from WordPress itself.

A block can opt into WordPress’s own design controls, such as alignment, colour, spacing, typography, border and shadow, and since 3.20.0 those choices show on the live site too.

Preview

Preview it, then switch it on.

Agents can only create drafts. Preview a block on the Sandbox screen, check its files, and activate it. Your agent can then place it on pages with the Gutenberg tools.

  • The editor script is always generated by EMCP. A spec cannot carry JavaScript.
  • Only users who may add unfiltered HTML can change blocks.
  • Attribute names that clash with WordPress, such as align or className, are refused.
Preview panel rendering a Testimonial Card block with its quote, name and role.
A server-rendered preview with the block’s default values.
For AI agents

MCP tools this adds 8

What a connected AI agent can call. Tools marked "Off by default" are switched on under EMCP Tools, Tools.

  • list-block-control-typesReturns the attribute types and template syntax for building block specs.ProOff by default
  • validate-block-specValidates a block spec and dry-runs the generator without saving.ProOff by default
  • create-custom-blockGenerates a custom Gutenberg block from a spec into an isolated sandbox as an inactive draft. You activate it in Sandbox, Blocks.ProOff by default
  • update-custom-blockReplaces a custom block's spec and regenerates its code.ProOff by default
  • get-custom-blockReturns a custom block's spec, generated code, status, and last error.ProOff by default
  • list-custom-blocksLists all generated custom blocks with their status.ProOff by default
  • set-block-statusReturns a custom block to draft. Activation is yours, in Sandbox, Blocks.ProOff by default
  • delete-custom-blockPermanently deletes a custom block and its sandbox file.ProOff by default
See Block Builder (Pro) in the tool catalog
Frequently asked

Questions, answered.

Still stuck? Drop a line at [email protected] or open an issue on GitHub. Most replies are under one business day; Pro tiers go to the front of the queue.

Open the full docs
No. Blocks only need the WordPress block editor.
Yes, since version 3.20.0.
Yes, with a repeater setting.
From the image in the Media Library.
No. Only an administrator can, on the Sandbox screen.

Give editors the block they keep asking for.

Get EMCP Pro and switch on the Block Builder tools in Setup → Tools.