- Explore MCP Servers
- commercecloud-mcp-server
Commercecloud Mcp Server
What is Commercecloud Mcp Server
The commercecloud-mcp-server is an MCP server designed to facilitate the connection between AI applications and Salesforce Commerce Cloud instances, utilizing the Model Context Protocol (MCP) for data exchange.
Use cases
Use cases include managing product data, analyzing order trends, performing custom object operations, and managing content assets within Salesforce Commerce Cloud.
How to use
To use the commercecloud-mcp-server, clone the repository, install dependencies, configure your environment file with Salesforce Commerce Cloud credentials, build the project, and import OCAPI configurations into your SFCC Business Manager.
Key features
Key features include product management and updates, order analysis and insights, custom object operations, content asset management, and environment-based configuration.
Where to use
The commercecloud-mcp-server is primarily used in e-commerce environments where integration between AI applications and Salesforce Commerce Cloud is required.
Overview
What is Commercecloud Mcp Server
The commercecloud-mcp-server is an MCP server designed to facilitate the connection between AI applications and Salesforce Commerce Cloud instances, utilizing the Model Context Protocol (MCP) for data exchange.
Use cases
Use cases include managing product data, analyzing order trends, performing custom object operations, and managing content assets within Salesforce Commerce Cloud.
How to use
To use the commercecloud-mcp-server, clone the repository, install dependencies, configure your environment file with Salesforce Commerce Cloud credentials, build the project, and import OCAPI configurations into your SFCC Business Manager.
Key features
Key features include product management and updates, order analysis and insights, custom object operations, content asset management, and environment-based configuration.
Where to use
The commercecloud-mcp-server is primarily used in e-commerce environments where integration between AI applications and Salesforce Commerce Cloud is required.
Content
๐๏ธ Commerce Cloud MCP Server
A server that helps connect your AI applications with Salesforce Commerce Cloud. It uses the Model Context Protocol (MCP) to make data exchange between your AI client application and Commerce Cloud instance.
โจ Features
- ๐๏ธ Product management and updates
- ๐ Order analysis and insights
- ๐๏ธ Custom object operations
- ๐ Content asset management
- โ๏ธ Environment-based configuration
๐ Flow Diagram
๐ Setup Instructions
Prerequisites
- Node.js version 22 or higher
- Git
- A Salesforce Commerce Cloud instance with OCAPI access
- An MCP client application (like Claude Desktop App)
Installation Steps
- Clone the repository:
git clone https://github.com/your-username/commercecloud-mcp-server.git
cd commercecloud-mcp-server
- Install dependencies:
npm install
- Create and configure your environment file:
cp .env.example .env
Edit the .env
file with your Salesforce Commerce Cloud credentials.
- Build the project:
npm run build
-
Import OCAPI configurations:
The OCAPI configuration files are located in the
data/ocapi
directory. Import them into your SFCC Business Manager:- Log into Business Manager
- Navigate to Administration > Site Development > Open Commerce API Settings
- For each JSON file in the
data/ocapi
directory:- Select the appropriate API type (Shop/Data)
- Copy the contents of the JSON file
- Paste into the configuration field
- Click โSaveโ
These configurations enable the necessary endpoints for the MCP server to function.
-
Configure your MCP client application (Example - Claude Desktop App):
- Open Claude Desktop App
- Go to File > Settings > Developer > Edit Config
- This will open a folder containing a file
claude_desktop_config.json
- Open the file in an editor and add the server details:
{
"mcpServers": {
"commercecloud": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/commercecloud-mcp-server/dist/index.js"
]
}
}
}
Note: Replace /ABSOLUTE/PATH/TO/
with the actual path to your project folder.
๐ Use Cases
Use Case Name | Description | Implementation Status |
---|---|---|
Product Details | Fetch product information from Commerce Cloud | โ Supported Now |
Product Updates | Generate product descriptions from images and update product details automatically | โ Supported Now |
Order Details | Analyze order patterns and get insights about customer purchase behavior | โ Supported Now |
Custom Objects | Read, Write, and Create custom objects | โ Supported Now |
Content Assets | Fetch content assets from Commerce Cloud | โ Supported Now |
Content Updates | Generate content body from design images and update content assets automatically | โ Supported Now |
Site Preferences | Manage site-specific configurations and preferences | ๐ Future Implementation |
Promotions & Campaign | Manage promotions and campaigns | ๐ Future Implementation |
Job Configurations | Manage job configurations | ๐ Future Implementation |
๐ Supporting Documentation
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ฅ Credits
Greater minds than mine are behind creating tools that made this project possible. I would like to mention those projects
I hope you find this tool useful! ๐
Made with โค๏ธ by Brinsil.