Shopify AI Toolkit
The Shopify AI Toolkit (shopify.dev/docs/apps/build/ai-toolkit) is an open-source (MIT-licensed) developer acceleration layer developed by Shopify. Built as a suite of Model Context Protocol (MCP) servers, plugins, and agent skills, it connects popular AI coding assistants—including Claude Code, Cursor, OpenAI Codex, Gemini CLI, and VS Code—directly to Shopify’s live developer documentation, real-time GraphQL API schemas, Liquid/Polaris code validators, and authenticated Shopify CLI store execution workflows.
Building Shopify apps, checkout UI extensions, and Liquid themes with general-purpose AI coding agents often leads to hallucinations—such as referencing deprecated API versions, inventing non-existent GraphQL fields, or generating broken Polaris web components. The Shopify AI Toolkit solves this by providing a “Shopify-aware” context layer, ensuring agents look up official documentation, validate code against exact API schemas, and test operations safely before deploying.
Core Capabilities Matrix
| Functional Area | Integrated Tooling / Module | Primary Developer Benefit |
| Live Docs & Orientation | search_docs_chunks, fetch_full_docs, learn_shopify_api |
Pulls current reference docs in real time, preventing stale or hallucinated syntax. |
| GraphQL Schema Introspection | introspect_graphql_schema, validate_graphql_codeblocks |
Verifies mutations, queries, and metafield types against active Admin/Storefront schemas. |
| Theme & UI Validation | validate_theme_codeblocks, validate_component_codeblocks |
Validates Liquid templates, Hydrogen components, and Polaris UI extensions before runtime. |
| Store Management Execution | Shopify CLI store execute bindings |
Allows agents to seed test data, manage products, and test mutations in authenticated stores. |
| Automated Migrations | Polaris web component & API version migration skills | Automates the migration of legacy extensions to newer API versions (e.g., converting to Polaris web components). |
| Installation & Licensing | Plugins, Agent Skills (npx skills add Shopify/shopify-ai-toolkit), or raw MCP |
100% Free & MIT Open-Source with zero per-call Shopify API charges. |
Key Highlights and Developer Workflows
-
Ground Truth via Live Schemas: With access to thousands of Admin GraphQL types and versioned API schemas (such as API version 2026-04), the toolkit eliminates guessing. Agents query schema definitions on the fly to confirm available fields, arguments, and required scopes.
-
Modular Agent Skills Library: Includes specialized agent skills (
SKILL.mdinstruction sets) covering core development areas:-
shopify-admin&shopify-admin-execution: Admin GraphQL API access and store automation. -
shopify-liquid: Theme design and Liquid syntax validation. -
shopify-hydrogen: Headless commerce development. -
shopify-functions: Backend logic (custom discounts, delivery rules, cart validation). -
polaris-ui-extensions: Checkout, Admin, POS, customer account, and App Home UI extensions.
-
-
Self-Validating Feedback Loop: When an AI agent writes code, it automatically runs validation against Shopify’s local linting and schema definitions. If syntax errors or invalid fields are detected, the agent corrects them during the conversation before presenting the final code.
-
Local-First Dev MCP Architecture: The documentation and schema validation servers run locally on your development machine, requiring no authentication for core documentation search and query validation tasks.
