Guide · Commerce

How to expose Shopify as MCP.

Turn any of Shopify's ~4 million storefronts into agent-callable tools instantly. Learn the difference between shopper-side and merchant-side MCP interfaces and how to connect them to Claude or Cursor.

The Model Context Protocol (MCP) revolutionizes how agents interact with the web. When it comes to e-commerce, Shopify powers roughly 4 million active storefronts globally. Using wmcp.sh, you can turn any public Shopify URL into an array of structured MCP tools—allowing agents to fetch product details, check inventory availability, and manage carts with zero configuration.

Shopper-side vs. Merchant-side.

Most integrations focus on merchant-side APIs, which require the store owner to install an app, configure OAuth, and grant permissions. While powerful, this limits agents to only stores you explicitly own or have partnered with.

Shopper-side integration, which wmcp.sh specializes in, allows agents to act exactly like a normal human visitor. By ingesting public JSON endpoints (like /products.json) that every Shopify store exposes, wmcp.sh dynamically compiles MCP tools for product discovery, price checking, and cart interactions without requiring the merchant to install anything. This opens up the entire Shopify ecosystem to autonomous agentic shopping.

Exposing Shopify tools.

  1. Find a Shopify Storefront URL. Start with any product or collection URL from a known Shopify brand (e.g., Allbirds, Gymshark, Skims).
  2. Query the wmcp.sh tools endpoint. Pass the URL to the wmcp.sh REST API. This will instantly analyze the target domain and return the available tools in standard MCP JSON format.
    curl 'https://wmcp.sh/api/v1/tools?url=https://www.allbirds.com/products/mens-wool-runners'
  3. Review the Tool List. The response will include tools like get_product_details, check_inventory, and add_to_cart. Because wmcp.sh runs on Cloudflare Workers, this ingestion and translation happens with sub-100ms latency. The schemas are strictly typed and ready for LLM consumption.
  4. Connect to Claude or Cursor. Configure your local AI assistant to point to this endpoint. If you're using Claude Desktop, follow our guide on how to install Claude Desktop MCP to bridge the wmcp.sh SSE transport to your local client.
  5. Prompt the Agent. Now, you can instruct your agent: "Check the price of the Men's Wool Runners in size 10 on Allbirds, and tell me if they are in stock." The agent will automatically call the correct MCP tool and return the result.

Caching and Latency.

To prevent overwhelming upstream storefronts and to provide agents with near-instant responses, wmcp.sh utilizes intelligent edge caching. Standard product queries leverage a short-TTL cache (~1s) ensuring that the data is both fresh and lightning fast (sub-100ms). This allows agents to confidently execute high-speed market research and price comparison sweeps across thousands of SKUs.

Disclaimer: wmcp.sh is not affiliated with Shopify, Allbirds, Gymshark, Skims, OpenAI, or Anthropic. All product names and brands are property of their respective owners.
Need this done for you?

Skip the wiring — we build, deploy, and monitor.

Custom adapter + hosted MCP at mcp.yourbrand.com + verified badge. From $499 one-time setup.

See /managed → Submit (free)