About Sitecore CDP Server
A TypeScript and Express server for working with Sitecore Customer Data Platform guest data through the Guest REST API. It is configured with Sitecore CDP endpoint and client credentials.
Key features
- 01Sitecore CDP Guest REST API access
- 02TypeScript implementation
- 03Express server
- 04Environment-based API configuration
Use cases
- 01Connecting an MCP setup to Sitecore CDP
- 02Managing guest data through the Guest REST API
MCP support
The project is identified as an MCP server and includes MCP configuration showing how to launch it with Node.js and provide Sitecore CDP settings.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMESitecore CDP Server
This project is a server application that interacts with the Sitecore Customer Data Platform (CDP) using the Guest REST API. It is built with TypeScript and Express, providing a structured way to manage guest data.
Table of Contents
Installation
- Clone the repository:
git clone <repository-url> - Navigate to the project directory:
cd sitecore-cdp-server - Install the dependencies:
npm install
Build the Project
Compile the TypeScript code:
npx tsc
(Optional) Manually Run the Server
node build/CdpServer.js
Environment Variables
Create a .env file in the root directory based on the .env.example file to configure your environment variables. Make sure to include your API keys and any other necessary configurations.
MCP Configuration
{
"servers": {
"sitecore-cdp": {
"command": "node",
"args": ["Path/To/build/index.js"],
"env": {
"SITECORE_CDP_ENDPOINT_URL"="https://api-engage-[us|ap|eu|jpe].sitecorecloud.io/'
"SITECORE_CDP_CLIENT_KEY"="<client-key>"
"SITECORE_CDP_API_TOKEN"="<api-token>"
}
},
}
}
Comments
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.