What the Shopify AI Toolkit actually is

How to Use the Shopify AI Toolkit: Setup, Tools & What You Can Build

  • shopify
  • ai
How to Use the Shopify AI Toolkit: Setup, Tools & What You Can Build

Let's talk

We’d love to hear about your project or technical questions.

Get in touch

Martijn Wijsmuller, Co-founder at Ask Phill, portrait Martijn Wijsmuller

8 minute read07 May 2026

Updated May 2026.

The Shopify AI Toolkit is an open-source MCP server that connects Claude — along with Cursor, VS Code, Gemini CLI, and OpenAI Codex — directly to Shopify's Admin API, developer documentation, and GraphQL schemas. Once installed, your AI agent gets seven tools to search the docs, validate queries, and execute real store operations through natural language, without you writing the boilerplate.

This guide walks through what the toolkit actually does, how to set it up in under five minutes, the seven tools it ships with, what it still can't do, and what becomes realistic to build once an AI agent has structured access to your store. Shopify open-sourced the toolkit in April 2026 — quietly, with no launch event — but the practical implication is bigger than the rollout suggested.

What the Shopify AI Toolkit actually is

The Shopify AI Toolkit is an open-source, MIT-licensed plugin that connects AI coding agents to three things: Shopify's full developer documentation, its GraphQL API schemas with real-time validation, and live store operations through the Shopify CLI.

That definition matters because "AI Toolkit" sounds like a chatbot. It isn't. It's infrastructure. It gives tools like Claude Code the ability to look up exactly how a Shopify API works, write code against it, validate that code against the actual schema before deployment, and execute operations on a live store, all within a single conversation.

The toolkit builds on Shopify's Dev MCP Server (@shopify/dev-mcp), which shipped as part of the Winter '26 Edition in December 2025. MCP (Model Context Protocol) is the open standard Anthropic developed for connecting AI models to external tools and data sources. The AI Toolkit wraps this into auto-updating plugins for each supported code editor and AI agent.

One thing to note: the toolkit requires no authentication for its documentation and schema capabilities. It only accesses publicly available Shopify developer resources. Store operations through store execute are a separate layer that requires Shopify CLI authentication and appropriate permissions.

The seven tools inside the toolkit

The AI Toolkit exposes seven distinct tools that AI agents can call during a development workflow. Each solves a specific problem that currently eats developer time.

  • learn_shopify_api is the orientation tool. When Claude Code starts working on a Shopify project, this tool provides a structured overview of the platform's API surface, helping the agent understand what's available before writing any code. Think of it as the equivalent of a senior developer giving a new hire a 30-minute platform walkthrough, except it happens in seconds and adapts to what the agent is trying to build.
  • search_docs_chunks and fetch_full_docs give the agent direct access to Shopify's developer documentation. Instead of a developer manually searching docs.shopify.dev, copying relevant sections, and pasting them into a prompt, the agent queries the documentation itself. This matters because Shopify's API surface is large: the Admin GraphQL API alone contains 2,796 types. Having the agent pull the exact documentation it needs, at the moment it needs it, eliminates an entire class of hallucination errors where AI tools generate plausible-looking but incorrect Shopify code.
  • introspect_graphql_schema lets the agent explore Shopify's GraphQL schema in real time. Rather than working from potentially outdated API references, the agent queries the schema directly: what fields does a Product object have? What mutations are available for inventory management? What types does a metafield accept? This is the tool that keeps generated code aligned with Shopify's actual current API, not the version that existed when the AI model was trained.
  • validate_graphql_codeblocks, validate_component_codeblocks, and validate_theme_codeblocks handle code validation before deployment. The agent writes a GraphQL query, a Hydrogen component, or a Liquid theme section, and these tools check it against Shopify's actual schemas and standards. Errors get caught in the conversation, not in production.

