Connects Claude to the Wonderkraftz Shopify storefront via the Storefront API. Exposes product search, collection browsing, cart management (create, add, update, remove), checkout URL generation, and store policy retrieval. Runs over stdio for local AI tools or as a hosted HTTP endpoint for ChatGPT and Grok. You'd reach for this if you're building conversational commerce into an AI assistant and want users to browse gifts, get recommendations, and build carts through natural language without leaving the chat interface. The server handles all the Shopify GraphQL calls and returns structured product data, pricing, variants, and cart state.
An MCP (Model Context Protocol) server that connects AI assistants to the Wonderkraftz Premium Gifting Studio. Browse products, get personalized gift recommendations, manage your cart, and checkout — all through natural language in your AI assistant.
SHOPIFY_STORE_DOMAIN=64cd5c-2.myshopify.com \
SHOPIFY_STOREFRONT_ACCESS_TOKEN=aeeec5ab77309d1c339d2971f56b6506 \
npx wonderkraftz-mcp
npm install -g wonderkraftz-mcp
Add to your project's .cursor/mcp.json:
{
"mcpServers": {
"wonderkraftz": {
"command": "npx",
"args": ["-y", "wonderkraftz-mcp"],
"env": {
"SHOPIFY_STORE_DOMAIN": "64cd5c-2.myshopify.com",
"SHOPIFY_STOREFRONT_ACCESS_TOKEN": "aeeec5ab77309d1c339d2971f56b6506"
}
}
}
}
Add to claude_desktop_config.json:
{
"mcpServers": {
"wonderkraftz": {
"command": "npx",
"args": ["-y", "wonderkraftz-mcp"],
"env": {
"SHOPIFY_STORE_DOMAIN": "64cd5c-2.myshopify.com",
"SHOPIFY_STOREFRONT_ACCESS_TOKEN": "aeeec5ab77309d1c339d2971f56b6506"
}
}
}
}
Use the hosted HTTP endpoint -- no install needed:
https://wonderkraftz-mcp.onrender.com/mcp
Point your MCP client to this URL. It supports Streamable HTTP transport.
To run the HTTP transport yourself:
SHOPIFY_STORE_DOMAIN=64cd5c-2.myshopify.com \
SHOPIFY_STOREFRONT_ACCESS_TOKEN=aeeec5ab77309d1c339d2971f56b6506 \
npx wonderkraftz-mcp-http
The server starts on http://localhost:3000/mcp (or set PORT env var).
| Transport | Entry Point | Use Case |
|---|---|---|
| stdio | wonderkraftz-mcp | Cursor, Claude Desktop, local AI tools |
| Streamable HTTP | wonderkraftz-mcp-http | ChatGPT, Grok, remote/cloud AI tools |
| Variable | Description | Required |
|---|---|---|
SHOPIFY_STORE_DOMAIN | Shopify store domain (e.g., your-store.myshopify.com) | Yes |
SHOPIFY_STOREFRONT_ACCESS_TOKEN | Public Storefront API access token | Yes |
PORT | HTTP server port (default: 3000, HTTP transport only) | No |
| Tool | Description |
|---|---|
search_products | Search the product catalog by keyword |
get_product_details | Get full details for a product by handle or ID |
get_collections | List all product collections |
get_collection_products | Browse products in a specific collection |
get_recommendations | Get product recommendations based on a product |
create_cart | Create a new shopping cart with items |
add_to_cart | Add items to an existing cart |
update_cart | Update item quantities in a cart |
remove_from_cart | Remove items from a cart |
get_cart | View cart contents and totals |
get_checkout_url | Get checkout URL to complete purchase |
get_store_policies | View store shipping, return, and privacy policies |
| URI | Description |
|---|---|
wonderkraftz://store/info | Store information, branding, and payment settings |
wonderkraftz://collections | List of all product collections |
"Show me corporate gift options under 2000 rupees"
"I need a wedding gift hamper. What do you recommend?"
"Add the luxury gift box to my cart and give me the checkout link"
"What's your return policy?"
git clone https://github.com/rachit1987/wonderkraftz-mcp.git
cd wonderkraftz-mcp
npm install
cp .env.example .env # Add your Shopify credentials
npm run build
npm start # stdio transport
npm run start:http # HTTP transport
MIT
SHOPIFY_STORE_DOMAIN*Shopify store domain (e.g., your-store.myshopify.com)
SHOPIFY_STOREFRONT_ACCESS_TOKEN*secretPublic Storefront API access token from the Shopify Headless channel