by Antonytm
Provides a Model Context Protocol server that gives AI agents direct read/write access to Sitecore CMS, enabling automated content creation, querying, and management.
Enables AI agents to interact with Sitecore instances through a rich set of read/write tools, eliminating manual copy‑pasting between agents and the Content Editor.
{
"mcpServers": {
"sitecore-mcp": {
"type": "stdio",
"command": "npx",
"args": ["@antonytm/mcp-sitecore-server@latest"],
"env": {
"TRANSPORT": "stdio",
"GRAPHQL_ENDPOINT": "https://your-sitecore-instance/sitecore/api/graph/",
"GRAPHQL_SCHEMAS": "edge",
"GRAPHQL_API_KEY": "<YOUR_API_KEY>",
"ITEM_SERVICE_DOMAIN": "sitecore",
"ITEM_SERVICE_USERNAME": "admin",
"ITEM_SERVICE_PASSWORD": "<PASSWORD>",
"ITEM_SERVICE_SERVER_URL": "https://your-sitecore-instance/",
"POWERSHELL_DOMAIN": "sitecore",
"POWERSHELL_USERNAME": "admin",
"POWERSHELL_PASSWORD": "<PASSWORD>",
"POWERSHELL_SERVER_URL": "https://your-sitecore-instance/",
"AUTHORING_CLIENT_ID": "",
"AUTHORING_CLIENT_SECRET": "",
"TOOL_PROFILE": ""
}
}
}
}
docs/running.md.guide://compose-page, guide://bulk‑update, guide://diagnose‑connection) that agents can read mid‑task.TOOL_PROFILE, TOOL_GROUPS, and DISABLED_TOOLS to control schema cost.TOOL_PROFILE, TOOL_GROUPS, or DISABLED_TOOLS environment variables.docs/docker.md.This repository contains the source code for the Sitecore Community MCP server — an open-source Model Context Protocol server that gives AI agents direct read/write access to Sitecore, so you stop copy-pasting between your agent and the Content Editor.
guide://compose-page, guide://bulk-update and guide://diagnose-connection — resources an agent can read mid-task: two common, complex workflows that you'd want to use this MCP for, plus a connection issue self diagnosis helper.initialize handshake from the same tool registrations — negotiating down to any revision from 2025-11-25 to 2024-10-07, so a client on either era sees the same toolsTo run the Sitecore Community MCP server, you need:
authoring.* groups need only the Authoring and Management API (normally
already on in the cloud) plus a token, while the Item Service and SPE Remoting are off by
default and need a config patch. Preparing your Sitecore instance
covers all three and how to verify each.Add the entry below to your client's server map — mcpServers in Cursor, Claude Code and
most other clients, servers in VS Code — and fill in your own endpoints and credentials:
{
"mcpServers": {
"sitecore-mcp": {
"type": "stdio",
"command": "npx",
"args": ["@antonytm/mcp-sitecore-server@latest"],
"env": {
"TRANSPORT": "stdio",
"GRAPHQL_ENDPOINT": "https://xmcloudcm.localhost/sitecore/api/graph/",
"GRAPHQL_SCHEMAS": "edge",
"GRAPHQL_API_KEY": "{6D3F291E-66A5-4703-887A-D549AF83D859}",
"GRAPHQL_HEADERS": "",
"ITEM_SERVICE_DOMAIN": "sitecore",
"ITEM_SERVICE_USERNAME": "admin",
"ITEM_SERVICE_PASSWORD": "b",
"ITEM_SERVICE_SERVER_URL": "https://xmcloudcm.localhost/",
"POWERSHELL_DOMAIN": "sitecore",
"POWERSHELL_USERNAME": "admin",
"POWERSHELL_PASSWORD": "b",
"POWERSHELL_SERVER_URL": "https://xmcloudcm.localhost/",
"AUTHORING_CLIENT_ID": "",
"AUTHORING_CLIENT_SECRET": "",
"TOOL_PROFILE": ""
}
}
}
}
TOOL_PROFILE takes a comma-separated list of presets, and unions what each one hides.
Every preset names something absent or unwanted rather than a platform. Four name an API
surface your instance does not serve — no-spe, no-item-service,
no-edge-graphql and no-authoring-api — so an instance missing two of them can
say so. no-account-management is the one that is not about a missing surface: it
hides the twelve tools that create or edit an account on the CM, for a deployment that
would rather an agent could not do that at all (item security, and reading accounts and
roles, are untouched):
TOOL_PROFILE=no-spe,no-item-service
no-spe is the big one: without SPE installed and its remoting service enabled, roughly
three quarters of this server's tools cannot run, and hiding them is schema an agent no
longer pays for on every turn. An unknown name is reported on stderr and ignored, leaving
the rest of the list in force.
Every setting is documented in Configuration. Agents have a limit
on how many tools they can hold, so before you get far, read
Tool selection and trim the surface with TOOL_PROFILE,
TOOL_GROUPS and DISABLED_TOOLS.
To run the server in a container or from source instead, see Running the server.
Sitecore's own Marketer MCP is a hosted service aimed at marketers on SitecoreAI. This server is the developer-grade counterpart, and on that ground it is the stronger tool:
| Sitecore Community MCP | Sitecore Marketer MCP | |
|---|---|---|
| Platforms | SitecoreAI and XM/XP, all versions — including your local Docker CM | SitecoreAI only |
| Hosting | Self-hosted (npm, Docker, source); credentials never leave your infrastructure | Hosted by Sitecore; OAuth through the cloud |
| Surface | 121 tools across the full developer surface: items, templates, presentation, media, security, indexing, logs, publishing, GraphQL, raw PowerShell | Marketer operations: pages, components, briefs, brand kits, personalization, A/B tests |
| Escape hatch | run-powershell-script, raw Edge GraphQL and raw Authoring GraphQL — if a tool doesn't exist, the capability still does |
Closed tool set |
| Layout safety | add-rendering-to-placeholder refuses components the placeholder settings forbid, naming the allow-list |
Writes are not validated against placeholder settings |
| Tool gating | TOOL_GROUPS / DISABLED_TOOLS / TOOL_PROFILE trim the schema cost per turn |
Fixed tool list |
They are complementary rather than exclusive: the Marketer MCP carries the cloud marketing features this server has no API for (briefs, brand kits, personalization variants, A/B tests), and nothing stops a client from connecting both. For building, migrating, auditing and operating Sitecore solutions, this server is the one with the depth.
Sitecore also hosts a Developer MCP for SitecoreAI, still in beta: 13 tools for sites, content types, content items and components. Every one has an equivalent here. Called the same way from the same client against the same environment (medians per action):
| Action | Developer MCP | This server |
|---|---|---|
| Reads (8 tools) | 0.9–4.2 s | 0.3–1.3 s |
| Single-item writes (4) | 2.9–4.3 s | 1.1–2.1 s |
create_component |
12 s, 1 call | 10 s across 7 calls |
Per call, this server was 2–4× faster. The Developer MCP's strength is composite
operations: its create_component writes the rendering, parameters template, datasource
folder and site availability in one call, which an agent finishes sooner than seven. The
two wrote the same items. We also hit a few defects in the Developer MCP's update tools,
which have been reported to Sitecore — it is a beta, so expect its tools and behaviour to
keep changing.
The full method, tool mapping and results are in Comparison with the Sitecore Developer MCP.
TOOL_GROUPS, DISABLED_TOOLS and TOOL_PROFILEguide://compose-page, guide://bulk-update and guide://diagnose-connection resources, and when each is offeredCommunity resources:
We are very grateful to the community for contributing bug fixes and improvements. We welcome all efforts to evolve and improve this server; read below to learn how to participate in those efforts.
Read our contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build, debug and test your changes.
Sitecore Community MCP is using the Apache 2.0 license.
This is a community project and is not supported by Sitecore.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by headroomlabs-ai
Compress tool outputs, logs, files, RAG chunks, and conversation history before they reach the LLM, keeping answers identical while saving up to 95% of tokens for JSON payloads.
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
{
"mcpServers": {
"sitecore-mcp": {
"command": "npx",
"args": [
"-y",
"@antonytm/mcp-sitecore-server@latest"
],
"env": {
"TRANSPORT": "stdio",
"GRAPHQL_ENDPOINT": "https://your-sitecore-instance/sitecore/api/graph/",
"GRAPHQL_SCHEMAS": "edge",
"GRAPHQL_API_KEY": "<YOUR_API_KEY>",
"GRAPHQL_HEADERS": "",
"ITEM_SERVICE_DOMAIN": "sitecore",
"ITEM_SERVICE_USERNAME": "admin",
"ITEM_SERVICE_PASSWORD": "<YOUR_PASSWORD>",
"ITEM_SERVICE_SERVER_URL": "https://your-sitecore-instance/",
"POWERSHELL_DOMAIN": "sitecore",
"POWERSHELL_USERNAME": "admin",
"POWERSHELL_PASSWORD": "<YOUR_PASSWORD>",
"POWERSHELL_SERVER_URL": "https://your-sitecore-instance/",
"AUTHORING_CLIENT_ID": "",
"AUTHORING_CLIENT_SECRET": "",
"TOOL_PROFILE": ""
}
}
}
}claude mcp add sitecore-mcp npx -y @antonytm/mcp-sitecore-server@latest