Custom fields integration
Meta Box MCP
Meta Box stores custom field values as ordinary post meta, reached through its public rwmb_meta and rwmb_set_meta functions. WP MCP exposes those to your AI agent as a read/write dispatcher: list the registered meta boxes and their fields, read a post's field values by key, and set field values. Writes are default-off and snapshotted on the post, so every change is one click from undone.
In practice
How Meta Box work goes with an agent.
Meta Box registers custom fields in code, or through its Builder, and stores each value as post meta under the field id. WP MCP goes through Meta Box's own functions rather than raw meta calls: rwmb_meta to read and rwmb_set_meta to write. The registry behind list-meta-boxes only knows boxes registered on the current request, so an agent can discover field ids and types first, then read values by key. Writes stay off until a site enables them, and each is a post snapshot first.
What meta boxes and field ids exist, and which post types do they apply to?
Runs list-meta-boxes, which returns each box's id, title and post types, with every field's id, name and type. It is a read from Meta Box's registry and changes nothing.
What are the price and bedrooms values on post 55?
Runs get-fields with post_id 55 and keys price and bedrooms. Values come back through rwmb_meta, as Meta Box's own template function returns them, and a key that is unset reads as empty.
Set price to 450000 and status to sold on post 55.
Runs update-fields, which calls rwmb_set_meta per key after snapshotting the post. If wpmcp_enable_metabox_write is not on, the call is refused as opt-in required and nothing is written.
That price was wrong, put it back.
Runs rollback-operation with the operation_id from the write. The post's meta map is restored exactly, so the earlier price returns together with any other field that call changed.
What your AI can do
Real Meta Box operations, every write reversible.
- List registered meta boxes with their fields and post types
- Read a post's Meta Box field values by key
- Set Meta Box field values (opt-in), snapshotted on the post
- Roll back any field write, since values are ordinary post meta
Example prompts
Example Meta Box prompts.
What Meta Box fields does the Team post type have?
Read the subtitle and rating fields on post 42.
Set the subtitle on the About page to this new line.
Under the hood
The Meta Box calls, under the hood.
metabox-read({ operation: "get-fields", args: { post_id: 42, keys: ["subtitle", "rating"] } }), read field values by key
metabox-write({ operation: "update-fields", args: { post_id: 42, fields: { subtitle: "New" } } }), opt-in, snapshotted, reversible
Safety and access
What can be undone on Meta Box, and what costs what.
Recoverable on Meta Box
- update-fields snapshots the post's whole meta map before writing.
- rollback-operation restores it exactly, and rollback-session reverses several posts written under one session.
Meta Box limits and opt-ins
- Writes are off until a site enables the wpmcp_enable_metabox_write filter.
- update-fields does not check a key against the registered boxes. Use list-meta-boxes first so the agent writes real field ids.
- Only post fields are covered. The snapshot is the post's meta map, so a value Meta Box keeps outside post meta, such as in a custom table, would not be part of the undo.
Free or Pro: All of it is free in WP MCP, and it works with the free Meta Box plugin because it uses the standard rwmb_meta and rwmb_set_meta functions. There is no WP MCP Pro operation in this integration. The sole gate is the opt-in: reads are open, and update-fields stays off until the site turns on wpmcp_enable_metabox_write, the same posture as ACF writes but with its own switch.
In the free plugin
The Meta Box integration is in the free plugin.
The core Meta Box tools ship in the free, GPL plugin with the full snapshot and undo engine, and no trial clock. Pro adds 133 more tools, including Elementor deep editing, the other page builders, the forms adapter pack and, for some integrations, extra operations. The pricing page lists what each tier includes.
Frequently asked
Meta Box MCP: questions, answered.
Are Meta Box writes reversible?
Yes. Meta Box values are ordinary post meta, so the standard post snapshot captures them and rollback-operation restores them exactly. Writes are also default-off until you enable them with the wpmcp_enable_metabox_write filter.
Do I need Meta Box Pro?
No. The integration uses Meta Box's standard rwmb_meta / rwmb_set_meta API, available in the free plugin.
Does it see boxes created in the Meta Box Builder?
Yes, as long as they are registered on the request. list-meta-boxes reads Meta Box's own registry, which includes boxes from code and from the Builder. A box that registers only in some contexts may be missing from the list.
Why read with a list of keys?
get-fields requires the keys to read, so an agent asks only for what it needs and does not pull every field of a large post. Run list-meta-boxes first to learn which field ids exist for that post type, then name the ones you want in the call.
Does turning on ACF writes also turn on Meta Box writes?
No. Each integration has its own filter: wpmcp_enable_acf_write for ACF and wpmcp_enable_metabox_write for Meta Box. A site that runs both plugins enables each one it wants, so allowing one never opens writes on the other by accident.
Is there an AI agent for Meta Box?
Yes, through WP MCP rather than Meta Box itself. An agent you choose, such as Claude or Cursor, can list registered meta boxes with their fields and post types. WP MCP is a separate plugin, not a built-in AI feature of Meta Box. On the undo side: update-fields snapshots the post's whole meta map before writing.
Related integrations
More integrations for the same agent.
MCP for ACF & ACF Pro
FreeCustom fields, 5 tools.
MCP for JetEngine
FreeCustom fields, 2 tools.
MCP for Pods
FreeCustom fields, 2 tools.
MCP for Code Snippets
FreeOperations, 2 tools.
MCP for Elementor
ProPage builders, 14 tools.
MCP for Gutenberg
FreePage builders, 4 tools.
Browse the full Integrations hub, or read more on the WordPress MCP plugin.