---
schema_version: "1"
id: 21d62e232f1a6e9683eec5cfd0cff37a058de0fdea9b5ec73d69402bc6f0c8ca
title: Use MCP and Agent Skills for Storefront Next
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/sfnext/guides/sfnext-mcp-server.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/sfnext-mcp-server.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f4e94c8b6b4519d233189bd389e4d14f8feb0090062a35a79abbf3418f0e3456
products:
  - Composable Storefront
  - Salesforce APIs
---
# Use MCP and Agent Skills for Storefront Next

Connect your AI assistant to B2C Commerce with the [Agentic B2C Developer Toolkit](https://developer.salesforce.com/docs/commerce/b2c-commerce/guides/b2c-developer-tooling.md). Use the B2C MCP to search official documentation, investigate logs, debug cartridge code, and work with SCAPI Admin APIs while developing your storefront.

## Connect Your Assistant

[Install the B2C MCP through an agent plugin](https://developer.salesforce.com/docs/commerce/b2c-commerce/guides/b2c-developer-tooling.md#connect-your-ai-assistant) in supported clients. It includes guidance from the `b2c`, `b2c-cli`, `storefront-next`, and `b2c-ops` skill collections, available to your assistant through MCP tools. You don't need a separate skills installation.

You can also [install Agent Skills separately](https://developer.salesforce.com/docs/commerce/b2c-commerce/guides/b2c-developer-tooling-agent-skills.md), alongside the MCP or on their own. Storefront Next skills cover routes, components, Page Designer, and deployment. CLI skills help your assistant use the B2C CLI for tasks such as SLAS client configuration and Managed Runtime administration.

Configure the credentials needed for your task using the shared [configuration and authentication options](https://developer.salesforce.com/docs/commerce/b2c-commerce/guides/b2c-developer-tooling.md#configuration-and-authentication).

## Try a Task

> Find the official guidance for Storefront Next hybrid routing and help me plan the eCDN rules for my storefront.

> Check my Custom API registration and help me investigate any errors before I deploy the storefront.

> Review the logs for this incident and summarize the evidence and next steps before making changes.

## Agentforce Commerce Vibes

For AI-assisted storefront development in VS Code, see [Agentforce Commerce Vibes](https://developer.salesforce.com/docs/commerce/commerce-vibes/guides/cv-agentforce-commerce-vibes.md). Commerce Vibes brings a conversational development experience together with B2C Commerce tools and skills.
