概览
What is Sitecore CDP Server?
Sitecore CDP Server is an MCP server that interacts with the Sitecore Customer Data Platform (CDP) using the Guest REST API. Built with TypeScript and Express, it provides a structured way to manage guest data.
How to use Sitecore CDP Server?
Clone the repository, install dependencies with npm install, compile TypeScript using npx tsc, and optionally run the server with node build/CdpServer.js. Configure the required environment variables (endpoint URL, client key, API token) in a .env file or in the MCP client’s configuration.
Key features of Sitecore CDP Server
- Interacts with Sitecore CDP via Guest REST API
- Built with TypeScript and Express
- Manages guest data in a structured way
- Configurable via environment variables
- Supports MCP client integration
Use cases of Sitecore CDP Server
— (No explicit use cases in README.)
FAQ from Sitecore CDP Server
What environment variables are required?
The .env.example file and MCP configuration specify SITECORE_CDP_ENDPOINT_URL, SITECORE_CDP_CLIENT_KEY, and SITECORE_CDP_API_TOKEN.
How do I configure the server for an MCP client?
Add an entry to the MCP client’s configuration with command: "node", args: ["Path/To/build/index.js"], and the three environment variables.
What runtime does Sitecore CDP Server require?
It runs on Node.js and all dependencies are installed via npm install. TypeScript is compiled with npx tsc.
Where does the data live?
The server communicates with the Sitecore CDP cloud endpoint specified in SITECORE_CDP_ENDPOINT_URL. Guest data is managed remotely through the Sitecore CDP platform.