Skip to main content
Glama

Shopify MCP Server

🚀 Overview

Shopify MCP Server provides a powerful bridge between your applications and the Shopify ecosystem through the Model Context Protocol. Easily manage products, customers, orders, and more with simple API calls to Shopify's Admin API.

📋 Table of Contents

📥 Installation

Choose your preferred installation method:

MethodInstructions
Smithery
Glama.ai
NPMnpm install shopify-mcp-server

✨ Features

  • 🛍️ Comprehensive Product Management - Search, retrieve, and manage product data
  • 👥 Customer Data Access - Get customer information and manage tags
  • 📦 Advanced Order Processing - Filter, sort, and manage orders easily
  • ⚡ Direct GraphQL Integration - Connect directly to Shopify's Admin API
  • 🛡️ Robust Error Handling - Clear feedback for troubleshooting

🧰 Available Tools

Product Management

ToolDescriptionKey Parameters
get-productsFind products by titlesearchTitle, limit
get-products-by-collectionGet collection productscollectionId, limit
get-products-by-idsRetrieve specific productsproductIds
get-variants-by-idsGet variant detailsvariantIds

Customer Management

ToolDescriptionKey Parameters
get-customersRetrieve customer datalimit, next
tag-customerAdd tags to customerscustomerId, tags

Order Management

ToolDescriptionKey Parameters
get-ordersFilter and sort ordersfirst, after, query, sortKey
get-orderGet single order detailsorderId

Shop & Collection Tools

ToolDescriptionKey Parameters
get-collectionsRetrieve shop collectionslimit, name
get-shopGet basic shop detailsNone
get-shop-detailsGet extended shop infoNone

Discount Management

ToolDescriptionKey Parameters
create-discountCreate discount codestitle, code, valueType, value

🏁 Getting Started

  1. Install the package
    npm install shopify-mcp-server
  2. Set up environment variables
    SHOPIFY_ACCESS_TOKEN=your_token MYSHOPIFY_DOMAIN=your-store.myshopify.com
  3. Initialize the server
    require('shopify-mcp-server').start();
  4. Make your first API call
    const products = await shopifyMcpServer.tools.getProducts({ limit: 10 }); console.log(products);

💡 Use Cases

  • E-commerce Platform Integration - Sync products and orders between systems
  • Custom Admin Dashboards - Build tailored interfaces for your business needs
  • Order Automation - Set up workflows for automatic order processing
  • Multi-channel Sales Management - Manage inventory across all sales channels

🔧 Setup Guide

Getting a Shopify Access Token

  1. From your Shopify admin, go to Settings > Apps and sales channels
  2. Click Develop apps > Create an app
  3. Name your app (e.g., "Shopify MCP Server")
  4. Configure API scopes:
    • read_products, write_products
    • read_customers, write_customers
    • read_orders, write_orders
  5. Click Save and Install app
  6. Copy your Admin API access token

Security Note: Store your access token securely. Never commit it to version control.

Using with Claude Desktop

Add to your claude_desktop_config.json:

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

👨‍💻 Development

# Clone the repository git clone https://github.com/your-username/shopify-mcp-server.git # Install dependencies cd shopify-mcp-server npm install # Set up environment variables # Create a .env file with your Shopify credentials # Build and test npm run build npm test

🤝 Community

ResourceLink
GitHub DiscussionsJoin the conversation
Issue TrackerReport bugs
Twitter@rezajafar
DiscordJoin our server

Deploy 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.

GraphQL API를 통해 Shopify 매장 데이터와의 상호 작용을 지원하여 강력한 오류 처리 기능을 통해 제품, 고객, 주문, 할인 등을 관리하는 도구를 제공합니다.

  1. 📋 목차
    1. 📥 설치
      1. ✨ 특징
        1. 🧰 사용 가능한 도구
          1. 제품 관리
          2. 고객 관리
          3. 주문 관리
          4. 쇼핑 및 수집 도구
          5. 할인 관리
        2. 🏁 시작하기
          1. 💡 사용 사례
            1. 🔧 설정 가이드
              1. Shopify 액세스 토큰 받기
              2. Claude Desktop과 함께 사용
            2. 👨‍💻 개발
              1. 🤝 커뮤니티

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  Enables interaction with Shopify store data using the GraphQL API, supporting product, customer, and order management with comprehensive error handling.
                  Last updated -
                  67
                  12
                  MIT License
                • -
                  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 -
                  4
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  MCP server that integrates with Shopify API, allowing Claude Desktop users to retrieve and manipulate product information from Shopify stores.
                  Last updated -
                  5
                  2
                  MIT License
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  Enables interaction with Shopify stores through GraphQL API, providing tools for managing products, customers, orders, and more.
                  Last updated -
                  67
                  8
                  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/rezapex/shopify-mcp-server-main'

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