Skip to main content
Glama

Sitecore MCP Server

by GaryWenneker
STATUS.md•3.14 kB
# šŸŽ‰ Sitecore GraphQL MCP Server - COMPLETE! ## āœ… Status: WORKING AND TESTED The Sitecore MCP server is fully operational with GraphQL API! ## šŸ“Š Test Results ``` === Sitecore GraphQL API Test === Test 1: Get Item by Path (/sitecore/content) [OK] SUCCESS! āœ“ Test 2: Get Children of /sitecore/content [OK] SUCCESS! āœ“ Test 3: Get Single Field Value [OK] SUCCESS! āœ“ Test 4: List all content items [OK] SUCCESS! āœ“ Test 5: Query with Variables [OK] SUCCESS! āœ“ === ALL TESTS PASSED! === ``` ## šŸ”§ Working Configuration ### GraphQL Endpoint ``` https://your-sitecore-instance.com/sitecore/api/graph/edge ``` ### API Key Header ``` sc_apikey: {YOUR-API-KEY} ``` ### Schema Knowledge - **Item:** Standard item query with id, name, displayName, path, template - **Children:** Via `children { results { } }` - NOTE: results array! - **Fields:** Via `field(name: "FieldName") { name value }` - Per field - **Search:** Requires `where` predicate (to be implemented) ## šŸ“ Available MCP Tools 1. **sitecore_get_item** - Get an item via path - Returns: id, name, displayName, path, template info 2. **sitecore_get_children** - Get all child items - Returns: Array of items with basic info 3. **sitecore_get_field_value** - Get a specific field - Returns: name and value of the field 4. **sitecore_query** - Execute a query (via children recursive) - Returns: Array of found items 5. **sitecore_search** - Search items (via children filtering) - Returns: Array of matching items 6. **sitecore_get_template** - Get template info - Returns: Template details ## šŸš€ Usage ### 1. Test the API ```powershell .\test-graphql-api.ps1 ``` ### 2. Start MCP Server ```bash npm run build npm start ``` ### 3. Use in Claude Desktop / VS Code / Rider The MCP server is configured for: - āœ… Claude Desktop - āœ… VS Code GitHub Copilot - āœ… JetBrains Rider - āœ… Visual Studio 2022 ## šŸ“š Documentation - `README.md` - Main documentation and quick start - `docs/guides/INSTALLATION.md` - Detailed installation per IDE - `docs/guides/GRAPHQL-SOLUTION.md` - GraphQL general info - `docs/guides/GRAPHQL-WORKS.md` - Proof that it works - `docs/guides/SCHEMA-ANALYSIS.md` - Complete schema analysis - `docs/guides/EXAMPLES.md` - Usage examples ## šŸŽÆ What You Can Do Now ### In Claude Desktop: ``` "Get the /sitecore/content item" "Show me the children of /sitecore/content/Home" "What is the value of the Title field on /sitecore/content/Home?" ``` ### In VS Code Copilot Chat: ``` @workspace What's in the Sitecore content item? ``` ### In Rider: ``` Get all Sitecore items under /sitecore/content ``` ## ✨ Highlights - āœ… **GraphQL API fully working** - āœ… **All 5 test cases successful** - āœ… **MCP server built without errors** - āœ… **Multi-IDE support configured** - āœ… **Complete documentation set** - āœ… **API key authentication working** ## šŸŽŠ READY FOR USE! The MCP server is production-ready and can retrieve items, traverse children, read fields and execute queries on your Sitecore instance! **Enjoy your Sitecore MCP server! šŸš€**

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