Cover image
Try Now
2025-04-14

Sitecore的模型上下文协议服务器

3 years

Works with Finder

2

Github Watches

0

Github Forks

2

Github Stars

Model Context Protocol server for Sitecore

Build

PRs Welcome

Implemented tools

  • GraphQL API
    • introspection-grahpql-{schema}: returns the GraphQL schema
    • query-graphql-{schema}: executes a GraphQL query
  • Item Service API
    • item-service-get-item: returns an item by ID
    • item-service-get-item-children: returns the children of an item by ID
    • item-service-get-item-by-path: returns an item by path
    • item-service-create-item: creates an item by providing a template ID and parent path.
    • item-service-edit-item: edits an item by ID
    • item-service-delete-item: deletes an item by ID
    • item-service-search-items: searches for items
    • item-service-run-stored-query: runs a stored query
    • item-service-run-stored-search: runs a stored search
    • Composite Item Service API
      • item-service-get-languages: returns Sitcore languages in the instance
  • Sitecore Powershell
  • Sitecore CLI

Installation

Add the following Model Context Protocol server to your Cursor, VS Code, Claud:

    "Sitecore": {
        "type": "stdio",
        "command": "npx",
        "args": ["@antonytm/mcp-sitecore-server@latest"],
        "env": {
        "TRANSPORT": "stdio",
        "GRAPHQL_ENDPOINT": "https://xmcloudcm.localhost/sitecore/api/graph/",
        "GRAPHQL_SCHEMAS": "edge,master,core",
        "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/"
        }
    }

Environment Variables Description

  • TRANSPORT: The transport protocol to use. Options are stdio or sse.
  • GRAPHQL_ENDPOINT: The GraphQL endpoint URL for the Sitecore instance.
  • GRAPHQL_SCHEMAS: The Sitecore schemas to use for the GraphQL API, comma-separated.
  • GRAPHQL_API_KEY: The API key for the GraphQL endpoint.
  • GRAPHQL_HEADERS: Additional headers to include in the GraphQL requests.
  • ITEM_SERVICE_DOMAIN: The domain for the Item Service API login. Default is sitecore.
  • ITEM_SERVICE_USERNAME: The username for the Item Service API login.
  • ITEM_SERVICE_PASSWORD: The password for the Item Service API login.
  • ITEM_SERVICE_SERVER_URL: The base URL for the Item Service API.

Resources list

  • config: returns the configuration of the server. Use it to check if everything is properly configured.

Local Installation / Development

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Run npm run build to build the project
  4. Run npm start to start the server

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • evilsocket
  • 简单的代理开发套件。

    Reviews

    5 (0)