PluginBench
MCP Server
Maintained
Apache-2.0

io.github.Antonytm/mcp-sitecore-server MCP Server

io.github.Antonytm/mcp-sitecore-server

AI-powered read/write access to Sitecore content, templates, media, and publishing—121 tools across authoring, management, and PowerShell APIs.

What is the io.github.Antonytm/mcp-sitecore-server MCP server?

The Sitecore Community MCP server is an open-source Model Context Protocol server that gives AI agents direct access to Sitecore XM, XP, and SitecoreAI instances for content management, item operations, media handling, and PowerShell execution. It exposes 121 tools across four API surfaces—Authoring and Management GraphQL, Item Service, GraphQL Edge, and Sitecore PowerShell Extensions—enabling agents to read, write, search, and manage Sitecore content without manual copy-pasting.

This MCP server bridges AI agents and Sitecore, eliminating manual workflows between your CMS and AI tools. It covers the full developer surface: items, templates, presentation, media, security, indexing, logs, publishing, and raw GraphQL/PowerShell access. Self-hosted via npm, Docker, or source, it keeps credentials in your infrastructure and supports all Sitecore versions from local Docker instances to cloud deployments.

How to install io.github.Antonytm/mcp-sitecore-server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-sitecore-server": {
      "command": "npx",
      "args": [
        "-y",
        "@antonytm/mcp-sitecore-server"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • search-items — Search for items across Sitecore using queries
  • query-items — Query items using GraphQL or Item Service APIs
  • create-item — Create new items in Sitecore
  • read-item — Read item properties and content
  • update-item — Update item fields and metadata
  • delete-item — Delete items from Sitecore
  • add-rendering-to-placeholder — Add components to page renderings with placeholder validation
  • manage-media — Upload, read, and manage media assets
  • run-powershell-script — Execute raw PowerShell scripts via SPE Remoting
  • publish-items — Publish items to target databases
  • manage-security — Read and manage item security and user roles
  • query-graphql-edge — Execute raw GraphQL queries against Edge GraphQL
  • query-graphql-authoring — Execute raw GraphQL queries against Authoring API
  • manage-templates — Create and modify Sitecore templates
  • manage-indexes — Trigger and monitor search index operations
  • read-logs — Query Sitecore logs for diagnostics

Use cases

  • Convert Figma designs to Sitecore pages with AI-guided component placement and content scaffolding
  • Bulk update item fields, metadata, and publishing state across large content trees
  • Diagnose Sitecore connection issues and API availability with guided troubleshooting
  • Automate content migration, template creation, and security policy application
  • Generate and manage media assets, renderings, and presentation layouts via natural language

io.github.Antonytm/mcp-sitecore-server MCP server FAQ

What is the Sitecore Community MCP server?

It's an open-source MCP server that gives AI agents (Claude, Cursor, etc.) direct read/write access to Sitecore XM, XP, and SitecoreAI instances. It exposes 121 tools across content management, templates, media, PowerShell, and GraphQL APIs.

Is it free?

Yes, it's open-source under the Apache 2.0 license. It's a community project not officially supported by Sitecore.

How do I install it in Cursor or Claude?

Add it to your MCP client's server configuration (mcpServers in Cursor/Claude) with npm command `npx @antonytm/mcp-sitecore-server@latest`, then set environment variables for your Sitecore endpoints and credentials.

What authentication does it require?

It requires credentials for your Sitecore instance: GraphQL API keys, Item Service username/password, PowerShell Remoting credentials, and/or OAuth client ID/secret for the Authoring API, depending on which APIs you enable.

Can I run it locally?

Yes, three ways: npm (recommended), Docker (Linux and Windows images provided), or from source. It works with local Docker Sitecore instances and cloud deployments.

What if my Sitecore instance doesn't have all APIs enabled?

Use the TOOL_PROFILE environment variable to hide tools for missing APIs (e.g., `no-spe`, `no-item-service`, `no-edge-graphql`). You can also trim tools with TOOL_GROUPS and DISABLED_TOOLS.

README (reference)

Source of truth, from the repository.

Sitecore Community MCP

Build MCP spec 2026-07-28 Legacy handshake 2025-11-25 to 2024-10-07 PRs Welcome

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.

  • 121 tools across search, query, create, read, update, delete, media, PowerShell, logging, security and presentation
  • Three guides — 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.
  • Covers four Sitecore API surfaces: the Authoring and Management GraphQL API, the Item Service, GraphQL Edge and Sitecore PowerShell Extensions
  • Works with SitecoreAI and Sitecore XM/XP (all versions), from any MCP-compatible client
  • Implements MCP protocol revision 2026-07-28, and answers the older 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 tools
  • Reported impact: 5× faster Figma-to-Sitecore workflows and ~70% less manual scaffolding (case study)
  • Three ways to run it: npm, Docker, or from source

Getting started with Sitecore Community MCP

To run the Sitecore Community MCP server, you need:

  • Node — the latest long-term support (LTS) release.
  • A Sitecore XM, XP or SitecoreAI instance. Which parts you enable decides which tools work: the 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.

Adding the server to your MCP client

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.

How this compares to the Sitecore Marketer MCP

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 MCPSitecore Marketer MCP
PlatformsSitecoreAI and XM/XP, all versions — including your local Docker CMSitecoreAI only
HostingSelf-hosted (npm, Docker, source); credentials never leave your infrastructureHosted by Sitecore; OAuth through the cloud
Surface121 tools across the full developer surface: items, templates, presentation, media, security, indexing, logs, publishing, GraphQL, raw PowerShellMarketer operations: pages, components, briefs, brand kits, personalization, A/B tests
Escape hatchrun-powershell-script, raw Edge GraphQL and raw Authoring GraphQL — if a tool doesn't exist, the capability still doesClosed tool set
Layout safetyadd-rendering-to-placeholder refuses components the placeholder settings forbid, naming the allow-listWrites are not validated against placeholder settings
Tool gatingTOOL_GROUPS / DISABLED_TOOLS / TOOL_PROFILE trim the schema cost per turnFixed 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.

Documentation and community resources

  • Preparing your Sitecore instance — SPE Remoting, the Item Service, GraphQL keys, and the config patch that enables them
  • Running the server — npm, Docker, from source, and the two transports
  • Tool reference — every tool, grouped by API surface
  • Configuration — environment variables, transports, timeouts and TLS
  • Tool selection — TOOL_GROUPS, DISABLED_TOOLS and TOOL_PROFILE
  • Guides — the guide://compose-page, guide://bulk-update and guide://diagnose-connection resources, and when each is offered
  • Docker images — the published Linux and Windows images
  • Changelog — what's new in 2.0 and its breaking changes

Community resources:

Contributions

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.

Contributing Guide

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.

License

Sitecore Community MCP is using the Apache 2.0 license.

Support

This is a community project and is not supported by Sitecore.

Related MCP servers

A Model Context Protocol server to run other MCP servers

1
TypeScript
View repository →
SISipcode logo

Sipcode

Active

Keep Claude Code's context clean automatically—drift detection, re-read dedup, and token analytics.

42
TypeScript
MIT
View repository →
ANAnwani logo

Anwani

Active

Anwani MCP: create and manage permanent 9-digit address codes through OAuth (9code.app).

0
JavaScript
MIT
View repository →
STStyleKit logo

StyleKit

Active

Search 148 curated design styles and pull tokens, recipes, and shadcn commands into your AI IDE.

562
TypeScript
MIT
View repository →

Connect AI assistants to Stellary projects, boards, documents, and governed agent workflows.

0
JavaScript
MIT
View repository →
TRTrainTools logo

Recommend paper-backed diagnostics for PyTorch and Hugging Face training problems.

0
Python
MIT
View repository →