Here's a practical example of how these tools chain together. Say you ask Claude Code to build a metafield-powered size guide for your store. The agent calls learn_shopify_api to understand the metafield API surface. It uses search_docs_chunks to pull the specific documentation on metafield definitions and types. It calls introspect_graphql_schema to check the exact mutation signature for creating metafield definitions. It writes the GraphQL mutation and runs it through validate_graphql_codeblocks to catch any errors. Then it generates the Liquid theme section and validates that with validate_theme_codeblocks. What used to be 30-60 minutes of tab-switching between docs, schema references, and code editors happens in a single conversation.

What you can actually build and automate with it

The toolkit's impact shows up most clearly in three areas: building Shopify apps from scratch, accelerating developer onboarding, and executing bulk store operations.

Store operations through the CLI. The store execute capability lets Claude Code perform operations on a live Shopify store through the Shopify CLI. This includes creating and updating products, managing metafields, modifying theme files, and running bulk operations. A developer can describe what they want in natural language ("create a product collection for all items tagged 'summer-2026' with a dynamic pricing rule") and the agent translates that into the correct API calls, validates them, and executes them.

Building apps from scratch. TinyTwo documented building a complete Shopify review app ("ReviewMate") entirely with Claude Code in a 3-part Medium series. The AI agent handled HMAC verification, XSS protection, and other security patterns without being explicitly instructed to include them. The resulting app is serving real merchants in production. This isn't theoretical. The toolkit's schema validation and documentation access mean Claude Code produces Shopify-compliant code on the first pass far more often than when developers paste generic prompts into ChatGPT.

Developer onboarding at speed. Developer Karan Goyal reported that after integrating the Dev MCP Server with Cursor and Claude, a junior developer on his team was shipping production features by day two. Not reading documentation on day two. Shipping features. Goyal called it "the biggest shift in Shopify development I've seen in years," specifically pointing to the elimination of constant context-switching between the Partner Dashboard, API docs, and code editor. The toolkit collapses those into a single interface where the AI agent handles the reference lookup.

Our take: The real value here isn't any single tool. It's the compound effect of having documentation access, schema validation, and store execution in one loop. Every time a developer stops coding to look something up, check a schema, or test an API call manually, that's a context switch that costs 5-15 minutes. When the AI agent handles all of that in the same conversation, those minutes compound into hours saved per day. For agencies running multiple Shopify builds simultaneously, that changes project economics.

How to set it up

Setup takes about five minutes per environment. Here's what you need and what to run.

Prerequisites: Node.js (v18+) installed on your system. No Shopify CLI or authentication required for the core toolkit. It runs locally and connects to publicly available Shopify developer resources.

For Claude Code (recommended method), use the built-in plugin marketplace:

/plugin marketplace add Shopify/shopify-ai-toolkit
/plugin install shopify-plugin@shopify-plugin

Restart Claude Code after installation. You now have access to all seven tools.

Alternative MCP setup for Claude Code: if you prefer a manual configuration, run: claude mcp add --transport stdio shopify-dev-mcp -- npx -y @shopify/dev-mcp@latest

For Cursor, add the Shopify plugin directly from the Cursor Marketplace. Alternatively, add the following to your MCP servers settings:

{"mcpServers": {"shopify-dev-mcp": {"command": "npx", "args": ["-y", "@shopify/dev-mcp@latest"]}}}

For VS Code, open the Command Palette (Ctrl+Shift+P), select "MCP: Open User Configuration," and add the same MCP server configuration above to your mcp.json file.

For store operations, the toolkit's documentation and schema tools work without any authentication. If you want to execute operations against a live store through the Shopify CLI's store execute command, you'll need Shopify CLI installed (npm install -g @shopify/cli) and authenticated via shopify auth login with appropriate Partner account access to the target store.

One important detail: the AI Toolkit itself is free and open-source. There are no per-call API fees from Shopify. The only costs are whatever you pay for your AI agent (Claude Pro, Cursor subscription, etc.) and standard Shopify API rate limits apply: 1,000 cost points per minute for GraphQL on standard plans, with higher limits on Shopify Plus.

What it can't do (and what you need for full store management)

