Skip to main content
Glama

Shopify Dev MCP

Official
by Shopify

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. At the moment the following APIs are supported:

  • Admin GraphQL API
  • Functions
  • (Optional) Polaris Web Components

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"] } } }

Disable instrumentation

In order to better understand how to improve the MCP server, this package makes instrumentation calls. In order to disable them you can set the OPT_OUT_INSTRUMENTATION environment variable. In Cursor or Claude Desktop the configuration would look like this:

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

Opt-in Polaris support (experimental)

If you want Cursor or Claude Desktop to surface Polaris Web Components documentation, include an env block with the POLARIS_UNIFIED flag in your MCP server configuration:

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

Available tools

This MCP server provides the following tools:

Tool NameDescription
search_dev_docsSearch shopify.dev documentation
introspect_admin_schemaAccess and search Shopify Admin GraphQL schema
fetch_docs_by_pathRetrieve documents from shopify.dev
get_startedGet started with Shopify APIs (Admin, Functions, etc.)

Available prompts

This MCP server provides the following prompts:

Prompt NameDescription
shopify_admin_graphqlHelp 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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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

  1. Setup
    1. Usage with Cursor or Claude Desktop
      1. Disable instrumentation
      2. Opt-in Polaris support (experimental)
    2. Available tools
      1. Available prompts
        1. Development
          1. License

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol (MCP) server that provides programmatic access to the Supabase Management API. This server allows AI models and other clients to manage Supabase projects and organizations through a standardized interface.
              Last updated -
              8
              84
              27
              JavaScript
            • -
              security
              A
              license
              -
              quality
              MCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.
              Last updated -
              13
              2
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for Upstash Developer API's.
              Last updated -
              16
              58
              27
              TypeScript
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              This MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.
              Last updated -
              2
              Python
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shopify/dev-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server