
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that exposes Salesforce Commerce Cloud API endpoints as tools, with OCAPI client-credentials authentication and configurable endpoints.
MCP server for Salesforce Commerce Cloud APIs is cataloged as an MCP server attributed to zautre. An MCP server that exposes Salesforce Commerce Cloud API endpoints as tools, with OCAPI client-credentials authentication and configurable endpoints. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for Salesforce Commerce Cloud APIs are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Tool names are generated from endpoint paths by replacing separators with underscores and path parameters with "by_param", truncated to 64 characters, with numeric suffixes for uniqueness; a custom toolName can be set.
Yes. Endpoints may define a defaultBody used when no request body is supplied, and product_search and campaign_search include defaults that match all items.
README.md · 4d7d29076ded · 采集于 2026-11-13 10:08:26 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server for interacting with Salesforce Commerce Cloud (SFCC) APIs.
endpoints.json configuration# Install dependencies
npm install
# Build the server
npm run build
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
To use the SFCC Data APIs, you need to configure an API client in SFCC with the proper permissions:
client_secret_postocapi-bm-config.json for the configuration exampleCtrl/Cmd + Shift + P)MCP: Add Server...Command (stdio) Manual Installnode <full-path-to-your>/build/index.js for the command (replace path placeholder before submit)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
Start the server:
node build/index.js
Endpoints are configured in src/endpoints.json. Each endpoint has the following structure:
{
"path": "/your/endpoint/{param}",
"description": "Description of what this endpoint does",
"method": "GET", // Optional: HTTP method (GET, POST, PUT, DELETE). Defaults to GET
"params": [
{
"name": "param",
"description": "Description of the parameter",
"type": "string",
"required": true
}
]
}
path: The API endpoint path, with path parameters in curly bracesdescription: A description of what the endpoint doesmethod: HTTP method to use (GET, POST, PUT, DELETE). Defaults to GET if not specifiedparams: Array of parameter definitions
name: Parameter namedescription: Parameter descriptiontype: Parameter type (string, number, boolean)required: Whether the parameter is requiredParameters that appear in the path (e.g., {param}) are used for path substitution. Other parameters are automatically added as query parameters.
For POST endpoints, you can provide a JSON request body using the requestBody parameter when calling the tool. For example:
{
"site_id": "SiteGenesis",
"requestBody": {
"query": {
"text_query": {
"search_phrase": "shirt"
}
},
"sort": "price-asc",
"count": 10
}
}
Endpoints can define a defaultBody property that will be used if no request body is provided. This makes it easier to use the API without needing to know the exact body structure. For example, the product_search and campaign_search endpoints have default bodies that match all items if no specific query is provided.
Parameters can be used in different ways depending on the endpoint:
/sites/{site_id}/campaign_searchExample for an endpoint with path parameters (campaign_search):
{
"site_id": "SiteGenesis",
"requestBody": {
"query": {
"term_query": {
"fields": ["enabled"],
"operator": "is",
"values": ["true"]
}
},
"count": 20
}
}
Tool names are automatically generated from endpoint paths:
Example: /catalogs/{id}/products becomes catalogs_by_id_products
You can also specify a custom tool name in your endpoint configuration:
{
"path": "/product_search",
"toolName": "product_search",
"description": "Search for products..."
}
You can create custom handlers for endpoints by:
toolName in the endpoint definitionhandler_[toolName] that will be called instead of the default handlerTo create a custom handler, create a function with the name pattern handler_[toolName]. This function will be automatically detected and used instead of the default handler:
/**
* Custom handler for product search
* This function will be called instead of the default handler when
* the endpoint with toolName "product_search" is accessed
*/
export async function handler_product_search(endpoint, params) {
console.log(`Custom handler for ${endpoint.path} called with params:`, params);
// Example of custom processing before making the actual request
if (params.requestBody && typeof params.requestBody === 'object') {
// Modify the request if needed
params.requestBody.custom_field = 'Added by custom handler';
}
// Call the default handler with your modified params
const defaultHandler = getDefaultHandler();
return await defaultHandler(endpoint, params);
}
You can define custom handlers directly in your index.ts file:
/**
* Custom handler for an endpoint with toolName "example_endpoint"
*/
async function handler_example_endpoint(endpoint, params) {
// Your custom implementation
// ...
}
// Make the custom handler accessible globally
(global as any).handler_example_endpoint = handler_example_endpoint;
Your custom handler function will receive two parameters:
endpoint: The endpoint configuration objectparams: The parameters sent to the endpointThe function should return the data that will be sent back to the client.
Use this helper function to access the default handler:
// Helper to get the default handler
function getDefaultHandler() {
if (typeof handleSFCCRequest === 'function') {
return handleSFCCRequest;
}
if (typeof (global as any).handleSFCCRequest === 'function') {
return (global as any).handleSFCCRequest;
}
throw new Error('Default handler not available');
}
You can implement different patterns in your custom handlers:
Pre-processing: Modify parameters before calling the default handler
export async function handler_example(endpoint, params) {
// Modify params
params.customField = 'value';
// Call default handler with modified params
return await getDefaultHandler()(endpoint, params);
}
Post-processing: Enhance the result after calling the default handler
export async function handler_example(endpoint, params) {
// Get result from default handler
const result = await getDefaultHandler()(endpoint, params);
// Modify the result
result.enhancedField = 'value';
return result;
}
Complete override: Implement custom behavior without calling the default handler
export async function handler_example(endpoint, params) {
// Custom implementation
return {
custom: true,
data: [...]
};
}
The SFCC MCP Server includes comprehensive tests to ensure reliability and facilitate automated CI/CD processes.
# Run all tests
npm test
# Run tests in watch mode for development
npm run test:watch
# Run tests with coverage report
npm run test:coverage
The test suite covers:
tests/tool-utils.test.ts): Tool name generation and schema buildingtests/config-simple.test.ts): Environment configuration and session handlingtests/integration.test.ts): MCP server instantiation and tool registrationThe project uses Jest with TypeScript support for testing. Tests are located in the tests/ directory and follow the naming convention *.test.ts.
The SFCC MCP Server supports automated deployment to Google App Engine.
Set up Google Cloud:
npm run setup:gcp
Deploy with versioning:
npm run version:create
Manual deployment:
npm run version:deploy
npm run setup:gcp # Interactive Google Cloud setup
npm run version:create # Create version and auto-deploy
npm run version:deploy # Manual deployment with version input
npm run deploy # Direct deployment to App Engine
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for Salesforce Commerce Cloud APIs from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/sfcc-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.