| 开发者 | |
|---|---|
| 更新时间 | 2026年6月17日 17:26 |
add_to_cart) and view cart contents (view_cart)remove_from_cart — remove a specific product from the cartupdate_cart — change the quantity of a cart item (quantity 0 removes the item)clear_cart — empty the entire cart<link rel="mcp-server"> tag automatically injected into your site's <head>. The agent can then browse the product catalog (JSON-LD format) and call tools on behalf of an authenticated customer.
Typical agent flow:
<link rel="mcp-server"> from your page HTMLGET /wp-json/kzbaca/v1/mcp — reads available tools and the product catalog URLGET /wp-json/kzbaca/v1/mcp/resources — fetches the product listPOST /wp-json/kzbaca/v1/mcp/tools/add_to_cart — adds a product (Bearer token required)kzb-ai-cart-assistant folder to /wp-content/plugins/, or install through the WordPress plugin directory.No. The plugin can add items to a WooCommerce cart and view the cart. Checkout and payment always require a human action. This is by design.
The chatbot uses the WordPress AI Client, which is built into WordPress 7.0. Go to Settings → AI in your WordPress admin to configure your preferred AI provider. No API key is needed in the plugin settings.
Yes. Logged-in customers can generate and revoke their own Bearer tokens from My Account → AI Assistant. Admins can also create and revoke tokens for any user from the admin panel.
MCP is an open protocol that lets AI systems interact with external tools and data sources in a standardised way. This plugin implements an MCP server so that any compatible AI agent can interact with your WooCommerce store.
No. WooCommerce is a required dependency. If it is not active, the plugin displays a warning in the admin and does not initialise.
When the chatbot processes a message, the plugin sends conversation history, a summary of your product catalog, and cart context to the AI provider configured in WordPress Settings → AI. No customer personal data beyond the conversation content is sent.
The free version includes the full MCP server (add to cart, view cart), the AI chatbot (using the WordPress AI Client), Bearer token authentication, the My Account integration, and the admin panel with audit log and category/limit controls.
The Pro extension adds the remove_from_cart, update_cart, and clear_cart MCP tools and variable product support. See kzbstudio.pl for details.
catalog_visibility = hidden, aligning public exposure with WooCommerce storefront behaviouradd-to-cart Ability now requires the user to be logged in (is_user_logged_in()), consistent with the "authenticated user's cart" contractkzb to kzbaca to meet WordPress.org guidelines (4+ character prefix)add_to_cart and view_cart tools