Skip to main content
Glama

Sitecore MCP Server

by GaryWenneker
GRAPHQL-WORKS.md•1.52 kB
# āœ… GraphQL Works! - Working Configuration ## šŸŽ‰ SUCCESS! GraphQL is **available and working** on your Sitecore instance! ### āœ… Working Configuration: - **Endpoint:** `/sitecore/api/graph/edge` - **API Key:** `{YOUR-API-KEY}` - **Header:** `sc_apikey` ## šŸ“ Working Queries ### āœ… Get Item (Works!) ```graphql { item(path: "/sitecore/content", language: "en") { id name displayName path template { id name } hasChildren } } ``` **Result:** - ID: `0DE95AE441AB4D019EB067441B7C2450` - Name: `content` - Path: `/sitecore/content` - Template: `Main section` - Has Children: `True` ### āœ… Query with Variables (Works!) ```graphql query GetItem($path: String!) { item(path: $path, language: "en") { id name displayName path } } ``` ## āš ļø Schema Differences Some queries don't work because this GraphQL schema is different: - āŒ `children` - Not available on `item` - āŒ `fields` array - Not available - āŒ `search` - Possibly different syntax ## šŸ” Next Steps 1. āœ… Open GraphQL IDE in browser: `https://your-sitecore-instance.com/sitecore/api/graph/edge/ui` 2. šŸ” View the complete schema with introspection 3. šŸ“ Adjust MCP server queries for this specific schema 4. ✨ Test and use! ## šŸš€ MCP Server Status The code is ready and GraphQL works! We just need to: 1. Adjust queries to the available schema 2. Find alternative ways for `children` and `fields` 3. Check search query syntax **GraphQL is the right choice! šŸŽ‰**

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GaryWenneker/SitecoreMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server