# Sitecore MCP

> Sitecore MCP manages your enterprise CMS directly from any chat window. Use this connector to create, update, delete content items, check item layouts, search deep across templates, or verify workflow status without ever opening the Sitecore Content Editor.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Tags:** cms, digital-experience-platform, headless-cms, content-workflow, web-development

## Description

Connect your Sitecore instance to your AI agent and take full control of your complex CMS environment through natural conversation. You can perform core headless operations—like creating new pages or updating field values—without navigating the demanding Sitecore Content Editor GUI. Instead, you simply tell your agent what needs changing. Need to find old content? Your agent searches across templates using keywords and dates. Want to see if a page is ready for publishing? It checks the item's workflow status instantly. When everything else feels like it requires context-switching between your code editor and the CMS backend, this MCP centralizes all that power. Because Vinkius hosts this catalog, you connect once from any compatible client and get instant access to full content lifecycle management.

## Tools

### create_content_item
Creates a brand new item within the content tree, requiring you to specify its parent ID, name, and template type.

### delete_content_item
Permanently deletes an entire Sitecore item. Note that this action cannot be undone.

### get_item_details
Pulls all current details for a specific Sitecore item using its unique path or ID.

### get_item_layout
Retrieves the presentation and layout rules that dictate how an item should appear on a page.

### get_workflow_state
Checks and reports the current status of any item's workflow, such as Draft or Review.

### list_item_children
Generates a list of all immediate child items residing under a specified parent node.

### list_content_templates
Provides a list of every available content template that can be used to build new pages or assets.

### search_content
Performs broad, deep searches for content items across the entire Sitecore repository using keywords and filters.

### update_content_item
Changes field values on an existing item by passing in a JSON object detailing the name/value pairs to modify.

## Prompt Examples

**Prompt:** 
```
Can you check the workflow state for the `/sitecore/content/Home/AboutUs` item?
```

**Response:** 
```
The item `/sitecore/content/Home/AboutUs` is currently in the **Draft** workflow state. Would you like me to get its layout presentation details as well?
```

**Prompt:** 
```
List the immediate children under `/sitecore/content/Home/Products`.
```

**Response:** 
```
I found 3 child items under the Products node:
1. Laptop X (ID: `110d559f...`, Template: ProductPage)
2. Monitor Y (ID: `220a3...`, Template: ProductPage)
3. Keyboard Z (ID: `330b...`, Template: ProductPage)

Which item would you like me to fetch full details for?
```

**Prompt:** 
```
Create a new item named 'SpringCampaign' using template `5F22...` under parent ID `3D66...`.
```

**Response:** 
```
The item **'SpringCampaign'** has been successfully created. 
New Item ID: `{A1B2C3D4-E5F6-0000...}`.
Path: `/sitecore/content/Home/Campaigns/SpringCampaign`.
Would you like me to update its initial fields with a specific JSON object?
```

## Capabilities

### Create new content items
Generate a brand-new item in the Sitecore structure using a specified template and parent location.

### Update existing content fields
Modify field values on any current item, specifying which data points need to change.

### Find specific content items
Search broadly across the entire CMS content tree using keywords, templates, or date ranges.

### Check page status and structure
Verify an item's current workflow state (like Draft or Published) or pull its specific layout details.

### Map content hierarchy
List the immediate child items under any given parent node to understand the site structure.

## Use Cases

### A marketing team needs to verify a campaign's status.
The marketer asks their agent: 'Check the workflow state for the /campaign/SpringSale item.' The agent uses `get_workflow_state` and reports that it is still in Review. This prevents them from wasting time trying to edit content that isn't ready.

### A developer needs mock data for testing.
The dev prompts: 'Create a new test article using the Article template under the /content/testing path.' The agent executes `create_content_item` and provides the item's new ID, allowing the developer to continue coding immediately.

### A content author must update 50 product descriptions.
Instead of logging in repeatedly, the author uses `update_content_item`, providing a list of item IDs and a JSON payload with new field values. This saves hours compared to manual bulk editing.

### A user needs to know which templates are available.
The user asks the agent to list all content templates. The agent uses `list_content_templates` and provides a clean, categorized list, saving them from having to browse multiple CMS menus.

## Benefits

- Avoid context switching. Instead of jumping between your AI client and the complex Sitecore editor, you manage item creation, updates, and status checks all in one conversation flow.
- Accelerate content discovery. Use `search_content` to find specific legacy assets or templates by keywords and dates instantly, even if you don't know the exact path.
- Control the content lifecycle. You can check an item’s current status using `get_workflow_state`, verifying whether a page is in Draft or ready for publication before making changes.
- Build structured data quickly. Instead of manually entering details, use `update_content_item` to push field value changes across multiple pages at once via a JSON object.
- Map the site structure easily. Running `list_item_children` lets you see exactly what content nodes exist under any parent page, helping developers understand the hierarchy quickly.

## How It Works

The bottom line is you manage complex digital experiences using simple chat commands instead of multiple logins and GUIs.

1. First, subscribe to this MCP and provide your Sitecore Base URL along with your Services Client API Key.
2. Next, trigger an action request—for example, asking your agent to check the workflow state for a specific page path.
3. Your agent sends the necessary calls to Sitecore and returns structured data about item details or content status directly into the chat.

## Frequently Asked Questions

**How do I check the status of a page using the Sitecore MCP?**
You use `get_workflow_state`. Simply give your agent the item’s path, and it returns whether that content piece is in Draft, Review, or Published. This saves you from having to navigate the workflow tabs manually.

**Can I create a brand new page using the Sitecore MCP?**
Yes, you use `create_content_item`. You just need to provide the parent ID, the desired name for the new item, and which template it should use.

**Is there a way to search old content with Sitecore MCP?**
Absolutely. The `search_content` tool lets you perform deep searches across your entire CMS using keywords or specific date ranges, even if the item is buried many folders deep.

**What if I need to update field values on multiple pages?**
You use `update_content_item`. You provide a JSON string detailing the changes and list of items. The MCP handles applying those updates across all specified records in one go.

**Does Sitecore MCP help with site structure planning? **
Yes, you can use `list_item_children` to see exactly what nodes are nested under a parent item. This is great for understanding the site's hierarchy before making changes.