mcpField
S
Sitecore CDP Server

Sitecore CDP Server

Local
github.com/markstilesData & Analytics0Updated 73w ago

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

  1. 01Sitecore CDP Guest REST API access
  2. 02TypeScript implementation
  3. 03Express server
  4. 04Environment-based API configuration

Use cases

  1. 01Connecting an MCP setup to Sitecore CDP
  2. 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.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Sitecore 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

  1. Clone the repository:
    git clone <repository-url>
    
  2. Navigate to the project directory:
    cd sitecore-cdp-server
    
  3. 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

Markdown supported

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.