1. Core Concepts Explained
Before diving into the installation, it is crucial to understand the underlying architecture:
stdio). It acts as a middleman. When your AI assistant needs to look up Shopify documentation or validate a GraphQL query, it asks this local server, which fetches real-time data without requiring any authentication (No Auth).2. Step-by-Step Installation Guide
To run the Dev MCP Server, you need Node.js installed on your computer to execute the npx command. Here is how to configure it for the most popular AI-powered development environments:
Option 1: Configuring in Cursor (Recommended for App & Web Dev)
Cursor > Settings > Cursor Settings > Features > MCP.shopify-dev-mcpcommand"command": "npx",
"args": ["-y", "@shopify/dev-mcp@latest"]"command": "cmd",
"args": ["/k", "npx", "-y", "@shopify/dev-mcp@latest"]Option 2: Configuring in Visual Studio Code (VS Code)
If you are using VS Code with an MCP-compatible AI extension (like Cline or Roo Code):
Cmd + Shift + P (macOS) or Ctrl + Shift + P (Windows).MCP: Open User Configuration.mcp.json file:JSON
Option 3: Manual Setup in Claude Code (Terminal)
If you are using the CLI-based Claude Code tool and prefer adding the MCP server manually, run this command in your terminal:
Bash
claude mcp add --transport stdio shopify-dev-mcp -- npx -y @shopify/dev-mcp@latest
3. What Capabilities Does This Unlock?
Once connected, your AI assistant gains access to specific tools exposed by the server:
learn_shopify_api (Contextual Onboarding): Briefly introduces the AI to Shopify's API paradigms at the start of your session, giving it the right architectural mindset.search_docs_chunks & fetch_full_docs (Live Doc Retrieval): The AI can autonomously search and pull text chunks directly from shopify.dev to verify API limits, Liquid tags, or webhooks.4. Important Production Safeguards
store execute tools) to modify store states (e.g., bulk-editing products or creating assets), always remember that Shopify actions do not have an undo button. Double-check the AI's intended actions and always test prompts on a Development or Staging Store before running them against a Production store.




