Create Custom Post Type Item is a WordPress ability from Advanced Custom Fields — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Create Custom Post Type Item

Write

Create a new item in a specific AI-accessible ACF custom post type.

Requires Advanced Custom Fields (ACF) 6.8.0+ on a WordPress install where the Abilities API is available (native from WordPress 6.9, or via a compatible Abilities/Feature API polyfill). ACF's global 'Allow AI Access' setting (enable_acf_ai) must be turned on, and each individual field group, custom post type, or custom taxonomy must also have its own 'Allow AI Access' toggle enabled and be exposed in the REST API (show_in_rest) before its abilities are registered. Most abilities additionally require the current user to hold ACF's configured management capability (acf_get_setting('capability'), default manage_options) or the matching WordPress post-type/taxonomy capability (create_posts, edit_posts, delete_posts, manage_terms, edit_terms, delete_terms).

What it does

ACF dynamically registers one of these create abilities for every eligible custom post type — the ability ID follows the pattern acf/create-{post-type-slug} (e.g. acf/create-book). It proxies a POST request to that post type's WordPress REST API endpoint, so the new item, and any AI-accessible ACF field values submitted under an 'acf' object, are validated and saved exactly as the standard editor would.

See it in action

You ask your AI assistant

"Create a new Book titled "Dune" and set its Author custom field to "Frank Herbert"."

Inputs

Name Type Required Description
title string Yes The title of the item.
content string No The content of the item.
status string No The post status, e.g. publish, draft.
featured_media integer No ID of the featured image attachment. Only available if the post type supports thumbnails.
author integer No ID of the user to assign as author. Only available if the post type supports the author feature.
acf object No Values for any AI-accessible ACF fields attached to this post type.

Returns

The newly created item in the post type's WordPress REST API item schema, including any ACF field values that were set.

Permission

The current user must have the post type's 'create_posts' capability.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.