This is where expectations need a reality check.

The Shopify AI Toolkit is a developer tool. It gives AI agents access to documentation, schemas, and CLI-based store operations. It does not give you conversational store management. You can't connect it and say "update all my product prices by 10%" or "show me last week's orders." That's a fundamentally different use case.

For full store management through Claude, you need community-built Admin API MCP servers. The most capable is GeLi2001's shopify-mcp (126+ GitHub stars, 31+ tools), which connects Claude to the Shopify Admin GraphQL API for direct CRUD operations on products, orders, customers, inventory, discounts, and metafields. Another strong option is benwmerritt's fork, which adds collections, draft orders, bulk operations, and URL redirects across 30+ tools. These require authentication via a Shopify access token (shpat_...) with appropriate API scopes.

The distinction matters: the AI Toolkit is about building and deploying Shopify code faster. Community MCP servers are about managing store data and operations through natural language. They're complementary, not competing.

Several limitations apply to both:

MCP requires desktop environments. Claude Desktop, Claude Code, Cursor. There is no mobile MCP access. If you need AI store management on a phone, Sidekick (Shopify's built-in AI assistant, which itself runs on Claude Sonnet 4.5) is your only option, and its write capabilities are still limited.

Community servers have fragility issues. When Shopify updates their API, community MCP servers can break until maintainers push fixes. Developer Colby McHenry built a MCP server with live schema introspection specifically to solve this problem, downloading the full API schema (2,796 types) on startup and building a searchable index. That's clever engineering, but it also signals how real the maintenance burden is.

Security requires careful attention. Access tokens should never be hardcoded or committed to version control. Delete operations through MCP are irreversible, there is no undo. Shopify's VP of Engineering Farhan Thawar has warned about "comprehension debt" when teams lean too heavily on AI: if developers don't understand the code the AI generates, they can't debug it when it breaks. Anything touching core commerce infrastructure still demands human oversight.

Rate limiting is real. Shopify's GraphQL API allows 1,000 cost points per minute on standard plans. Complex queries consume more points. Pagination caps at 25,000 objects and input arrays max at 250 items. Heavy automation workflows can hit these limits faster than expected.

Our take: The AI Toolkit is a developer productivity multiplier, not a store management autopilot. Both capabilities matter, but they're different tools for different jobs. If you're evaluating what to set up first, start with the AI Toolkit for development workflows and add a community Admin MCP server for store operations once you've established safe practices on a staging store.

Why this matters more than it looks

Three things put this release in context.

  1. Shopify's own AI runs on Claude. Sidekick, the AI assistant available to every Shopify merchant, uses Claude Sonnet 4.5 through Google Cloud's Vertex AI. Shopify's Director of Applied AI, Andrew McNamara, chose it for what he described as the right balance between response speed and output quality. Now Shopify has opened the developer layer to the same model family. That's not a coincidence. It's an architecture bet.
  2. AI-driven commerce is scaling fast. AI-attributed orders on Shopify increased 11x between January and November 2025, according to TechCrunch. Agentic Storefronts launched on March 24, 2026 by default for all eligible US merchants, enabling AI shopping agents from ChatGPT, Microsoft Copilot, Google AI Mode, and Gemini to browse and purchase from Shopify stores directly. McKinsey projects $5 trillion in global agentic commerce volume by 2030. Morgan Stanley estimates 10-20% of US e-commerce spending will be AI-agent-driven by that same year. Whether you find those projections aggressive or conservative, the directional signal is clear.
  3. The competitive gap is opening now. The AI Toolkit reduces the time and cost of Shopify development. Brands using it will ship store improvements faster, test more ideas, and iterate on their storefront at a pace that non-adopters can't match with manual workflows alone. This isn't about replacing developers. It's about making each developer 3-5x more productive on Shopify-specific tasks. Over 12-24 months, that productivity advantage compounds into a meaningful competitive gap.

Not everyone shares this urgency. Criteo CEO Michael Komasinski expects a more gradual trajectory, describing agentic commerce as an "assistive evolution" where human decision-making remains primary.

That's a reasonable counterpoint, and it highlights an important nuance: the AI Toolkit's immediate value is in development efficiency, not in autonomous store management. The autonomous layer is coming (Sidekick's write access is expanding, Agentic Storefronts are live), but it's not here yet in its full form.

Our take: The brands that will pull ahead aren't the ones using AI to generate product descriptions. They're the ones using it to build, validate, and deploy store improvements at a fundamentally different speed. The Shopify AI Toolkit is a specific, concrete step in that direction. Not a moonshot. A practical infrastructure upgrade that happens to have massive compounding potential.

Getting started: which tool fits your role

If you're a developer or dev team lead: Install the AI Toolkit today. Connect it to a development store. Ask Claude Code to scaffold an app, build a theme section, or create a metafield structure. You'll see the difference in your first session. The setup takes five minutes and costs nothing.

If you're a CTO or E-commerce Director: This changes how you should evaluate development velocity. Ask your internal team or agency partner whether they're using AI-assisted development tools and how they validate the output. The AI Toolkit's code validation against Shopify's actual schemas is a concrete quality control mechanism that should be part of any modern Shopify development workflow.

If you're a store owner without development resources: The AI Toolkit isn't for you directly, not yet. Shopify's Sidekick is your AI entry point: it handles analytics queries, theme adjustments, and basic store operations through natural language, and it's included free on every Shopify plan. For more advanced automation, community MCP servers are becoming more accessible, but they currently require some technical setup.

Regardless of role: start on a staging or development store. Never connect AI tools to a production store without established review processes. The power of this tooling is real, and so is the potential for unintended changes.

Building on Shopify Plus and evaluating how AI tooling fits into your development workflow? Talk to our team about what we're seeing across builds and how the toolkit integrates with existing Shopify Plus development processes.

Frequently Asked Questions

What is the Shopify AI Toolkit?

The Shopify AI Toolkit is a free, open-source MCP (Model Context Protocol) server that connects AI coding agents like Claude Code, Cursor, and VS Code directly to Shopify's developer documentation, GraphQL API schemas, and live store operations through the Shopify CLI. It was released on April 9, 2026 and requires no API key for documentation and schema access.

How do you connect Shopify to Claude?

Run this single command in your terminal: claude mcp add --transport stdio shopify-dev-mcp -- npx -y @shopify/dev-mcp@latest. That connects Claude Code to all seven tools in the AI Toolkit. For store operations, you also need to authenticate via Shopify CLI with shopify auth login and have appropriate Partner account access to the target store.

Can the Shopify AI Toolkit manage a live store?

Partially. The toolkit can execute store operations through the Shopify CLI (creating products, managing metafields, modifying themes), but it's primarily a developer tool. For full conversational store management (updating prices, viewing orders, managing customers), you need community-built Admin API MCP servers like GeLi2001's shopify-mcp, which connects Claude directly to the Shopify Admin GraphQL API.

Is the Shopify AI Toolkit free?

Yes. The toolkit is open-source and MIT-licensed. There are no per-call API fees from Shopify. The only costs are your AI agent subscription (Claude Pro, Cursor, etc.) and standard Shopify API rate limits apply: 1,000 cost points per minute for GraphQL on standard plans, with higher limits on Shopify Plus.

What is the difference between the AI Toolkit and Shopify's MCP server?

The AI Toolkit is the consumer-facing package that wraps Shopify's Dev MCP Server (@shopify/dev-mcp) into auto-updating plugins for different code editors. The Dev MCP Server is the underlying infrastructure that shipped with Shopify's Winter '26 Edition. In practice, installing the AI Toolkit gives you access to the Dev MCP Server's full capabilities. Community-built MCP servers (like shopify-mcp) are separate projects that provide Admin API access for store management, which is a different use case.

Do you want to
stay updated?

Yes

Stay ahead

Subscribe to our newsletter for a roundup of the latest in ecommerce, straight to your inbox.