Sponsored by Deepsite.site

🛍️ Commerce Cloud MCP Server

Created By
BrinsilElias7 months ago
🤖 An MCP server that helps connect your AI applications with your Salesforce Commerce Cloud instance
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

  • 🔌 Uses OCAPI to connect to Salesforce Commerce Cloud instance
  • 🛠️ Built with MCP TypeScript SDK
  • ✅ Vitest for unit testing
  • ⚙️ Environment-based configuration using .env file

🔄 Flow Diagram

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

  1. Clone the repository:
git clone https://github.com/your-username/commercecloud-mcp-server.git
cd commercecloud-mcp-server
  1. Install dependencies:
npm install
  1. Create and configure your environment file:
cp .env.example .env

Edit the .env file with your Salesforce Commerce Cloud credentials.

  1. Build the project:
npm run build
  1. 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.

  2. 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 NameDescriptionImplementation Status
Product DetailsFetch product information from Commerce Cloud✅ Supported Now
Product UpdatesGenerate product descriptions from images and update product details automatically✅ Supported Now
Order DetailsAnalyze order patterns and get insights about customer purchase behavior✅ Supported Now
Custom ObjectsRead, Write, and Create custom objects✅ Supported Now
Content AssetsFetch content assets from Commerce Cloud✅ Supported Now
Content UpdatesGenerate content body from design images and update content assets automatically✅ Supported Now
Site PreferencesManage site-specific configurations and preferences🔄 Future Implementation
Promotions & CampaignManage promotions and campaigns🔄 Future Implementation
Job ConfigurationsManage 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.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Tavily Mcp
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
ChatWiseThe second fastest AI chatbot™
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.