dev-mcp

MCP.Pizza Chef: Shopify

The dev-mcp is a Model Context Protocol (MCP) server designed to integrate with Shopify.dev, providing structured access to various Shopify APIs. It enables developers to connect LLMs with Shopify development tools, facilitating real-time context sharing and interaction with Shopify's platform. This server supports seamless integration with MCP clients like Cursor and Claude Desktop, simplifying Shopify app development and automation workflows.

Use This MCP server To

Integrate Shopify API data into LLM-powered development tools Automate Shopify app development workflows with real-time context Enable LLMs to query and manipulate Shopify store data Facilitate multi-step reasoning over Shopify API responses Streamline debugging and testing of Shopify apps using LLMs Connect Shopify development environment with AI copilots Provide structured Shopify context for AI-driven code generation

README

Shopify Dev MCP Server

This project implements a Model Context Protocol (MCP) server that interacts with Shopify Dev. This protocol supports various tools to interact with different Shopify APIs.

Setup

To run the Shopify MCP server using npx, use the following command:

npx -y @shopify/dev-mcp@latest

Usage with Cursor or Claude Desktop

Add the following configuration. For more information, read the Cursor MCP documentation or the Claude Desktop MCP guide.

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

On Windows, you might need to use this alternative configuration:

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

Available tools

This MCP server provides the following tools:

Tool Name Description
search_dev_docs Search shopify.dev documentation
introspect_admin_schema Access and search Shopify Admin GraphQL schema

Available prompts

This MCP server provides the following prompts:

Prompt Name Description
shopify_admin_graphql Help you write GraphQL operations for the Shopify Admin API

Development

The server is built using the MCP SDK and communicates with Shopify Dev.

  1. npm install
  2. Modify source files
  3. Run npm run build to compile or npm run build:watch to watch for changes and compile
  4. Run npm run test to run tests
  5. Add an MCP server that runs this command: node <absolute_path_of_project>/dist/index.js

License

ISC

dev-mcp FAQ

How do I install the dev-mcp server?
You can install and run the dev-mcp server using the command `npx -y @shopify/dev-mcp@latest` in your terminal.
Can I use dev-mcp with different MCP clients?
Yes, dev-mcp is compatible with MCP clients like Cursor and Claude Desktop, enabling flexible integration.
What operating systems are supported?
The dev-mcp server runs on major OSes; Windows users may need to use the alternative command with `cmd /k` as shown in the documentation.
Does dev-mcp support multiple Shopify APIs?
Yes, it supports various Shopify APIs through its integrated tools for comprehensive development workflows.
How do I configure dev-mcp in my MCP client?
Add the provided JSON configuration snippet to your MCP client settings to connect to the dev-mcp server.
Is the dev-mcp server open source?
Yes, it is available on GitHub under the Shopify.dev project for community use and contributions.
Can dev-mcp help with automated testing?
Yes, by providing real-time Shopify context, it can assist in automating testing and debugging processes.
What benefits does dev-mcp provide for Shopify developers?
It streamlines API interactions, enables AI-assisted coding, and integrates Shopify context directly into development tools.