# Shopify Dev MCP (MCP Server)

> Search Shopify docs, introspect GraphQL schemas and validate Shopify code

- Type: MCP server
- Publisher: Shopify (official)
- Categories: Development, Shopping
- Website: https://shopify.dev/docs/apps/build/devmcp
- Docs: https://shopify.dev/docs/apps/build/ai-toolkit
- Transport: stdio
- Launch command: npx -y @shopify/dev-mcp@latest
- Sign-in: none
- Listed: 2025-03-20

## About

Shopify's Dev MCP server runs locally and lets coding agents search shopify.dev, introspect Admin/Storefront and other GraphQL schemas, and validate GraphQL, Liquid, theme and UI-extension code. It requires no authentication and is part of the Shopify AI Toolkit.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add shopify-dev -- npx -y @shopify/dev-mcp@latest
   ```

   config.toml:

   ```toml
   [mcp_servers.shopify-dev]
   command = "npx"
   args = ["-y", "@shopify/dev-mcp@latest"]
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Shopify Dev MCP",
       params={"command": "npx", "args": ["-y", "@shopify/dev-mcp@latest"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "How do I create a product with variants using the Admin GraphQL API?")
       print(result.final_output)
   ```

## Tools

- `learn_shopify_api`
- `search_docs_chunks`
- `fetch_full_docs`
- `introspect_graphql_schema`
- `validate`
- `validate_theme`

## Example prompts

- "How do I create a product with variants using the Admin GraphQL API?"
- "Validate this GraphQL mutation against the latest Admin API"
- "Check my theme's Liquid files for errors"
- "Which scopes does the orders query require?"

## Also available as

- plugin: [Shopify](https://chatgptplugins.directory/plugins/shopify.md)
- app: [Shopify](https://chatgptplugins.directory/apps/shopify.md)

## Related

- [Chrome DevTools MCP](https://chatgptplugins.directory/mcp/chrome-devtools.md): Let coding agents control and debug a live Chrome browser
- [Playwright MCP](https://chatgptplugins.directory/mcp/playwright.md): Browser automation for agents via Playwright accessibility snapshots
- [GitHub](https://chatgptplugins.directory/mcp/github.md): Manage repos, issues, pull requests and Actions from your AI agent
- [Context7](https://chatgptplugins.directory/mcp/context7.md): Pull up-to-date, version-specific library docs into your coding agent
- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Stripe](https://chatgptplugins.directory/mcp/stripe.md): Query and act on your Stripe account and search Stripe docs from any agent

---
Source: https://chatgptplugins.directory/mcp/shopify-dev · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
