GS

geli2001/shopify-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

239 stars 122 forks 品質 73 トレンド 18MIT

ClaudeやCursorなどのMCPホストで使用可能なShopify API用のMCPサーバー

概要

Shopify API用のMCPサーバーで、GraphQL APIを通じてストアデータとのやり取りを可能にします。このサーバーは商品、顧客、注文などの管理ツールを提供します。 - : 製品、バリアント、オプションのフルCRUD(8ツール) - : フルCRUD、マージ、アドレス管理(8ツール) - : スマート検索、キャンセル、クローズ/オープン、支払い済みマーク、フルフィルメント、返金(10ツール) - : 任意のリソースのメタフィールドの取得、設定、削除(3ツール) - : 場所の絶対在庫数量設定(1ツール) - : タグ付け可能なリソースにタグの追加/削除(1ツール) - : すべてのリストクエリにカーソルベースのページ指定およびソートキー - : すべてのリストエンドポイントにパススルーShopifyクエリ構文 - : ShopifyのGraphQL管理APIとの直接統合(2026-01) - : APIおよび認証の問題に対する明確なエラーメッセージ 1. Node.js(バージョン18以上) 2.

概要(AI 翻訳)

(よければ星をつけてください!)

Shopify API用のMCPサーバーで、GraphQL APIを通じてストアデータとのやり取りを可能にします。このサーバーは商品、顧客、注文などの管理ツールを提供します。

** 📦 パッケージ名:shopify-mcp** ** 🚀 コマンド: [shopify-mcp] (shopify-mcp-serverではなく)**

特徴

  • プロダクトマネジメント:製品、バリエーション、オプションのフルCRUD(8ツール)
  • 顧客管理:完全なCRUD管理、マージ、アドレス管理(8つのツール)
  • 注文管理:スマート検索、キャンセル、クローズ/オープン、支払い済みのマーク、フルフィルメント、返金(10ツール)
  • メタフィールド管理:任意のリソースのメタデータ取得、設定、削除(3つのツール)
  • 在庫管理:場所ごとの絶対在庫数量を設定する(1ツール)
  • タグ管理:タグ付け可能なリソースにタグを追加/削除(1つのツール)
  • ページ割り当てとソート:すべてのリストクエリでカーソルベースのページ付けおよびソートキー
  • 高度なフィルタリング:すべてのリストエンドポイントに対するパススルーShopifyクエリ構文
  • GraphQL統合:ShopifyのGraphQL管理APIとの直接統合(2026-01)
  • 包括的なエラー処理:APIおよび認証の問題に対する明確なエラーメッセージ

前提条件

  1. ノード。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Shopify MCP Server

(please leave a star if you like!)

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

📦 Package Name: shopify-mcp 🚀 Command: shopify-mcp (NOT shopify-mcp-server)

Features

  • Product Management: Full CRUD for products, variants, and options (8 tools)
  • Customer Management: Full CRUD, merge, and address management (8 tools)
  • Order Management: Smart lookup, cancel, close/open, mark as paid, fulfillment, refunds (10 tools)
  • Metafield Management: Get, set, and delete metafields on any resource (3 tools)
  • Inventory Management: Set absolute inventory quantities at locations (1 tool)
  • Tag Management: Add/remove tags on any taggable resource (1 tool)
  • Pagination & Sorting: Cursor-based pagination and sort keys on all list queries
  • Advanced Filtering: Pass-through Shopify query syntax for all list endpoints
  • GraphQL Integration: Direct integration with Shopify’s GraphQL Admin API (2026-01)
  • Comprehensive Error Handling: Clear error messages for API and authentication issues

Prerequisites

  1. Node.js (version 18 or higher)
  2. A Shopify store with a custom app (see setup instructions below)

Setup

Authentication

This server supports two authentication methods:

Option 1: Client Credentials (Dev Dashboard apps, January 2026+)

As of January 1, 2026, new Shopify apps are created in the Dev Dashboard and use OAuth client credentials instead of static access tokens.

  1. From your Shopify admin, go to Settings > Apps and sales channels
  2. Click Develop apps > Build app in dev dashboard
  3. Create a new app and configure Admin API scopes:
    • read_products, write_products
    • read_customers, write_customers
    • read_orders, write_orders
  4. Install the app on your store
  5. Copy your Client ID and Client Secret from the app’s API credentials

The server will automatically exchange these for an access token and refresh it before it expires (tokens are valid for ~24 hours).

Option 2: Static Access Token (legacy apps)

If you have an existing custom app with a static shpat_ access token, you can still use it directly.

Usage with Claude Desktop

Client Credentials (recommended):

{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": [
        "shopify-mcp",
        "--clientId",
        "",
        "--clientSecret",
        "",
        "--domain",
        ".myshopify.com"
      ]
    }
  }
}

Static Access Token (legacy):

{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": [
GitHub で README 全文を見る

インストール

npx shopify-mcp --clientId <YOUR_CLIENT_ID> --clientSecret <YOUR_CLIENT_SECRET> --domain <YOUR_SHOP>.myshopify.com
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "shopify": { "command": "npx", "args": [ "shopify-mcp", "--clientId", "<YOUR_CLIENT_ID>", "--clientSecret", "<YOUR_CLIENT_SECRET>", "--domain", "<YOUR_SHOP>.myshopify.com" ] } } }