
sfcc-mcp-server
3 years
Works with Finder
4
Github Watches
2
Github Forks
4
Github Stars
SFCC MCP Server
A Model Context Protocol (MCP) server for interacting with Salesforce Commerce Cloud (SFCC) APIs.
Features
- Dynamic endpoint registration based on
endpoints.json
configuration - Automatic handling of path and query parameters
- OCAPI authentication using client credentials flow
- Support for all SFCC GET Data API endpoints
Installation
# Install dependencies
npm install
# Build the server
npm run build
Configuration
Create a .env
file in the project root directory with the following variables:
# SFCC API Configuration
SFCC_API_BASE=https://your-instance.api.commercecloud.salesforce.com/
# Admin API Credentials (Client credentials flow)
SFCC_ADMIN_CLIENT_ID=your_admin_client_id
SFCC_ADMIN_CLIENT_SECRET=your_admin_client_secret
OCAPI Configuration
To use the SFCC Data APIs, you need to configure an API client in SFCC with the proper permissions:
API Client
- In SFCC Account Manager, go to API Client
- Create a new API client or edit an existing one
- Configure the OAuth settings:
- OAuth Client ID: (your client ID)
- OAuth Client Secret: (your client secret)
- Default scopes: Include the scopes needed for your endpoints
- Token Endpoint Auth Method:
client_secret_post
- Configure API client roles:
- Assign appropriate roles to access the required data
Business Manager
- In SFCC Business Manager, go to Administration > Site Development > Open Commerce API Settings
- See
ocapi-bm-config.json
for the configuration example
MCP Configuration for VSCode
- Open Command Palette (
Ctrl/Cmd + Shift + P
) - Type "MCP" and choose
MCP: Add Server...
- Choose
Command (stdio) Manual Install
- Type
node <full-path-to-your>/build/index.js
for the command (replace path placeholder before submit) - Name the MCP (e.g., "sfcc")
- Choose to configure for User or Workspace
This will create a new server definition either in your user settings.json
or in workspace .vscode/mcp.json
{
"servers": {
"sfcc": {
"type": "stdio",
"command": "node",
"args": [
"<full-path-to-your>/build/index.js"
]
}
}
}
Now you can monitor/start/restart/stop your server through MCP: List Servers
command. Work with tools by switching to Agent
mode in GitHub Copilot Chat
Usage
Start the server:
node build/index.js
Endpoint Configuration
Endpoints are configured in src/endpoints.json
. Each endpoint has the following structure:
{
"path": "/your/endpoint/{param}",
"description": "Description of what this endpoint does",
"params": [
{
"name": "param",
"description": "Description of the parameter",
"type": "string",
"required": true
}
]
}
-
path
: The API endpoint path, with path parameters in curly braces -
description
: A description of what the endpoint does -
params
: Array of parameter definitions-
name
: Parameter name -
description
: Parameter description -
type
: Parameter type (currently only string) -
required
: Whether the parameter is required
-
Parameters that appear in the path (e.g., {param}
) are used for path substitution. Other parameters are automatically added as query parameters.
Tool Names
Tool names are automatically generated from endpoint paths:
- Path separators are replaced with underscores
- Path parameters are replaced with "by_param"
- Names are truncated to 64 characters if needed
- Uniqueness is ensured with numeric suffixes if needed
Example: /catalogs/{id}/products
becomes catalogs_by_id_products
License
MIT
相关推荐
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
🧑🚀 全世界最好的LLM资料总结(数据处理、模型训练、模型部署、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信(企业微信、个人微信)/ 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 ChatGPT、DeepSeek、Dify、Claude、Gemini、xAI、PPIO、Ollama、LM Studio、阿里云百炼、火山方舟、SiliconFlow、Qwen、Moonshot、ChatGLM、SillyTraven、MCP 等 LLM 的机器人 / Agent | LLM-based instant messaging bots platform, supports Discord, Telegram, WeChat, Lark, DingTalk, QQ, Slack
⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
Artifact2MCP Generator allows generation of MCP server automatically & dynamically given smart contract's compiled artifact (chain‑agnostic)
Reviews

user_2mhanXaz
As a dedicated user of the sfcc-mcp-server by ZaUtre, I highly recommend this product. It is an excellent server application with robust functionality and seamless integration. The user-friendly interface and intuitive design make it easy to start and navigate. The welcoming information is helpful for first-time users, ensuring a smooth onboarding process. Overall, the sfcc-mcp-server significantly enhances my workflow efficiency and productivity.

user_mn3QXfDo
The sfcc-mcp-server by ZaUtre is a brilliant tool for managing multiple server connections seamlessly. Its ease of use and intuitive interface make it a game-changer for any MCP application user. I highly recommend it to anyone looking to streamline their server management tasks.

user_RE9iWVQZ
I've been using the sfcc-mcp-server by ZaUtre and it's been a game-changer for my projects. The intuitive interface and seamless integration have drastically improved my workflow. Highly recommend it to anyone looking to enhance their server management experience!

user_0iljpbNV
As a dedicated user of the sfcc-mcp-server by ZaUtre, I’ve found it to be an exceptionally reliable and efficient tool. It provides seamless integration and robust performance, ensuring smooth operations across various applications. Highly recommended for those seeking a versatile Mcp application.

user_dXJKYY8f
As a devoted user of the sfcc-mcp-server, I am thoroughly impressed by its performance and capabilities. ZaUtre has done an outstanding job in creating a seamless server experience. The interface is intuitive, making it easy to navigate and utilize its features. The responsiveness and reliability of the server have notably improved my workflow, ensuring tasks are completed efficiently. Highly recommend this for anyone looking for a robust server solution!

user_osU6GGWF
The sfcc-mcp-server by ZaUtre has truly transformed my workflow. It's a robust server application that is easy to configure and incredibly reliable. The performance and stability have exceeded my expectations. The support and documentation provided make it seamless to integrate into any environment. Highly recommended for anyone looking for a solid MCP server solution!

user_BYT8qZXh
I've been using the sfcc-mcp-server by ZaUtre and it's been a game-changer for my projects. The server is incredibly reliable and integrates seamlessly with my existing setup. The user-friendly interface and comprehensive documentation made it easy to get started. Highly recommend to developers looking for a solid MCP solution!

user_sKzYpsVv
I have been using the sfcc-mcp-server developed by ZaUtre and I am genuinely impressed. The server is robust, efficient, and tailored perfectly for my needs. The interface is intuitive, making navigation a breeze. Furthermore, their welcome message sets a positive tone right from the start. Highly recommended for anyone seeking a reliable MCP application!