Abilities API: let us edit and delete fields and field groups
under review
A
Anna Gropp
Hey! We're using ACF PRO with the MCP Adapter so an AI assistant (Claude in our case) can work with our sites. Creating posts and filling in ACF fields over MCP works great already, thanks for that!
Where it stops is the field structure. Over MCP the assistant can list field groups and create new ones, but it can't add a field to an existing group, change a field's settings, delete a field or delete a field group. So as soon as something needs adjusting, we're back in the admin doing it by hand.
Since the MCP tools come from the Abilities API, it would be awesome to have official abilities for updating and deleting fields and field groups, exposed to MCP like the existing ones. We could build our own around acf_update_field() and acf_delete_field(), but an official version that handles things like Local JSON properly would be much better!

Iain Poulson
updated the status to
under review
Thanks Anna. In ACF 6.8 the field group abilities can list and create field groups, but not update or delete them. Adding, editing and deleting fields in existing groups, and updating or deleting groups themselves, is on our internal log.
If you build your own in the meantime, acf_import_field_group() is the safest base. Pass the existing group (with its ID) and the full fields array, and ACF adds, updates and removes fields to match. It saves the same way as the admin, so Local JSON stays in sync. Any field you leave out of the array is deleted. acf_delete_field_group() also removes the group's JSON file.
https://www.advancedcustomfields.com/resources/abilities-api/