Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, please feel free to contact us via [email protected]
By: Magenest | Support Portal:
WebMCP AI Assistant for Magento 2 brings conversational shopping directly to the storefront, enabling customers to discover products, access product information, check stock availability, and manage their shopping carts through natural-language interactions.
Powered by Google Gemini and integrated with WebMCP (Web Model Context Protocol), the extension connects AI capabilities with Magento's existing product catalog and shopping functionalities. Customers can interact with the AI Assistant without having to manually browse categories, navigate multiple pages, or use traditional search tools.
With configurable shopping tools and flexible administrative settings, merchants can deliver a more intuitive shopping experience while maintaining control over the actions available to customers and compatible AI agents.
Enable customers to interact with an AI-powered shopping assistant directly on the Magento storefront. Through a built-in chat interface powered by Google Gemini, customers can ask questions, explore products, and perform supported shopping actions using natural language without relying on predefined commands.
Help customers discover relevant products based on their shopping requirements. The AI Assistant retrieves information directly from the Magento product catalog, allowing customers to search by keywords and narrow product results by price range.
Allow customers to check product prices, descriptions, and stock availability directly within the chat interface. The assistant can also navigate customers to the corresponding product detail pages when requested, reducing unnecessary manual navigation.
Deliver more relevant shopping assistance by recognizing the customer's current page context, including the page type, product SKU, and applied filters. This enables customers to ask questions about the products they are currently viewing without having to repeatedly provide product information.
Allow customers to manage their shopping carts through natural-language requests. When the corresponding cart tools are enabled, customers can view cart contents, add products, update quantities, remove items, and apply discount coupons directly through the AI Assistant.
The shopping cart interface automatically updates after successful cart modifications without requiring customers to refresh the page.
Support multiple Magento product types, including simple, virtual, downloadable, configurable, bundle, and grouped products.
When additional product selections are required, the AI Assistant guides customers through relevant options, such as sizes, colors, bundle components, or individual item quantities, before adding products to the shopping cart.
Maintain conversation history as customers navigate between pages within the same browser tab. Customers can reopen the AI Assistant and continue their existing conversation without repeating previous requests or product preferences.
Customers can also clear their conversation history and start a new shopping session whenever needed.
Register enabled storefront functionalities as structured WebMCP tools, allowing compatible AI agents to retrieve product information and perform supported shopping actions through the browser's WebMCP API.
The extension also maintains an internal tool registry, allowing the built-in AI Assistant to execute supported tools independently of the native WebMCP API.
Allow customers to connect the AI Assistant using their own Gemini API key. The key is stored locally in the customer's browser rather than on the Magento server.
Customers can remove their saved API key and configure a new one directly through the AI Assistant interface.
Give merchants control over how the AI Assistant operates on their storefront. Administrators can:
This flexibility allows merchants to customize AI-assisted shopping functionalities according to their store requirements.
To allow WebMCP AI Assistant to recognize and interact with the tools integrated into the website, users need to enable the WebMCP feature in Google Chrome.
Follow the steps below:
- Navigate to the website where the WebMCP AI Assistant extension has been installed and enabled.
- Locate the circular button with the sparkle icon (✦) in the bottom-left corner of the screen.
- Click the icon to open the AI Assistant chat window.
Customers can access the AI Assistant from any page of the online store.
When using the AI Assistant for the first time, customers will be prompted to enter their Gemini API key.
A Gemini API key is an authentication credential that enables the AI Assistant to access Google's AI services.
To create a Gemini API key, follow the steps below:
Click the Get a Gemini API key link in the chat window or navigate directly to Google AI Studio.
After successfully signing in to Google AI Studio:
- Navigate to the API Keys section in the left-hand menu.
- Click Create API key to generate a new API key.
- Enter a name for the API key if prompted, such as WebMCP AI Assistant.
- Select an existing Google Cloud Project or create a new project by following the on-screen instructions.
- Confirm to complete the API key creation process.
Once the API key has been successfully created:
- Locate the newly created API key in the API Keys list.
- Click the Copy icon to copy the entire API key.
- Return to the website where WebMCP AI Assistant is enabled to proceed with the API key setup.
After successfully creating the Gemini API key:
Once the API key has been configured, customers can start interacting with the AI Assistant.
Notes:
- Customers only need to enter their API key once.
- The API key is stored locally in the customer's browser and is not sent to the store's server.
- Customers will need to enter their API key again when using a different device or browser.
Enter a product search request in natural language directly into the AI Assistant chat window.
Customers do not need to browse product categories or use the website's traditional search functionality.
Examples:
- "Find bags under $50."
- "Do you have any jackets?"
- "Is this product in stock: 24-WB01?"
The AI Assistant retrieves information directly from the store's product catalog and returns a list of matching products, including prices, stock availability, and links to the corresponding product pages.
Customers can access product information in two ways.
Customers who want to check a product's price, description, or stock availability can ask the AI Assistant directly.
Example:
- "How much does product 24-WB01 cost?"
The AI Assistant provides the requested information directly in the chat window without redirecting customers to another page.
Customers who want to visit a specific product page can ask the AI Assistant to open the corresponding page.
Examples:
The AI Assistant will navigate the browser to the corresponding product detail page.
Customers can reopen the chat window to continue their conversation after navigating to another page within the same browser tab.
Once customers have selected their desired products, they can ask the AI Assistant to add them directly to the shopping cart.
Examples:
- "Add product 24-WB01 to my cart."
- "Add two of these shirts to my cart."
Depending on the product type, the AI Assistant may ask customers to provide additional information before completing the action.
Customers can ask the AI Assistant to add a product to their shopping cart and specify the desired quantity.
If a product has multiple options, such as color or size, the AI Assistant will ask customers to specify their preferred product variant.
Customers can provide their selections directly in the chat window.
Example: "Blue, size 32."
For products consisting of multiple components, the AI Assistant will list the available components and ask customers to select their preferred option for each one.
For example, when purchasing a yoga equipment bundle consisting of a yoga ball, a strap, and a mat, customers will need to answer the assistant's follow-up questions to complete their product selections.
For a group of individual products, the AI Assistant will list the products included in the group and ask customers which items they would like to purchase and in what quantities.
Customers can select one or multiple products from the group without having to purchase the entire group.
Once the products have been successfully added:
Note: If the AI Assistant cannot add products to the shopping cart, the corresponding functionality may not have been enabled in the store's configuration. Customers should contact the store administrator for assistance.
After adding their desired products to the shopping cart, customers can proceed with the store's standard checkout and payment process.
The AI Assistant does not automatically place orders or process payments on behalf of customers. Customers must complete the final checkout and payment steps themselves to finalize their purchases.
When customers navigate to another page within the same browser tab, the conversation history is retained.
Customers can simply click the sparkle icon (✦) again to reopen the AI Assistant and continue their conversation.
If the browser tab is closed, the conversation history will be lost.
To clear the current conversation and start a new one:
- Open the AI Assistant chat window.
- Click the 🔄 Clear conversation icon in the chat header.
- Start a new conversation with the AI Assistant.
To remove the saved Gemini API key from the browser:
Customers will need to enter their Gemini API key again if they wish to continue using the AI Assistant.
- Using the latest version of Google Chrome is recommended.
- If the AI Assistant icon is not visible, the feature may not have been enabled by the store administrator, or the browser or device may not be fully supported.
- Follow-up questions from the AI Assistant during product selection are part of its normal functionality and do not indicate an error.
- Customers do not need to follow a specific command format or syntax when interacting with the AI Assistant.
- If the AI Assistant is unavailable, customers can continue browsing, searching for products, and making purchases using the store's standard functionality.