Hello Yasmine,
Thanks for reaching out.
Meta Box abilities are exposed through the MCP Adapter's default server (/wp-json/mcp/mcp-adapter-default-server), not through Bricks' MCP server. Your agent should connect to that endpoint. It will then find them with the mcp-adapter-discover-abilities tool and run them with mcp-adapter-execute-ability. You'll need Meta Box 5.13+, WordPress 6.9+ and the MCP Adapter plugin.
Since your post types and fields are now registered in code:
- The post type, taxonomy and field group abilities only work with items created in the Meta Box UI, so they won't see your code-based setup.
- The field value abilities (meta-box/get-field-value, update-field-value, delete-field-value, get-field-value-format) do work with fields registered in code. Give the agent your field IDs, since it can't list them itself.
- Make sure your field registration isn't wrapped in is_admin(), because MCP calls run as REST requests.