AB

amir-bengherbi/shopify-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

18 stars 15 forks 품질 65 트렌드 22MIT

Shopify API를 위한 MCP 서버

개요

Shopify API를 위한 MCP Server는 GraphQL API를 통해 저장 데이터와 상호 작용을 가능하게 합니다. 이 서버는 제품, 고객, 주문 등을 관리하기위한 도구를 제공합니다. * : 검색 및 검색 제품 정보 * : 로드 고객 데이터 및 고객 태그 관리 * : 고급 주문 쿼리 및 필터 * : Shopify의 GraphQL Admin API와 직접 통합 * : API 및 인증 문제에 대한 명확한 오류 메시지 1. get-products * 제목에 의해 모든 제품 또는 검색 * 입력 : * searchTitle (선택 문자열) : 제목에 의한 필터 제품 * 제한 (숫자) : 반품 할 수있는 최대 제품 * 반품 : 제목, 설명, 핸들 및 변형을 포함한 지정된 제품 세부 사항 2. get-products-by-collection * 특정 컬렉션에서 제품을 가져 오기 * 입력 : * collectionId (string) : * 제한 (옵션 번호, 기본 : 10)에서 제품을 얻기 위해 컬렉션의 ID : 반환 할 수있는 최대 제품 * 반품 : 지정된 컬렉션의 형식 제품 세부 사항 3. 명세.

개요(AI 번역)

Shopify API를 위한 MCP Server는 GraphQL API를 통해 저장 데이터와 상호 작용을 가능하게 합니다. 이 서버는 제품, 고객, 주문 등을 관리하기위한 도구를 제공합니다.

특징

*제품 관리: 검색 및 검색 제품 정보

  • ** 고객 관리 **: 고객 데이터 및 관리 고객 태그
  • 주문 관리: 고급 주문 쿼리 및 필터링
  • GraphQL 통합: Shopify의 GraphQL Admin API와 직접 통합 *Comprehensive Error 처리: API 및 인증 문제에 대한 명확한 오류 메시지

도구

  1. get-products
  • 제목에 의해 모든 제품 또는 검색
  • 입력:
  • searchTitle (옵션 문자열): 필터 제품 by title
  • limit (number): 최대 제품 수
  • 반품 : 제목, 설명, 핸들 및 변형을 포함한 형식 제품 세부 사항
  1. [T3]]
  • 특정 컬렉션에서 제품을 얻으십시오.
  • 입력:
  • collectionId (string): 수집의 ID는 제품을 얻을
  • limit (옵션 번호, 기본값: 10): 반환하는 제품의 최대 수
  • 반환: 지정된 수집에서 지정된 제품 세부사항을 체재했습니다
  1. [T6]
  • ID로 제품을 받으세요

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Shopify MCP Server

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

Features

  • 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

  1. get-products

    • Get all products or search by title
    • Inputs:
      • searchTitle (optional string): Filter products by title
      • limit (number): Maximum number of products to return
    • Returns: Formatted product details including title, description, handle, and variants
  2. get-products-by-collection

    • Get products from a specific collection
    • Inputs:
      • collectionId (string): ID of the collection to get products from
      • limit (optional number, default: 10): Maximum number of products to return
    • Returns: Formatted product details from the specified collection
  3. get-products-by-ids

    • Get products by their IDs
    • Inputs:
      • productIds (array of strings): Array of product IDs to retrieve
    • Returns: Formatted product details for the specified products
  4. get-variants-by-ids

    • Get product variants by their IDs
    • Inputs:
      • variantIds (array of strings): Array of variant IDs to retrieve
    • Returns: Detailed variant information including product details
  5. get-customers

    • Get shopify customers with pagination support
    • Inputs:
      • limit (optional number): Maximum number of customers to return
      • next (optional string): Next page cursor
    • Returns: Customer data in JSON format
  6. tag-customer

    • Add tags to a customer
    • Inputs:
      • customerId (string): Customer ID to tag
      • tags (array of strings): Tags to add to the customer
    • Returns: Success or failure message
  7. get-orders

    • Get orders with advanced filtering and sorting
    • Inputs:
      • first (optional number): Limit of orders to return
      • after (optional string): Next page cursor
      • query (optional string): Filter orders using query syntax
      • sortKey (optional enum): Field to sort by (‘PROCESSED_AT’, ‘TOTAL_PRICE’, ‘ID’, ‘CREATED_AT’, ‘UPDATED_AT’, ‘ORDER_NUMBER’)
      • reverse (optional boolean): Reverse sort order
    • Returns: Formatted order details
  8. get-order

    • Get a single order by ID
    • Inputs:
      • orderId (string): ID of the order to retrieve
    • Returns: Detailed order information
  9. create-discount

    • Create a basic discount code
    • Inputs:
GitHub에서 전체 README 보기

설치

npx -y shopify-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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