Commerce Cloud MCP Server

by brinsilelias

242 downloads
Not rated
GitHub

About

Connects AI applications with Salesforce Commerce Cloud using the Model Context Protocol (MCP).

Details

Author
brinsilelias
Downloads
242
Categories
Cloud Service, Other, Infrastructure
Tags
#ecommerce, #crm, #salesforce

- Connects AI apps with Salesforce Commerce Cloud via MCP
- Uses OCAPI to access Commerce Cloud data
- Built with the MCP TypeScript SDK
- Environment-based configuration with .env file
- Uses Vitest for unit testing

Install dependencies with npm install, copy .env.example to .env and edit your Salesforce Commerce Cloud credentials, then run npm run build. Import the OCAPI configuration files from data/ocapi/ into your Business Manager under Open Commerce API Settings. Finally, configure your MCP client (e.g., Claude Desktop) to point to the built dist/index.js file using the "node" command.

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.

- πŸ›οΈ Product management and updates
- πŸ“Š Order analysis and insights
- πŸ—‚οΈ Custom object operations
- πŸ“„ Content asset management
- βš™οΈ Environment-based configuration

- Node.js version 22 or higher
- Git
- A Salesforce Commerce Cloud instance with OCAPI access
- An MCP client application (like Claude Desktop App)

git clone https://github.com/your-username/commercecloud-mcp-server.git cd commercecloud-mcp-server

- Create and configure your environment file:

Edit the.envfile with your Salesforce Commerce Cloud credentials.

The OCAPI configuration files are located in thedata/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 thedata/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 fileclaude_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.

- Model Context Protocol (MCP)
-
Typescript SDK
-
Open Commerce API

This project is licensed under the MIT License - see theLICENSEfile for details.

Greater minds than mine are behind creating tools that made this project possible. I would like to mention those projects

- colinhacksfor (zod).
-
Egoistfor (tsup)

An ecommerce assistant for Salesforce, enabling interaction with orders, returns, and customer service operations.

Official Stripe MCP server and agent toolkit for working with Stripe customers, payments, subscriptions, refunds, invoices, and billing operations.

Query live Amazon Marketplace data using CData's read-only MCP server.

Integrate with Salesforce to perform actions like testing connections and running queries.

Manage products, orders, and customers on Color Me Shop

An MCP server and toolkit for integrating with the commercetools platform APIs.

Interact with the Hostinger Ecommerce API using a JWT token and store ID.

A sample MCP server for kintone using OAuth, deployable on Cloudflare Workers.

Access the KiotViet API, a popular sales and inventory management platform. Manage products, categories, customers, and orders with automatic authentication.

Exposes Salesforce APIs as tools for AI agents.

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.