mcpField
πŸ›
πŸ›οΈ Commerce Cloud MCP Server

πŸ›οΈ Commerce Cloud MCP Server

Local
github.com/BrinsilEliasBusiness & Marketing8Updated 70w ago

About πŸ›οΈ 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

  1. 01Manage and update products
  2. 02Analyze order data
  3. 03Read, write, and create custom objects
  4. 04Fetch and update content assets
  5. 05Configure through environment variables

Use cases

  1. 01Retrieve product details
  2. 02Update product descriptions
  3. 03Review customer purchase patterns
  4. 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.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

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

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.

Comments

Markdown supported

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.