← Back to Shopify MCP Server

Install Shopify MCP Server

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add -e "SHOPIFY_ADMIN_API_BASE_URL=${SHOPIFY_ADMIN_API_BASE_URL}" -e "SHOPIFY_ACCESS_TOKEN=${SHOPIFY_ACCESS_TOKEN}" shopify-mcp -- python "C:\\path\\to\\mcp-server\\shopify_mcp_server.py"
Required:SHOPIFY_ADMIN_API_BASE_URLSHOPIFY_ACCESS_TOKEN+ 1 optional

Environment Variables

Set these before running Shopify MCP Server.

VariableDescriptionRequired
SHOPIFY_ADMIN_API_BASE_URLShopify Admin API endpointYes
SHOPIFY_ACCESS_TOKENAdmin API access tokenYes
USE_DUMMY_RESPONSESEnable mock responses for testingNo

Available Tools (2)

Once configured, Shopify MCP Server gives your AI agent access to:

create_orderCreate new Shopify orders with line items and customer information.
line_itemscustomer_emailfinancial_statustest
get_order_statusRetrieve complete order details by order ID.
order_id

Try It Out

After setup, try these prompts with your AI agent:

Create a new order for 2 units of product ID 12345 for customer test@example.com.
Check the status of Shopify order ID 9999999999.
Create a test order with a pending financial status.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx installed
  • Python 3.8+ with pip installed
  • SHOPIFY_ADMIN_API_BASE_URL — Shopify Admin API endpoint
  • SHOPIFY_ACCESS_TOKEN — Admin API access token
Alternative installation methods

MCP Inspector

npx @modelcontextprotocol/inspector python shopify_mcp_server.py

Keep this setup from going cold

Save the docs, env vars, and workflow around Shopify MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup