Sitecore articles

« Return to blog

Diagram showing an AI coding agent calling an MCP server, which calls the Sitecore Authoring GraphQL endpoint, which writes to the XM Cloud content tree.

Driving Sitecore XM Cloud Authoring with an MCP Server

Learn how to wire an MCP server to the Sitecore Authoring GraphQL API so an AI coding agent can create items, compose layout XML, and provision sites, without SPE elevation.

Robert Watson
Robert Watson
12 May 2026
One component rendered as two variants across two brand themes

One Component, Every Brand: Themes and Rendering Variants in XM Cloud

Learn how to make a single component wear any brand using CSS-variable themes, Sitecore Styles, and rendering variants, with zero brand-specific component code.

Robert Watson
Robert Watson
17 Mar 2026
Two terminal panes: a 44-byte failed Edge response next to a healthy multi-KB response

Debugging Silent Edge Composition Failures in XM Cloud

Learn how to diagnose the dreaded empty page, when Sitecore Edge returns a stub layout and your head app crashes with "route undefined".

Robert Watson
Robert Watson
27 Jan 2026
Next.js 16 in Content SDK: Use proxy.ts, not middleware.ts

Next.js 16 in Content SDK: Use proxy.ts, not middleware.ts

Learn why Content SDK 2.x on Next.js 16 swaps middleware.ts for proxy.ts, why keeping both hard-fails your build, and where your custom gate logic goes now.

Robert Watson
Robert Watson
11 Dec 2025
Blog article featured image

Fetching Component Properties Server-Side in Sitecore XM Cloud

Learn how to use getComponentServerProps in Sitecore XM Cloud to fetch component data server-side with GraphQL. See a real example of a Related Blogs component that queries the top related posts by category before rendering.

Robert Watson
Robert Watson
05 Sep 2025
Blog article featured image

Concept: Tag-Based Filtering with Dynamic Item Listings in Sitecore XM Cloud

Empower content authors with dynamic listings powered by SXA tags, React context, and GraphQL

Robert Watson
Robert Watson
27 Jul 2025
Blog article featured image

Concept: Combining Rendering Variants with Placeholder Settings

Use rendering variants and placeholder settings together to create context-aware, modular, and reusable components in Sitecore XM Cloud but not break design.

Robert Watson
Robert Watson
18 Jul 2025
Blog article featured image

Simplifying GraphQL Queries in Sitecore XM Cloud with TypeScript

Automatically convert .graphql files into usable TypeScript constants for clean, scalable query management.

Robert Watson
Robert Watson
10 Jul 2025