ποΈ Commerce Cloud MCP Server
LocalAbout ποΈ Commerce Cloud MCP Server
A server for connecting AI applications to Salesforce Commerce Cloud. It supports product and content operations, order analysis, and custom object access through Commerce Cloudβs OCAPI.
Key features
- 01Manage and update products
- 02Analyze order data
- 03Read, write, and create custom objects
- 04Fetch and update content assets
- 05Configure through environment variables
Use cases
- 01Retrieve product details
- 02Update product descriptions
- 03Review customer purchase patterns
- 04Manage custom objects and content assets
MCP support
Exposes Commerce Cloud operations to MCP clients, using OCAPI to communicate with a Salesforce Commerce Cloud instance.
Configuration
Local server config is the same for every client. Copy it into your clientβs MCP config file.
We havenβt collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEποΈ 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/ocapidirectory. 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/ocapidirectory:- 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
- colinhacks for (zod).
- Egoist for (tsup)
I hope you find this tool useful! π
Made with β€οΈ by Brinsil.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.