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

Destructive

Add 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

Claude Desktop — MCP Connection
👤
Create a new global product attribute called 'Material'.
🤖
Tool called wp_wc_create_product_attribute

Done. I've used wp_wc_create_product_attribute to complete that for you.

Example Use Cases & Sample Prompts

  1. Add a new attribute
    • Prompt: “Create a new global product attribute called ‘Material’.”
  2. Custom-ordered attribute
    • Prompt: “Create a ‘Size’ attribute with order_by set to ‘menu_order’.”
  3. Numeric-friendly attribute
    • Prompt: “Create a ‘Capacity’ attribute with order_by ‘name_num’ for values like 8GB, 16GB, 32GB.”
  4. Filterable with archive page
    • Prompt: “Create a ‘Brand’ attribute with has_archives set to true.”
  5. 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.

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.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.

View Setup Guides →

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.