Announcements
B2C Commerce Developer Tooling
B2C CLI Agent Skills
Agentic MCP Shopper Tools Quick Start (Pilot)
SFRA Quick Start
Composable Storefront Quick Start
B2C Commerce API Quick Start
B2C Commerce Release Notes
Ask the Community
AI agents like Claude, Agentforce, and ChatGPT are powerful, but they often struggle to give truly accurate, brand-based, storefront-specific suggestions. That’s why we built the B2C Commerce Model Context Protocol (MCP) Service, focusing on the most important users: your shoppers.
The B2C Commerce MCP Service is a fully-hosted service for linking an AI agent to real-time B2C Commerce data access. The B2C Commerce MCP Service provides MCP tools for the agentic shopper experience, and supports the latest standards, including Google’s Agent to Agent (A2A), Model Context Protocol (MCP) /tools, HTTP SSE. Because it leverages a secure, standards-based protocol that supports robust authentication and authorization, the B2C Commerce MCP Service ensures data privacy and platform integrity.
If you’re considering adding a shopper agent to your storefront, Salesforce Agentforce Shopper Agent seamlessly integrates with your existing PWA-kit Storefront, providing a user-friendly and efficient shopping experience. This agent is built on top of Agentforce, our trusted AI platform that comes pre-integrated with Data Cloud to seamlessly enable cross-cloud use cases, the Einstein Trust layer, which provides built-in checks against hallucinations and bias, and guardrails for data privacy and LLM integrations. Key benefits include real-time chat support and personalized product recommendations. These help you understand customer behavior and preferences to significantly boost customer engagement, satisfaction, and ultimately, sales.
To initialize an Agentforce session, call the Shopper Agents API with a SLAS shopper token. You must include the sfcc.shopper-agents.rw scope and the sessionInitKey provided when the session starts.
If your business operates across multiple channels and requires a highly customized, flexible solution that can integrate with a variety of third-party systems, make sure to explore the B2C Commerce MCP Shopper Service.
Note
With the B2C Commerce MCP Service, your AI agent always has access to the most up-to-date resources (product lists, details, and images) from Salesforce B2C Commerce. External AI assistants, such as ChatGPT and Perplexity, are enabled with seamless conversational access to a brand’s ecommerce capabilities, so that shoppers can use natural language to discover and buy products via the AI assistants, for example:
The following image shows how the B2C Commerce MCP Service makes product data, inventory, pricing, order information, and merchant operational functions machine-readable and easily accessible to authorized AI agents.
The B2C Commerce MCP Shopper Service pilot provides the functionality shown in the MCP Server (Tools & Data) box.
Note
)
The B2C Commerce MCP Service offers a range of features, such as shopper, merchant, and intelligence capabilities. The pilot program for the B2C Commerce MCP Shopper Service, however, is centered around the shopper experience.
To participate in the pilot program:
To demonstrate the B2C Commerce MCP Shopper Service, we are providing a demo shopper agent that uses the OpenAI GPT API and accepts simple HTTP requests using Agent2Agent (A2A) JSON RPC calls from a chat UI in your storefront.
Your AI agent configuration can vary depending on your environment. Check the documentation for your specific AI agent.
Important
sfcc.shopper-mcpagent scope in the SLAS JWT scopes field.
short-code, org-id, and the mcp family. You can find your organization’s short-code and tenant ID in Business Manager, for example: kv7kzm70 and f_ecom_zzrr_dev, respectively.
https://<short-code>.api.comm…om/mcp/shopper/v1/organizations/<org_id>/ssehttps://<short-code>.api.comm…om/mcp/shopper/v1//organizations/<org_id>/mcp/messages?sessionId=<session_id>, where session_id is received in the first event from the /sse request./messaging protocol.These tables summarize the available B2C Commerce MCP Service shopper tools for AI-powered product search, product detail pages with images, adding one or more products to a cart, and a link to checkout that redirects to the storefront for both guest and registered users:
| Functionality | Description | Parameters |
|---|---|---|
| search_product | Get a list of products based on query value. |
|
| get_product | Get a specific product by ID. |
|
| Functionality | Description | Parameters |
|---|---|---|
| create_basket | Create a basket (cart) with a product for a given site ID and usid. |
|
| add_product_to_basket | Add a product to a cart with a given basket ID, site ID, and usid. |
|
| get_basket | Return the basket (cart) details for the given site ID and basket ID. |
|
| remove_basket | Remove (delete) the given basket (cart) by site ID and basket ID. |
|
| checkout | Start checkout for given cart ID, site, and usid. This returns a link to the configured PWA kit store front. |
|
In compliance with Salesforce Security Guidelines, every API requires a SLAS JWT for authentication, uses TLS over the network, monitoring and logging and auditing, and provides rate limits for all API calls.
Agentic MCP Shopper Tools Quick Start (Pilot)!