Manage your product recommendations with your favorite AI tool. Connect an AI app to your store, say what you want in your own words, and the app sets it up in Recommendation Engine. It works with every part of Recommendation Engine: settings, each product’s pins and exclusions, the Status page tools and the revenue report.
What an AI assistant can do
↑ Back to top- Turn placements on or off: the product page sections, the cart, the checkout, the order confirmation and the For You rows.
- Set up Add all to cart, its bracket and the number of products next to the current product.
- Write the headings and subtitles shoppers see.
- Pin products to the top of a recommendation type on a product, and keep products out of its recommendations.
- Show what a product recommends, as a shopper sees it, and blend recommendations for several products, such as a cart.
- Show the rows a customer sees, such as Buy it again.
- Start a rebuild, import order history, delete older activity and optimize the database, then report the build status.
- Read the assisted revenue report for any date range, by recommendation type, placement or source.
Each change runs through the same code and permission checks as the Recommendation Engine admin screens.
Works with
↑ Back to topMCP (Model Context Protocol) is the standard AI apps use to connect to tools such as your store. Recommendation Engine works with AI apps that run MCP servers on your computer. These apps connect with the setup below, as their documentation described it in November 2026. The second column says where each one keeps its MCP servers.
| AI app | Add the server in |
|---|---|
| ✓ Claude Code | .mcp.json in your project folder |
| ✓ Claude Desktop | Settings > Developer > Edit Config (claude_desktop_config.json) |
| ✓ Codex (CLI and IDE extension) | ~/.codex/config.toml, in the TOML form below |
| ✓ Cursor | ~/.cursor/mcp.json, or .cursor/mcp.json in your project |
| ✓ VS Code with GitHub Copilot | mcp.json, with servers as the top-level key in place of mcpServers |
| ✓ Gemini CLI | ~/.gemini/settings.json |
Other apps that run local MCP servers connect the same way.
Connect an AI app to your store
↑ Back to topRecommendation Engine registers its abilities with the WordPress Abilities API, part of WordPress 6.9 and later. The MCP Adapter plugin shares them over MCP with the AI app you connect.
You need
↑ Back to top- WordPress 6.9 or later, on a store served over HTTPS.
- An AI app on your computer that supports MCP servers.
- Node.js on the same computer.
- A WordPress user who can manage WooCommerce, such as a Shop manager.
Set it up
↑ Back to top- Go to Plugins > Add New Plugin, then install and activate MCP Adapter.
- Go to Users and edit the user the app signs in as. Under Application Passwords, enter a name, choose Add New Application Password and copy the password.
- Add the server below to your app’s MCP settings. Replace the address, username and password with yours. The address is your store’s MCP endpoint: your store URL followed by
/wp-json/mcp/mcp-adapter-default-server. - Restart the app and ask: “Show me the Recommendation Engine build status.”
{
"mcpServers": {
"my-store": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
"env": {
"WP_API_URL": "https://example.com/wp-json/mcp/mcp-adapter-default-server",
"WP_API_USERNAME": "your-username",
"WP_API_PASSWORD": "your application password"
}
}
}
}
Codex takes the same server in TOML:
[mcp_servers.my-store]
command = "npx"
args = ["-y", "@automattic/mcp-wordpress-remote@latest"]
[mcp_servers.my-store.env]
WP_API_URL = "https://example.com/wp-json/mcp/mcp-adapter-default-server"
WP_API_USERNAME = "your-username"
WP_API_PASSWORD = "your application password"
WooCommerce’s MCP documentation covers more ways to connect. To disconnect an app, revoke its application password.
What to ask
↑ Back to topAsk in your own words. The app reads your settings and products first, so you can name products as they appear in your store.
| Task | Example |
|---|---|
| Placements | “Show recommendations in the cart and at checkout, and turn on the order confirmation row.” |
| Add all to cart | “Turn on Add all to cart and show three products next to the current one.” |
| Labels | “Change the cart heading to Complete your kit, with the subtitle Picked for what’s in your cart.” |
| Pins | “On the LED Flashlight, pin the AA Batteries to the top of Frequently purchased together.” |
| Exclusions | “Never recommend gift cards with any product in the Camping category.” |
| Check a product | “What does the Two-Person Tent recommend, and where does each product come from?” |
| A shopping list | “Which products go best with a tent, a sleeping bag and a camp stove together?” |
| A customer’s rows | “What would customer 42 see in Buy it again?” |
| Rebuild | “Import my order history, rebuild the recommendations and tell me when the build is live.” |
| Housekeeping | “Delete view activity older than 180 days.” |
| Revenue | “Which placement earned the most assisted revenue last month?” |
Abilities
↑ Back to topEach ability name starts with wc-recommender/. The app chooses the abilities it needs from your request.
| The assistant can | Ability |
|---|---|
| Read every Recommendation Engine setting with its value, default and choices | get-settings |
| Change named settings and leave the rest as they are | update-settings |
| Read one product’s pins and exclusions | get-product-recommendation-settings |
| Change one product’s pins and exclusions | update-product-recommendation-settings |
| List what a product recommends, with each product’s name, price, stock, score and source | get-recommendations |
| Blend recommendations for several products into one ranked list | recommend-for-products |
| Show one customer’s For You row | get-customer-recommendations |
| Read the build status, last builds, recorded activity and AI matching progress | get-status |
| Start a full rebuild | start-build |
| Import the orders placed before Recommendation Engine was active | start-history-import |
| Delete view and cart activity older than a number of days | delete-old-activity |
| Add the database indexes rebuilds use | optimize-database |
| Read the assisted revenue report for a date range, grouped by type, placement or source | get-revenue-report |
Stay in control
↑ Back to top- Approval. Turn on tool approval in your AI app to confirm each change yourself.
- Checked changes. Settings go through the same checks as the settings page. When one value is invalid, the ability saves nothing and names the field and the values it accepts.
- Shopper data stays in the store. Abilities return recommendations and totals. Recorded activity rows stay in your database.
- Permissions. The app can do what its WordPress user can do. Settings, tools and customer rows need a user who can manage WooCommerce. A product’s pins need a user who can edit that product, and the revenue report needs a user who can view WooCommerce reports.
Claude, Codex, Cursor, Visual Studio Code, GitHub Copilot and Gemini are trademarks of their respective owners.