DEV Community

Rahul Nair
Rahul Nair

Posted on Edited on

Talk to Your SitecoreAI: Connecting VS Code to the Sitecore Developer MCP Server

Introduction

The Sitecore Developer MCP server lets an AI coding agent in VS Code work directly with SitecoreAI: it can look up your existing components and content types, then create or update new ones that follow your site's conventions.

The server is in beta, announced in the SitecoreAI changelog on November 13, 2026. It provides 13 tools for component development, content modeling, site discovery and content item creation, and it connects from VS Code, Cursor, Claude Code, Codex or OpenCode through browser-based OAuth, with no API keys.

The Sitecore Developer MCP server is still in beta, so its tools and behavior may change before general availability.

This post walks developers through the full path: what the server can do, how to connect it from VS Code, a first prompt to verify it, a worked example, and the security habits worth adopting. Sitecore also ships a separate Marketer MCP server for content authors; it gets a short section near the end.

What the Sitecore Developer MCP server is

The Developer MCP server connects AI coding agents to SitecoreAI's development tools through the Model Context Protocol, an open standard that lets an assistant call external tools instead of guessing about your data. It runs remotely, so there is nothing to install locally.

The essentials:

  • Server URL: https://edge-platform.sitecorecloud.io/mcp/developer
  • Server name: sc-developer
  • Transport and sign-in: Streamable HTTP with MCP OAuth, using your browser
  • Status: beta, with Sitecore actively asking developers for feedback

Its 13 tools fall into three groups:

  • Component management: list components and categories, get component details, create and update components, including their content type and which sites they are available on.
  • Content modeling: list, get, create and update content types, and look up the validation rules you can apply to fields.
  • Site discovery and content creation: list sites, and create content items under an existing parent using a chosen content type.

In VS Code, GitHub Copilot's agent mode is the MCP client. It lists these tools, picks the ones a prompt needs and calls them once you approve.

Prerequisites

Check these four things before you touch any configuration:

  • VS Code with GitHub Copilot Chat enabled. Agent mode is what calls the MCP tools. See Set up GitHub Copilot in VS Code.
  • A SitecoreAI account that can sign in to the organization and tenant you want to work in. Sitecore's Developer MCP page doesn't name a required role, so confirm with your admin what your account is allowed to change.
  • Permission to run MCP servers. Some organizations disable MCP in VS Code or restrict which servers are allowed. If the tools never appear, start by asking your admin.
  • A non-production site to practice on. The agent creates real components and content types, so run your first prompts somewhere safe.

Connecting VS Code, step by step

1. Add the server to mcp.json

Create or open .mcp.json in your workspace and add the Developer MCP server. To make it available in every workspace instead, run MCP: Open User Configuration from the Command Palette (Ctrl+Shift+P on Windows, Shift+Command+P on macOS).

{
  "servers": {
    "sc-developer": {
      "type": "http",
      "url": "https://edge-platform.sitecorecloud.io/mcp/developer"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Optional: if you also want the Marketer MCP server for content-authoring tasks, add it as a second entry. Sitecore documents it in the user-profile mcp.json, with an auth block:

{
  "servers": {
    "marketer": {
      "type": "http",
      "url": "https://marketer.sitecorecloud.io/mcp/marketer-mcp-prod",
      "auth": {
        "type": "external"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Both entries use the same top-level servers object, so you can also keep them side by side in a single file if you prefer one place for everything.

2. Start the server

In the mcp.json editor, click Start above the server entry. You can also run MCP: List Servers from the Command Palette, pick the server and start it. VS Code asks you to confirm that you trust a server the first time it starts, so read that prompt rather than clicking through.

3. Sign in through the browser

If VS Code asks to open an external website, allow it, then sign in on the page your browser opens. The Developer server uses MCP OAuth, so there is no key or token to create or paste.

The optional Marketer server adds one step: after you click Allow Access, select your organization and tenant, then click Open Visual Studio Code to return to the editor. Its tokens are scoped to the tenant you pick.

4. Verify with a first prompt

Open Copilot Chat, switch to Agent mode and check that the sc-developer tools appear in the tools list. Then ask: List the sites available to me. A list of your SitecoreAI sites confirms sign-in, authorization and tool discovery in one step.

One thing to watch: VS Code's current documentation says sessions running on the Agent Host don't read .vscode/mcp.json directly, and it points to a workspace .mcp.json (with a top-level mcpServers object) as the portable option. If your Developer server entry isn't picked up, check which format your VS Code version expects. See the MCP configuration reference.

Showcase: three prompts to try in Agent mode

Each example below uses only what the Developer server documents: components, content types, validation rules, site discovery and content item creation. Results vary between runs and depend on the model, your prompt and what already exists on your site, so review every change before you publish. Sitecore's tools call the data model content types, which is the closest match to what you may know as templates.

1. Create a component from a prompt

Create an FAQ component with a question and an answer field for my site. Keep it consistent with the existing templates.

The agent looks at your existing components, categories and content types to pick up your naming and field conventions, creates an FAQ content type with a question field and an answer field, registers the component for your site, and checks the result. It follows the same pattern as the example in Sitecore's documentation. If your existing definitions don't suggest a pattern, it should ask you instead of guessing.

From prompt window

From Sitecore

FAQ Rendering

FAQ Rendering Datasource Template

2. Inspect an existing component (read-only)

Show me the details of the HeroBanner component from clientprefix site, including its content type and fields.

This is the safest demo because it only reads. The agent retrieves the component and its content type and lists the fields, which proves it can see your real site. It also shows how HeroBanner is built before you create anything new.

3. Create a template modeled on an existing one

Can you add a new template named Publications Page under the clientprefix pages folder? You can copy the structure of News Page.

The agent reads the News Page content type, creates a new content type named Publications Page with the same structure, and retrieves it to confirm. One thing to watch: Sitecore's documentation lists tools to create and update content types but doesn't say you can choose the folder the new one lands in, so check where Publications Page ends up and mention it in your post. Run this on a test site first, since it creates a real content type.

Troubleshooting and security

If something doesn't work

  • The tools don't appear. Confirm the server is started (use the Start action above the entry, or MCP: List Servers), that your configuration is in a location and format your VS Code version reads, and that your organization hasn't disabled MCP servers.
  • No sign-in page opens. Allow the external website prompt, then restart the server and try again.
  • Results differ between runs. That is expected, because the agent's steps depend on the model, your prompt and what already exists on your site. Name the site and the content type explicitly, and ask the agent to retrieve what it created so you can check it.
  • A tool is missing or behaves differently. The server is in beta, so the tool set can change before general availability. Sitecore is asking for feedback, so report what you find.

Good habits for security

  • Read VS Code's trust prompt the first time a server starts, and only add MCP servers from sources you trust.
  • Practice on a non-production site first, and review every change before publishing.
  • Start with a read-only prompt, like the conventions audit, before you let the agent write anything.
  • Sign in with an account that has only the access you need, since the agent acts with your permissions.

Conclusion and next steps

With one short configuration entry and a browser sign-in, VS Code's agent mode can read your SitecoreAI components and content types, and create new ones that follow your conventions. The Developer MCP server is still in beta, so treat it as a fast way to scaffold and explore, and review what it produces.

To go further:

  • Try the three prompts above on your own site and share where the agent saved time or needed a nudge.
  • If you work with content as much as components, add the Marketer MCP server, which covers pages, content, assets, personalization, briefs and experiments.
  • Send feedback to Sitecore while the Developer server is in beta; they are actively collecting it.

Sources

Top comments (0)