π¦ ClawHub
Shopify Dev Mcp
by @simoncai519
Use when user wants to work with Shopify Admin API, Storefront API, validate Liquid code, explore GraphQL schemas, build Shopify apps, or inspect Shopify doc...
TERMINAL
clawhub install shopify-dev-mcpπ About This Skill
name: shopify-dev-mcp description: > Use when user wants to work with Shopify Admin API, Storefront API, validate Liquid code, explore GraphQL schemas, build Shopify apps, or inspect Shopify documentation and MCP tools. version: "1.0.0"
Shopify Development MCP (shopify-dev-mcp)
Provides a workflow to interact with Shopify's development ecosystem via the shopify-dev MCP server. It enables searching documentation, introspecting GraphQL schemas, validating Liquid/theme code, and building Shopify extensions while avoiding hallucinations.
Trigger Scenarios
Core Workflow
1. Initialize β Calllearn_shopify_api for the required technology (admin, storefront-graphql, liquid, polaris) and capture the returned conversationId.
2. Search Documentation β Use search_docs_chunks for semantic search or fetch_full_docs for full pages.
3. Introspect Schema β Run introspect_graphql_schema with the conversationId to get upβtoβdate types and fields.
4. Validate Code β Depending on the content:
- GraphQL: validate_graphql_codeblocks
- Polaris UI: validate_component_codeblocks
- Liquid/theme: validate_theme
5. Present Result β Return the validated code or documentation excerpt to the user.Best Practices
conversationId for subsequent calls.'shopify-dev.tool(...)').@shopify/dev-mcp over npx for reliability.Usage Examples
# 1. Initialize for Admin GraphQL
learn_shopify_api tech:admin
β returns conversationId=abc123
2. Search docs for "product creation"
search_docs_chunks query:"product creation" conversationId:abc1233. Introspect the schema
introspect_graphql_schema conversationId:abc1234. Validate a GraphQL mutation
validate_graphql_codeblocks conversationId:abc123 codeblocks:[{content:"mutation { productCreate(input:{title:\"New\"}) { product { id } userErrors { field message } } }"}]5. Validate a Liquid snippet
validate_theme conversationId:abc123 path:"/tmp/theme" files:["snippets/header.liquid"]
References
references/api-guide.md for full API details, GraphQL schema listings, Liquid validation options, and MCP server setup.Created by Simon Cai Β· More e-commerce skills: github.com/simoncai519/open-accio-skill
π Tips & Best Practices
conversationId for subsequent calls.'shopify-dev.tool(...)').@shopify/dev-mcp over npx for reliability.