Create Form is a WordPress ability from WPForms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Create Form

Write
WPForms Forms wpforms/create-form

Create a new WPForms form, optionally pre-populated with fields and settings.

Requires the WPForms plugin on WordPress 6.9+ (abilities only register when the wp_register_ability() function exists). Read abilities need the WPForms 'view_forms' or 'view_form_single' capability. The four write abilities (create-form, update-form-settings, add-field, update-field) additionally require the 'Enable MCP Write Access' toggle (the ai-mcp-write-enabled setting under WPForms → Tools → AI MCP) to be turned on, plus the 'create_forms' or 'edit_form_single' capability — without both, they return a 403 error and are hidden from MCP clients entirely.

What it does

This ability creates a brand-new WPForms form from a required title, plus an optional array of initial fields (each with a type plus curated properties such as label, description, required, size, or choices, validated against the curated field-type registry) and an optional settings object (limited to form_title, form_desc, and submit_text). It returns the new form's ID and the fields that were actually created. This lets an AI assistant build a working form from a single plain-English request instead of walking through the drag-and-drop builder field by field. The ability is only usable — and only visible to MCP clients — when the site's 'Enable MCP Write Access' setting is turned on.

See it in action

You ask your AI assistant

"Create a new contact form called 'Event RSVP' with a Name field, an Email field, and a required 'Number of guests' number field."

Inputs

Name Type Required Description
title string Yes The form title.
fields array No Optional initial fields to add to the form; each item needs a type plus any of the curated field properties (label, description, required, size, choices, etc.) allowed for that type.
settings object No Optional initial settings, limited to form_title, form_desc, and submit_text.

Returns

An object with the new form_id (integer) and a fields array describing the fields that were created.

Permission

The current user must have the WPForms 'create_forms' capability, and the site's 'Enable MCP Write Access' (ai-mcp-write-enabled) setting must be turned on; otherwise a 403 WP_Error is returned and the ability is hidden from MCP clients entirely.

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.