Shopify Main MCP Server

MCP Server for Shopify API, enabling interaction with store data through GraphQL API.

Local serverstdioGo

What is the Shopify Main MCP server?

Shopify main mcp server lets Claude, Cursor and other MCP clients work with Shopify Main directly. MCP Server for Shopify API, enabling interaction with store data through GraphQL API.

What Shopify Main does

MCP Server for Shopify API, enabling interaction with store data through GraphQL API. This server provides tools for managing products, customers, orders, and more.

Key capabilities

  • Product Management — Search and retrieve product information
  • Customer Management — Load customer data and manage customer tags
  • Order Management — Advanced order querying and filtering
  • GraphQL Integration — Direct integration with Shopify's GraphQL Admin API
  • Comprehensive Error Handling — Clear error messages for API and authentication issues

Tools it exposes

Once connected, the assistant can call these 2 tools directly:

  • Inputs — * searchTitle (optional string): Filter products by title
  • Returns — Formatted product details including title, description, handle, and variants

Installing the shopify main mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply 3 environment variables: SHOPIFY_ACCESS_TOKEN, MYSHOPIFY_DOMAIN, YOUR_ACCESS_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Commerce servers connect assistants to the money-moving parts of a business, which is exactly why their credentials deserve the tightest scoping you can manage. Shopify Main sits in that group, and the shape of its toolset — Inputs, Returns — tells you what it is really for. Worth comparing against the other payments commerce servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by therealhexi, written in Go.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the shopify main mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
Inputs* searchTitle (optional string): Filter products by title
ReturnsFormatted product details including title, description, handle, and variants

How to install the Shopify Main MCP server

{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": ["-y", "shopify-mcp-server"],
      "env": {
        "SHOPIFY_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>",
        "MYSHOPIFY_DOMAIN": "<YOUR_SHOP>.myshopify.com"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SHOPIFY_ACCESS_TOKENCredential the server authenticates with.Yes
MYSHOPIFY_DOMAINConfiguration value read at startup.Optional
YOUR_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Shopify Main to Inputs.
  • Use Shopify Main to Returns.

Frequently asked questions

It connects Shopify Main to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Inputs, Returns) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Shopify Main directly.