AI Content Generator for WooCommerce — User Guide

Version 1.1.1  |  Requires WordPress 5.0+  |  Requires WooCommerce 4.0+  |  PHP 7.4+

Overview

AI Content Generator for WooCommerce lets you generate product images, descriptions, brands, and tags using AI — and manage your store through a built-in chatbot or any MCP-compatible AI agent (Claude Desktop, Cursor, Claude Code, and others).

The plugin supports multiple AI providers:

System Requirements

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install directly from the WordPress plugin directory.
  2. Activate through Plugins › Installed Plugins.
  3. Go to WooCommerce › AI Content Generator to complete setup.

API Key Setup

You have two ways to provide AI credentials. You can use either or both.

Option A — WordPress AI Connectors (recommended)

WordPress 7.0+ ships an AI Connectors settings page at Settings › AI. Enter your OpenAI, Google, or Anthropic key there. The plugin detects any configured provider automatically and shows only the models available from your active connectors. No per-plugin key entry is needed.

Option B — Custom OpenAI API Key

  1. Visit platform.openai.com/api-keys and create a secret key.
  2. In the plugin settings, enable Use Custom API Key and paste your key.
  3. Only OpenAI models are available through this path.
Note: OpenAI charges per token. See openai.com/api/pricing for current rates. Image generation is charged per image.

Model Selection

Once a provider is configured, go to WooCommerce › AI Content Generator › AI Models. You can choose a separate model for each feature: description, short description, brands, tags, image generation, and chatbot. Only models from your active providers are shown.

Features

1. Product Content Generation

Open any product in the WooCommerce editor. You will find generation buttons alongside the relevant fields:

Tip: Fill in the product title, category, and at least a few attributes before generating — the AI uses this information to produce relevant content.

2. AI Badge

When content is generated and applied, you can mark it as AI-generated. A small badge is then displayed on the product page so customers know the content was AI-assisted. Customize the badge label text under WooCommerce › AI Content Generator › AI Badge.

3. Store Chatbot

The plugin includes a fully integrated AI chatbot that appears as a floating bubble on your storefront.

Configure the chatbot under WooCommerce › AI Content Generator › Chatbot:

The admin chatbot includes a CSV import feature that lets you bulk-import product data. This requires the Product Import Export for WooCommerce plugin. Provide a CSV file with product information, and the chatbot will create draft products for your review.

If the Print Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin is active, the admin chatbot can also request download links for invoices, packing slips, delivery notes, and shipping labels for orders.

4. BOGO Coupon Management (requires WebToffee Smart Coupon)

When the WebToffee Smart Coupon plugin is active, the following BOGO (Buy One Get One) abilities become available via both the admin chatbot and the MCP server:

MCP / AI Agent Integration

On WordPress 6.9+, the plugin registers its capabilities with the WordPress Abilities API and relies on the MCP Adapter default server endpoint. This lets any MCP-compatible AI agent — Claude Desktop, Cursor, Claude Code, and others — call your store's tools directly.

Prerequisites

  1. WordPress 6.9 or higher.
  2. The MCP Adapter plugin (or the Composer package) installed and active. If you see a notice in wp-admin, either install via the WordPress plugin directory or run composer require wordpress/mcp-adapter inside the plugin directory.

MCP Server Endpoint

Once the prerequisites are met, your MCP server is available at:

https://your-site.com/wp-json/mcp/mcp-adapter-default-server/

The server requires the user to be logged in. Use an application password (Users › Profile › Application Passwords) for agent access.

Available Tools

Tool Description Type
generate-product-description Generate and save a full description for an existing product. Core
generate-product-short-description Generate and save a short description for an existing product. Core
generate-product-image Generate an AI image and set it as the product's featured image. Core
generate-product-brands Generate and apply brand suggestions for a product. Core
generate-product-tags Generate and apply SEO tags for a product. Core
mark-product-ai-generated Mark or unmark a product's content as AI-generated (shows the AI badge). Core
search-product-id Find WooCommerce product IDs by name. Use before other tools that need a product ID. Core
create-product-draft Create a new WooCommerce product as a draft for review before publishing. Core
create-product-published Create and immediately publish a new WooCommerce product. Core
publish-product-draft Publish an existing draft product by ID. Core
update-product Update any fields on an existing product (title, price, stock, description, etc.). Core
delete-product Move a product to the trash, or permanently delete it. Core
create-shop-coupon Create a WooCommerce coupon (percent or fixed discount, cart or per-product scope). Core
update-order-status Change the status of an order and optionally append an order note. Core
create-bogo Create a BOGO deal (requires Smart Coupon plugin). Smart Coupon
list-bogos List all BOGO deals with their current status. Smart Coupon
toggle-bogo Enable or disable a BOGO deal by ID. Smart Coupon
trash-bogo Move a BOGO deal to the trash. Smart Coupon
restore-bogo Restore a trashed BOGO deal. Smart Coupon
delete-bogo Permanently delete a BOGO deal. Smart Coupon
duplicate-bogo Create a copy of an existing BOGO deal. Smart Coupon
Smart Coupon tools: The 7 BOGO tools are registered on the MCP server unconditionally but only function when the WebToffee Smart Coupon plugin is active. Calling them without Smart Coupon installed will return an error.

Connecting Claude Desktop

  1. Open Claude Desktop and go to Settings › Developer › Edit Config.
  2. Add the following entry to claude_desktop_config.json (replace the URL, username, and password with your own values):
{
  "mcpServers": {
    "webtoffee-ai": {
      "command": "npx",
      "args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
      "env": {
        "WP_API_URL": "https://yoursite.example/wp-json/mcp/mcp-adapter-default-server",
        "WP_API_USERNAME": "{admin_user}",
        "WP_API_PASSWORD": "{application-password}"
      }
    }
  }
}
Application Password: Go to Users › Your Profile › Application Passwords, enter a name like "Claude Desktop", and click Add New Application Password.

Connecting Cursor or Claude Code

Add the server to your .cursor/mcp.json or Claude Code's MCP config using the same url and Authorization header as above.

Using the Default MCP Adapter Server

The MCP Adapter creates a default server at wp-json/mcp/mcp-adapter-default-server/ that auto-discovers all registered abilities from every plugin. Connect to that endpoint to get the WebToffee tools alongside any other abilities registered on your site.

Troubleshooting

MCP Endpoint Returns 404

MCP Adapter Notice in wp-admin

If you see a notice saying the MCP Adapter is missing, the Abilities API (WP 6.9+) is available but the adapter is not installed. Install the MCP Adapter plugin from the WordPress plugin directory, or run composer require wordpress/mcp-adapter inside the plugin's directory. Dismiss the notice once the adapter is active.

API / Generation Errors

Common issues:

Debug Mode

Enable debug mode under WooCommerce › AI Content Generator › Advanced to log all API requests and responses. Logs are available at WooCommerce › Status › Logs — look for source webtoffee-ai.

Support