About Sitecore Server
Sitecore Server is an MCP server published by Antonytm in the AI category: model Context Protocol server for Sitecore. Conduid read 42 tools from its source: add-rendering-to-placeholder, authoring-copy-item, authoring-create-item, authoring-create-item-template, authoring-delete-item, authoring-get-item and 36 more. It is published to npm as @antonytm/mcp-sitecore-server and starts with npx.
The repository has 52 stars and 22 forks, is licensed Apache-2.0, and its last commit was on 13 Nov 2026. The latest release is 2.0.5 (13 Oct 2026): Bump @antonytm/clixml-parser to ^0.1.7. It follows 2.0.3 (17 Sep 2026), and the 5 most recent releases go back to 2.0.0-beta1 (1 Sep 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions.
Install
claude mcp add sitecore-server -- npx @antonytm/mcp-sitecore-server@latestnpx @antonytm/mcp-sitecore-server@latestgit clone https://github.com/Antonytm/mcp-sitecore-serverTools (42)
add-rendering-to-placeholderAdds a rendering to a placeholder on a page, refusing it when the placeholder's settings do not allow that component (the allow-list is named in the error). This is the tool to compose a page with: presentation-add-rendering writes whatever it is told, and an invalid layout still saves and renders. Assigns a collision-free DynamicPlaceholderId when the rendering's parameters template defines one, and writes the full parameter set the template declares. Returns the placeholder path a child rendering should target, so a nested build is one call per level. Pass force=true to skip validation for migration or repair work. Read the guide://compose-page resource for the order to run the composition tools in, and for the dynamic placeholder, splitter and GridParameters cases that silently produce a broken page when guessed at.| Parameter | Type | Description |
|---|---|---|
| dataSource | string | The rendering's datasource. Use the local:/Data/<name> form for a page-local datasource, or an item ID for a shared one — create-component-datasource returns the correct form in DatasourceReference. |
| dynamicPlaceholderId | number | Force a specific DynamicPlaceholderId instead of the scanned max+1. Only use this to reproduce an exact layout; a colliding ID silently merges two placeholders. |
| finalLayout | boolean | Which layout to write. Defaults to true (the final layout), which is where authored pages carry their renderings. Set false to write the shared layout. |
| force | boolean | Skip the placeholder-settings check and add the rendering anyway. For migration and repair work that legitimately has to write a layout the current settings forbid. The rendering item must still exist. |
| index | number | Position to insert at within the placeholder. Appends by default. |
| parameters | object | Values for the rendering's parameters, keyed by parameter name (e.g. {'GridParameters': '{F38CFEF8-...}'}). Every key the parameters template defines is written whether or not it appears here; these are the ones that get a value. Names not defined by the template are rejected rather than written. |
| placeholder * | string | The placeholder to add the rendering to. ${PLACEHOLDER_PATH_DESCRIPTION}Use the exact runtime path for a nested placeholder — that is what gets written to the layout. |
| project | string |
authoring-copy-itemCopies a Sitecore item to another parent over the Authoring and Management API. Copies the whole subtree by default; set deepCopy false to copy the item alone. Supply exactly one of id or path for the source, and exactly one of targetParentId or targetParentPath for the destination.| Parameter | Type | Description |
|---|---|---|
| copyItemName | string | The name for the copy. Defaults to Sitecore's own 'Copy of ...' naming. |
| database | string | The database holding the item. Defaults to master. |
| deepCopy | boolean | When false, copy only the item itself. Defaults to true (the whole subtree). |
| id | string | The source item's GUID. Supply this or path. |
| path | string | The source item's full path. Supply this or id. |
| targetParentId | string | The GUID of the parent to copy into. Supply this or targetParentPath. |
| targetParentPath | string | The path of the parent to copy into. Supply this or targetParentId. |
authoring-create-itemCreates a Sitecore item from a template over the Authoring and Management API and returns the created item. The parent must be given as a GUID (the API takes no parent path here) — use authoring-get-item to resolve a path to its ID first.| Parameter | Type | Description |
|---|---|---|
| database | string | The database to create in. Defaults to master. |
| fields | array | The field name, e.g. 'Title'. |
| language | string | The language to create the first version in, e.g. 'en'. |
| name * | string | The new item's name. Sitecore rejects names containing / \ : ? " < > | [ ]. |
| parent * | string | The GUID of the parent item. A path is not accepted — resolve it with authoring-get-item. |
| templateId * | string | The GUID of the template to create from, e.g. '{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}'. |
authoring-create-item-templateCreates a Sitecore data template, with its sections and fields, in one call over the Authoring and Management API. The parent must be a GUID — the folder under /sitecore/templates the template belongs in. Field types are Sitecore's own names, e.g. 'Single-Line Text', 'Rich Text', 'Image', 'General Link', 'Droptree'.| Parameter | Type | Description |
|---|---|---|
| baseTemplates | array | GUIDs of templates to inherit from. Page templates normally inherit the site's base page template. |
| createStandardValuesItem | boolean | When true, create the __Standard Values item, which is where presentation details and field defaults live. |
| database | string | The database to create in. Defaults to master. |
| icon | string | The template's icon, e.g. 'Office/16x16/document.png'. |
| language | string | The language to create the template in. |
| name * | string | The template's name. |
| parent * | string | The GUID of the template folder to create in. A path is not accepted — resolve it with authoring-get-item. |
| sections | array | The sections and their fields. A template with no sections holds no fields of its own. |
authoring-delete-itemDeletes a Sitecore item over the Authoring and Management API. By default the item goes to the recycle bin and can be restored; permanently true destroys it outright. Deleting an item deletes its descendants with it. Supply exactly one of id or path.| Parameter | Type | Description |
|---|---|---|
| database | string | The database holding the item. Defaults to master. |
| id | string | The item's GUID. Supply this or path. |
| path | string | The item's full path. Supply this or id. |
| permanently | boolean | When true, delete outright instead of moving to the recycle bin. Not reversible. |
authoring-get-itemReads a Sitecore item by ID or path over the Authoring and Management API, returning its identity, template and field values. Reads the authoring database, so unpublished content is visible — unlike the Edge query tools. Supply exactly one of id or path.| Parameter | Type | Description |
|---|---|---|
| database | string | The database to read. Defaults to the endpoint's own default (master). |
| id | string | The item's GUID, e.g. '{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}'. Supply this or path. |
| language | string | The item language, e.g. 'en'. |
| path | string | The item's full path, e.g. '/sitecore/content/Home'. Supply this or id. |
| version | number | The item version. Defaults to the latest. |
authoring-get-item-templateReads a Sitecore data template over the Authoring and Management API, returning its sections and field definitions (name, type, source). Call this before authoring-create-item to learn which fields a template accepts, or before authoring-update-item-template to get the section and field IDs an update needs. Sections report their ID as itemTemplateSectionId; an update supplies that same value as templateSectionId. Supply exactly one of templateId or path.| Parameter | Type | Description |
|---|---|---|
| database | string | The database holding the template. Defaults to master. |
| path | string | The template's path RELATIVE to /sitecore/templates, with no leading slash — e.g. 'Project/MySite/Page' or 'Sample/Sample Item'. An absolute path is rejected by the endpoint. Supply this or templateId. |
| templateId | string | The template's GUID. Supply this or path. |
authoring-get-jobReads one Sitecore background job by name or handle over the Authoring and Management API, returning its state, progress and messages. This is how you find out whether an index rebuild or other queued operation finished. Supply exactly one of jobName or handle.| Parameter | Type | Description |
|---|---|---|
| handle | string | The job handle returned when the job was queued. Supply this or jobName. |
| jobName | string | The exact job name, e.g. 'Index_Update_IndexName=sitecore_master_index'. Supply this or handle. |
authoring-get-media-itemReads a media item over the Authoring and Management API, returning its identity, mime type, size and URL. Use it after authoring-upload-media to get the ID an image field value needs, or to check what is already in the media library. Supply exactly one of id or path.| Parameter | Type | Description |
|---|---|---|
| database | string | The database holding the media library. Defaults to master. |
| id | string | The media item's GUID. Supply this or path. |
| language | string | The media item's language. |
| path | string | The media item's full path, e.g. '/sitecore/media library/Project/MySite/hero'. Supply this or id. |
authoring-get-siteReads one site's configuration by name over the Authoring and Management API — paths, database, language, device and the editing switches. Use authoring-list-sites first if you do not know the site's name.| Parameter | Type | Description |
|---|---|---|
| siteName * | string | The site's name as configured, e.g. 'website'. |
authoring-graphqlExecutes any query or mutation against the Sitecore Authoring and Management GraphQL API and returns the data as JSON. The document is syntax-checked before it is sent. Unlike the Edge endpoint, this one reads and writes the authoring databases, so unpublished content is visible and mutations take effect immediately. Prefer a typed authoring-* tool when one covers the operation; use this for the rest of the schema, with authoring-introspect-schema for the SDL. The API supports no subscriptions, and rejects GET — everything goes over POST, which this tool does for you.| Parameter | Type | Description |
|---|---|---|
| query * | string | The GraphQL document, e.g. 'query { sites { name rootPath } }' or a mutation. |
| variables | string | The document's variables as a JSON object string, e.g. '{"itemId": "{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}"}'. |
authoring-introspect-schemaExplores the Sitecore Authoring and Management GraphQL schema (items, templates, media, sites, search, publishing, jobs, indexing, workflow, security, identity). With no arguments it returns the operation index: 127 queries and mutations, one line each. Use type: "<name>" for one operation or type in full — for an operation the input types its arguments need are included, so one call is enough to write the document — search: "<keyword>" to find an operation by what it does, and full: true for the entire SDL (117,188 characters on a live CM). Most of this schema has no typed authoring-* tool, so this is how you find the rest: createUser, createSite, executeWorkflowCommand, addLanguage, archiveItem, cancelPublishing and around a hundred more. Not the Edge schema — that is introspection-graphql-*.authoring-list-jobsLists Sitecore background jobs over the Authoring and Management API. jobName accepts wildcards: '*' for every job, 'myjob*' for names starting with it, '*myjob' for names ending with it, '*myjob*' for names containing it. Omit jobName to list them all. Use this to find out what the instance is busy with, or to locate a job whose exact name you do not know.| Parameter | Type | Description |
|---|---|---|
| first | number | Maximum number of jobs to return. |
| jobName | string | A job name or wildcard pattern, e.g. '*index'. Omit to list every job. |
authoring-list-sitesLists the sites configured on the Sitecore instance over the Authoring and Management API, with each site's root path, start path and root item ID. Usually the first call when working on an instance you have not seen: the root item ID is what authoring-search scopes a subtree search by, and the root path is what item paths hang off. System sites (shell, admin, login and the rest) are hidden unless includeSystemSites is set.| Parameter | Type | Description |
|---|---|---|
| includeSystemSites | boolean | When true, also return Sitecore's own internal sites (shell, login, admin, service). Off by default. |
authoring-move-itemMoves a Sitecore item to another parent over the Authoring and Management API, taking its descendants with it. Every link to the item survives the move — prefer this over delete-and-recreate, which breaks them. Supply exactly one of id or path, and exactly one of targetParentId or targetParentPath.| Parameter | Type | Description |
|---|---|---|
| database | string | The database holding the item. Defaults to master. |
| id | string | The item's GUID. Supply this or path. |
| path | string | The item's full path. Supply this or id. |
| sortOrder | number | The sort order to give the item under its new parent. |
| targetParentId | string | The GUID of the parent to move into. Supply this or targetParentPath. |
| targetParentPath | string | The path of the parent to move into. Supply this or targetParentId. |
authoring-publish-itemQueues a publish of one or more items over the Authoring and Management API and returns an operationId. Publishing is asynchronous — the call returns as soon as the job is queued, so poll authoring-publishing-status with the operationId before reporting that content is live. On SitecoreAI the target is 'experienceedge'; on XM/XP it is usually 'web'. Supply exactly one of rootItemIds or rootItemPaths.| Parameter | Type | Description |
|---|---|---|
| displayName | string | A label for this publish, shown in Sitecore's publishing UI and job list. |
| languages * | array | The languages to publish, e.g. ['en']. Required. |
| publishItemMode | string | SMART publishes only what changed; FULL republishes everything under the root regardless. SMART is the default and is what you normally want. |
| publishRelatedItems | boolean | When true, also publish items the content references, such as media and linked datasources. Off by default — a page can go live with unpublished images without this. |
| publishSubItems | boolean | When true, publish the descendants of each root item too. Off by default, so a bare call publishes one item. |
| rootItemIds | array | GUIDs of the items to publish from. Supply this or rootItemPaths. |
| rootItemPaths | array | Paths of the items to publish from, e.g. ['/sitecore/content/Home']. Supply this or rootItemIds. |
| sourceDatabase | string | The database to publish from. Defaults to master. |
| targetDatabases * | array | The publishing targets, e.g. ['experienceedge'] on SitecoreAI or ['web'] on XM/XP. Required. This is the target's *database* name, not the publishing target item's name: on SitecoreAI the item is 'Edge' but the database is 'experienceedge', and 'Edge' is rejected. Read the right values from the 'Target database' field of /sitecore/system/Publishing targets. |
authoring-publishing-statusReads the status of a publish queued by authoring-publish-item. Returns state (INITIALIZING, QUEUED, RUNNING, ABORTREQUESTED, ABORTED, FINISHED, UNKNOWN), isDone, isFailed and how many items have been processed. Poll this until isDone before treating published content as live.| Parameter | Type | Description |
|---|---|---|
| publishingOperationId * | string | The operationId returned by authoring-publish-item, e.g. '4e8ed033-cb59-4484-aa86-a6a165711710;xmc'. Pass it whole, semicolon and suffix included. |
authoring-rebuild-indexesStarts a rebuild of one or more Sitecore search indexes over the Authoring and Management API and returns the jobs it queued. A full rebuild of sitecore_master_index is expensive and leaves search results incomplete while it runs, so prefer it only when the index is actually stale. Poll the returned job names with authoring-get-job. Use authoring-graphql with 'query { indexes { nodes { name } } }' to list the index names.| Parameter | Type | Description |
|---|---|---|
| indexNames * | array | The indexes to rebuild, e.g. ['sitecore_master_index']. Required — this tool will not rebuild every index by accident. |
authoring-rename-itemRenames a Sitecore item over the Authoring and Management API. The item keeps its ID, so links to it survive, but its path changes and any URL derived from the name changes with it. Supply exactly one of id or path.| Parameter | Type | Description |
|---|---|---|
| database | string | The database holding the item. Defaults to master. |
| id | string | The item's GUID. Supply this or path. |
| newName * | string | The new name. Sitecore rejects names containing / \ : ? " < > | [ ]. |
| path | string | The item's full path. Supply this or id. |
authoring-searchSearches a Sitecore index over the Authoring and Management API and returns matching items. Criteria combine on the operator you give each one: MUST is AND, SHOULD is OR, NOT excludes. Useful system fields: '_name', '_fullpath' (the item path), '_path' (matches items under an ancestor, given that ancestor's ID with no braces or dashes), '_template' and '_templatename'. IDs in index values are lowercase and unpunctuated, e.g. '110d559fdea542ea9c1c8a5df7e70ef9'. Returns 10 results unless pageSize says otherwise. A '_path' criterion is the cheap way to read a whole subtree at any depth — one query where item-service-get-item-descendants makes one request per node — at the cost of returning identity fields rather than field values, from the index rather than the database.| Parameter | Type | Description |
|---|---|---|
| criteria | array | The indexed field name, e.g. 'Title', '_name' or '_templatename'. |
| index | string | The index to search. Defaults to sitecore_master_index (the authoring content). |
| language | string | Restrict results to this language, e.g. 'en'. |
| latestVersionOnly | boolean | When true, return only the latest version of each item instead of every indexed version. |
| pageIndex | number | Zero-based page to return. Use with pageSize to walk a large result set. |
| pageSize | number | Results per page. The endpoint's own default is 10. |
| sortDirection | string | Sort direction. Only meaningful with sortField. |
| sortField | string | Field to sort by, e.g. '__smallcreateddate'. Omit for relevance order. |
authoring-update-itemSets field values on an existing Sitecore item over the Authoring and Management API. Only the fields named are touched; set reset true on a field to return it to its template's standard value instead of writing a value. Supply exactly one of id or path.| Parameter | Type | Description |
|---|---|---|
| database | string | The database holding the item. Defaults to master. |
| fields | array | The field name, e.g. 'Title'. |
| id | string | The item's GUID. Supply this or path. |
| language | string | The language version to write, e.g. 'en'. |
| path | string | The item's full path. Supply this or id. |
| version | number | The item version to write. Defaults to the latest. |
authoring-update-item-templateUpdates a Sitecore data template over the Authoring and Management API. Sections and fields carrying an ID are updated; those without one are created. Matching is by ID only, never by name: to add a field to a section that already exists you must pass that section's templateSectionId (read it as itemTemplateSectionId from authoring-get-item-template), otherwise the call is rejected for creating a second section of the same name. Nothing is removed unless deleteMissingFields is true — and when it is, every section and field absent from this call is deleted, along with the content stored in them, so read the template first.| Parameter | Type | Description |
|---|---|---|
| baseTemplates | array | GUIDs of templates to inherit from. This replaces the current list rather than adding to it. |
| createStandardValuesItem | boolean | When true, create the __Standard Values item if the template does not have one. |
| database | string | The database holding the template. Defaults to master. |
| deleteMissingFields | boolean | When true, delete every section and field not named in this call, discarding their content. Off by default. |
| icon | string | A new icon for the template. |
| language | string | The language to write template text in. |
| name | string | A new name for the template. Omit to leave it unchanged. |
| sections | array | Sections to update or add. Include templateSectionId / templateFieldId to update rather than create. |
| templateId * | string | The GUID of the template to update. |
authoring-upload-mediaUploads a file into the Sitecore media library over the Authoring and Management API and returns the created media item. Does both halves of the documented flow: asks uploadMedia for a pre-signed URL, then POSTs the bytes to it. Source is exactly one of sourceUrl (fetched by this server — use this to import from a live site), filePath (local to the machine running this MCP server), or content (base64). Needs no SPE Remoting, unlike media-upload.| Parameter | Type | Description |
|---|---|---|
| alt | string | Alt text for the media item. |
| content | string | The file bytes as base64. Small files only — prefer sourceUrl or filePath for anything sizable. Supply this, sourceUrl or filePath. |
| database | string | The database holding the media library. Defaults to master. |
| fileName | string | The file name to upload as, including its extension. Defaults to the name from filePath or sourceUrl. Sitecore reads the extension to decide the media type, so set this when the source has none. |
| filePath | string | Path to a file on the machine running this MCP server. Refused over the HTTP transport unless MEDIA_LOCAL_FILE_ROOT names a directory to confine it to. Supply this, sourceUrl or content. |
| includeExtensionInItemName | boolean | When true, keep the file extension in the item's name. |
| itemPath * | string | Where the item goes, relative to the media library and WITHOUT the '/sitecore/media library/' prefix — e.g. 'Project/MySite/hero'. The last segment is the item's name and must NOT carry a file extension: 'hero', not 'hero.png'. The extension comes from fileName (or the source), and Sitecore reads it to pick the media type — so a '.png' source becomes an Image item with an Alt field, while a '.txt' one becomes a File item that has no Alt. |
| language | string | The language of the media item. |
| overwriteExisting | boolean | When true, replace the file on an existing item at itemPath instead of failing. |
| sourceUrl | string | http(s) URL to fetch the bytes from. Supply this, filePath or content. |
| versioned | boolean | When true, create the media item as versioned rather than shared. |
common-get-archiveGets Sitecore database archives.| Parameter | Type | Description |
|---|---|---|
| database | string | The database for which the archives should be retrieved. |
| name | string | The name of the archive to retrieve. |
common-get-archive-itemGets a page of the items found in the specified archive, with the archive's total entry count. Returns the 100 most recently archived entries unless first/skip say otherwise.| Parameter | Type | Description |
|---|---|---|
| archive * | string | The name of the archive to use when determining which items to process. |
| database * | string | The database for which the archives should be retrieved. |
| first | number | How many entries to return, starting after 'skip'. Defaults to 100. An archive routinely holds thousands of entries, so raise this deliberately rather than by habit. |
| identity | string | The user responsible for moving the item to the archive. |
| itemId | string | The ID for the original item that should be processed. |
| skip | number | How many entries to skip before returning any. Defaults to 0. Combine with 'first' to page through the archive; 'Total' in the response says how many entries there are. |
common-new-item-cloneCreates a new item clone based on the item provided.| Parameter | Type | Description |
|---|---|---|
| database | string | |
| destination * | string | The path of a parent item under which the clone should be created. |
| id | string | The ID of the item to be cloned. Supply this or path. |
| name * | string | The name of the item clone. |
| path | string | The path of the item to be cloned. Supply this or id. |
| recurse | boolean | Adds the parameter to clone the whole branch rather than a single item. |
common-remove-archive-itemRemoves items permanently from the specified archive.| Parameter | Type | Description |
|---|---|---|
| archive * | string | The name of the archive to use when determining which items to remove. |
| database * | string | The database for which the archives should be retrieved. |
| identity | string | The user responsible for moving the item to the archive. |
| itemId | string | The ID for the original item that should be processed. |
common-restore-archive-itemRestores items to the original database from the specified archive.| Parameter | Type | Description |
|---|---|---|
| archive * | string | The name of the archive to use when determining which items to restore. |
| database * | string | The database for which the archives should be retrieved. |
| identity | string | The user responsible for moving the item to the archive. |
| itemId | string | The ID for the original item that should be processed. |
common-set-base-templateAdds or removes a base template on a template item. Removing one takes its fields off every item built from the template, along with their values.| Parameter | Type | Description |
|---|---|---|
| action * | string | Whether to add the base template or remove it. |
| database | string | |
| id | string | The ID of the template item. Supply this or path. |
| path | string | The path of the template item. Supply this or id. |
| template * | string | The path of the template item to add or remove as a base template. |
common-update-item-referrerUpdates all references to the specified item to point to a new provided in the -NewTarget or removes links to the item.| Parameter | Type | Description |
|---|---|---|
| database | string | |
| id | string | The ID of the item to be relinked. Supply this or path. |
| language | string | The language of the item. |
| newTarget | string | The path to a new item the links should be pointing to. |
| path | string | The path of the item to be relinked. Supply this or id. |
| removeLink | boolean | Removes all links to the current target item. |
get-powershell-documentationThe Sitecore PowerShell Extensions command reference, for writing run-powershell-script scripts. Reveals progressively rather than returning the whole ~510KB corpus: call it with NO arguments first for an index of all 129 commands with one-line summaries, then call it again with 'command' for the full page — syntax, every parameter, and examples — of the one or few you need. 'search' matches names, summaries and page bodies when you know what you want to do but not which cmdlet does it; 'category' lists one group. Do not fetch pages you are not about to use.| Parameter | Type | Description |
|---|---|---|
| category | string | List only this group of commands: common, indexing, packaging, presentation, provider, security or session. |
| command | any | The command name(s) to return full documentation for, e.g. 'Get-ItemTemplate' or ['Add-Rendering','Get-Rendering']. Case-insensitive. At most ${MAX_PAGES_PER_CALL} per call. |
| search | string | Keyword to match against command names, summaries and page bodies — use it when you know the task ('placeholder', 'workflow', 'acl') but not the cmdlet. Returns matching names and summaries, not full pages. |
item-service-create-itemCreate a new Sitecore item under parent path with name using template id.| Parameter | Type | Description |
|---|---|---|
| data | object | |
| itemName * | string | |
| options | object | |
| parentPath * | string | |
| templateId * | string |
item-service-delete-itemDelete a Sitecore item by its ID.| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| options | object |
item-service-edit-itemEdit a Sitecore item by its ID.| Parameter | Type | Description |
|---|---|---|
| data * | object | |
| id * | string | |
| options | object |
item-service-get-itemGet a Sitecore item by its ID or path.| Parameter | Type | Description |
|---|---|---|
| id | string | The ID of the item. Supply this or path. |
| options | object | Return only these fields. Set it whenever you know what you need — a full item carries every field of its template, roughly 1.9KB. |
| path | string | The path of the item. Supply this or id. |
item-service-get-item-childrenGet the direct children of a Sitecore item by its ID, with all their fields. Pass options.fields to return only the fields you need — the full form is roughly 1.9KB per child.| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| options | object | Return only these fields on each item. Set it whenever you know what you need — a full item carries every field of its template, roughly 1.9KB each. |
item-service-get-item-descendantsGets every descendant of a Sitecore item by ID, with all their fields. Walks the tree client-side: one request per node, issued sequentially, so a large subtree costs seconds to minutes and returns an unpaged result. For structure only (paths, names, templates) at any depth, authoring-search with a '_path' criterion is one indexed query instead. Truncates at DESCENDANTS_MAX_ITEMS (5000) and says so. See the guide://tool-selection resource.| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| options | object | Return only these fields on each item. Set it whenever you know what you need — a full item carries every field of its template, roughly 1.9KB each. |
item-service-get-languagesGet Sitecore languages.item-service-search-itemsSearch Sitecore items using the ItemService RESTful API. The endpoint's facet breakdown is omitted unless includeFacets is set — it accounted for 96% of the response on a live CM and is rarely what the caller is after.| Parameter | Type | Description |
|---|---|---|
| database | string | The database to search. Defaults to master. |
| facet | string | Filter the results by a facet, as 'name|value' (e.g. '_language|en'). |
| fields | array | Restrict each result to these fields. Strongly recommended: a full result carries every field of the item. |
| includeFacets | boolean | Include the facet breakdown (names and counts). Off by default: it dominated the payload, 96% of a live one-result search. |
| includeStandardTemplateFields | boolean | Include the Standard template's fields. Off by default; a large addition to every result. |
| page | number | Zero-based page to return. |
| pageSize | number | Results per page. |
| term * | string | The text to search for. |
media-downloadDownloads a media item's blob from the Sitecore media library via the SPE mediaDownload service. Pass saveTo to write it to a file local to the machine running this MCP server (always do this for anything over ~0.5MB); without saveTo the blob is returned inline as base64, capped at maxBytes. Requires <mediaDownload enabled="true"> in the CM's SPE services config.| Parameter | Type | Description |
|---|---|---|
| database | string | The database holding the media library. Defaults to master. |
| maxBytes | number | Inline-response size cap in bytes (default ${DEFAULT_MAX_BASE64_BYTES}). A blob over the cap errors with its actual size — pass saveTo instead of raising the cap unless you truly need the bytes inline. |
| path * | string | The media item path WITHOUT file extension (e.g. 'Project/Stride/Corporate/Migrated/team-photo' — the '/sitecore/media library/' prefix is optional), or the media item's GUID. |
| saveTo | string | File path on the machine running this MCP server to write the blob to. When set, the response carries metadata only — no base64. Refused over the HTTP transport unless MEDIA_LOCAL_FILE_ROOT names a directory to confine it to. |
media-uploadUploads a file into the Sitecore media library via the SPE mediaUpload service and returns the created media item (ID, path, size, mime type). Overwrites an existing item at the destination unless skipExisting is set. Source is exactly one of sourceUrl (fetched by this server — use this to import from a live site), filePath (local to the machine running this MCP server), or content (base64). Requires <mediaUpload enabled="true"> in the CM's SPE services config.| Parameter | Type | Description |
|---|---|---|
| alt | string | Alt text to set on the media item after upload. |
| content | string | The file bytes as base64. Suits small files only — prefer sourceUrl or filePath for anything sizable. Supply this, sourceUrl or filePath. |
| database | string | The database holding the media library. Defaults to master. |
| destination * | string | Media library path for the item, including the file name with extension (e.g. 'Project/Stride/Corporate/Migrated/team-photo.jpg' — the '/sitecore/media library/' prefix is optional), or the GUID of an existing media item to overwrite. The item is named after the file name up to its FIRST dot, with characters Sitecore will not accept in a name removed, so 'v1.2 asset.jpg' becomes an item called 'v1' — avoid dots in the name itself. The response reports the name the item actually got. |
| filePath | string | Path to a file on the machine running this MCP server. Refused over the HTTP transport unless MEDIA_LOCAL_FILE_ROOT names a directory to confine it to. Supply this, sourceUrl or content. |
| skipExisting | boolean | When true, leave an existing item at the destination untouched instead of overwriting it. |
| skipUnpack | boolean | When true, store an uploaded .zip as a single media item instead of unpacking it. |
| sourceUrl | string | http(s) URL to fetch the bytes from (e.g. an image on the site being migrated). Supply this, filePath or content. |
run-powershell-scriptRuns a PowerShell script and returns the output. Before writing a script that changes many items, read the guide://bulk-update resource: it carries the pattern a mass write needs (every ID resolved from the instance, a named subtree as the root, a dry run the user approves, BeginEdit/EndEdit with a per-item try/catch).| Parameter | Type | Description |
|---|---|---|
| script * | string | The Powershell script to run. |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 162 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/stdio.ts:1, src/streamable-http.ts:84
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 1 callsrc/utils.ts:15
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 162 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README