wp_wc_create_product_attribute is an MCP tool for WooCommerce — available inside Easy MCP AI, the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →wp_wc_create_product_attribute
DestructiveAdd a new attribute like Color or Material to your store by name
Requires WooCommerce plugin.
Description
If you want customers to filter your catalog by something like Material or Brand, or you're about to sell products that come in different options, you first need that attribute to exist in your store. Easy MCP AI lets you add one just by naming it — tell Claude or ChatGPT 'create a Material attribute' or 'add a Brand attribute' and it's created and reusable across every product, no trip to the WooCommerce attribute settings. Once it exists, you can put its options on individual products. It's a handy first move when you're launching a filterable catalog or prepping for a product import. Requires WooCommerce.
See it in action
wp_wc_create_product_attribute Done. I've used wp_wc_create_product_attribute to complete that for you.
Example Use Cases & Sample Prompts
- Add a new attribute
- Prompt: “Create a new global product attribute called ‘Material’.”
- Custom-ordered attribute
- Prompt: “Create a ‘Size’ attribute with order_by set to ‘menu_order’.”
- Numeric-friendly attribute
- Prompt: “Create a ‘Capacity’ attribute with order_by ‘name_num’ for values like 8GB, 16GB, 32GB.”
- Filterable with archive page
- Prompt: “Create a ‘Brand’ attribute with has_archives set to true.”
- Setup before bulk product import
- Prompt: “Create ‘Color’, ‘Size’, and ‘Material’ attributes so I can attach them to imported products.”
Frequently Asked Questions
What does wp_wc_create_product_attribute do?
If you want customers to filter your catalog by something like Material or Brand, or you're about to sell products that come in different options, you first need that attribute to exist in your store. Easy MCP AI lets you add one just by naming it — tell Claude or ChatGPT 'create a Material attribute' or 'add a Brand attribute' and it's created and reusable across every product, no trip to the WooCommerce attribute settings. Once it exists, you can put its options on individual products. It's a handy first move when you're launching a filterable catalog or prepping for a product import. Requires WooCommerce.
How do I use wp_wc_create_product_attribute with my AI assistant?
Install Easy MCP AI and the WooCommerce plugin, generate an API token in your dashboard, and connect your AI client. Then describe what you want in natural language — for example: "Create a new global product attribute called 'Material'."
Do I need Easy MCP AI to use wp_wc_create_product_attribute?
Yes. wp_wc_create_product_attribute is bundled inside Easy MCP AI as part of the WooCommerce integration. Install the free plugin, add WooCommerce, connect your AI, and this tool is available immediately.
More WooCommerce Tools
Update the status of many orders, or clear test orders, in one go
Change prices, stock, or status across many products in one go
Update prices or stock across all of a product's options at once
Create a coupon (percent, fixed_cart, or fixed_product)
Create a new customer account
Create an order programmatically
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_wc_create_product_attribute and all WooCommerce tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.