Skip to main content

MCPツールリファレンス

公式およびコミュニティサーバーのShopify MCPツールの完全リファレンスです。必要な操作をすぐに見つけられるよう、ドメイン別に整理しています。

ツールの利用可否

すべてのMCPサーバーですべてのツールが利用できるわけではありません。サーバー列は各ツールを提供するサーバーを示しています。サーバー固有の詳細についてはコミュニティMCPサーバーをご覧ください。

  • Dev = 公式Shopify Dev MCP
  • GeLi = shopify-mcp (GeLi2001)
  • Ajackus = @ajackus/shopify-mcp-server
  • Composio = Composio Shopify MCP

商品

get_products

オプションのフィルターを使用して商品一覧を取得します。

パラメータ必須説明
limitnumberいいえ返す商品数(デフォルト:50、最大:250)
titlestringいいえ商品タイトルでフィルター(部分一致)
product_typestringいいえ商品タイプでフィルター
vendorstringいいえベンダー名でフィルター
statusstringいいえステータスでフィルター:activedraftarchived
collection_idstringいいえコレクション所属でフィルター
created_at_minstringいいえISO 8601日付 -- この日付以降に作成された商品
updated_at_minstringいいえISO 8601日付 -- この日付以降に更新された商品
cursorstringいいえ次のページのページネーションカーソル

サーバー: GeLi、Ajackus、Composio

例:

ベンダー"Nike"の、過去7日間に更新されたすべてのアクティブな商品を取得

get_product

IDで単一の商品の詳細情報を取得します。

パラメータ必須説明
product_idstringはいShopify商品GID(例:gid://shopify/Product/123456
fieldsstring[]いいえ返す特定のフィールド

サーバー: GeLi、Ajackus、Composio

例:

商品 gid://shopify/Product/8234567890 の詳細情報を取得

create_product

オプションのバリアントとメディア付きで新しい商品を作成します。

パラメータ必須説明
titlestringはい商品タイトル
descriptionstringいいえ商品説明(HTMLサポート)
product_typestringいいえカテゴリ分けのための商品タイプ
vendorstringいいえベンダー名
tagsstring[]いいえタグの配列
statusstringいいえactivedraft、またはarchived(デフォルト:draft
variantsobject[]いいえバリアントオブジェクトの配列
variants[].titlestringいいえバリアントタイトル
variants[].pricestringいいえバリアント価格
variants[].skustringいいえSKUコード
variants[].inventory_quantitynumberいいえ初期在庫数
variants[].option1stringいいえ最初のオプション値(例:"Small")
variants[].option2stringいいえ2番目のオプション値(例:"Red")
variants[].option3stringいいえ3番目のオプション値
optionsobject[]いいえ商品オプション(例:Size、Color)
metafieldsobject[]いいえ商品メタフィールド
imagesobject[]いいえ添付する画像URL

サーバー: GeLi、Ajackus、Composio

例:

新しい下書き商品を作成:
- タイトル: "Organic Cotton T-Shirt"
- タイプ: "Apparel"
- ベンダー: "EcoWear"
- タグ: ["organic", "cotton", "sustainable"]
- オプション: Size (S, M, L, XL)、Color (White, Black, Navy)
- 基本価格: $29.99

update_product

既存の商品のフィールドを更新します。

パラメータ必須説明
product_idstringはいShopify商品GID
titlestringいいえ更新後のタイトル
descriptionstringいいえ更新後の説明
product_typestringいいえ更新後の商品タイプ
vendorstringいいえ更新後のベンダー
tagsstring[]いいえ更新後のタグ(既存のものを置換)
statusstringいいえ更新後のステータス
metafieldsobject[]いいえ設定または更新するメタフィールド

サーバー: GeLi、Ajackus、Composio


delete_product

商品を完全に削除します。

パラメータ必須説明
product_idstringはいShopify商品GID

サーバー: GeLi、Composio

破壊的操作

商品の削除は永久的で元に戻せません。AIアシスタントは実行前に必ず確認する必要があります。


search_products

商品カタログ全体をフルテキスト検索します。

パラメータ必須説明
querystringはい検索クエリ(タイトル、説明、SKU、タグを検索)
limitnumberいいえ最大結果数(デフォルト:25)

サーバー: GeLi、Composio


manage_product_media

商品の画像や動画を追加、削除、並び替えします。

パラメータ必須説明
product_idstringはいShopify商品GID
actionstringはいaddremovereorder
media_urlsstring[]いいえ追加するメディアのURL
media_idsstring[]いいえ削除または並び替えるメディアGID

サーバー: GeLi


manage_product_metafields

商品メタフィールドを作成、更新、または削除します。

パラメータ必須説明
product_idstringはいShopify商品GID
metafieldsobject[]はいメタフィールド操作の配列
metafields[].namespacestringはいメタフィールドの名前空間
metafields[].keystringはいメタフィールドのキー
metafields[].valuestringはいメタフィールドの値
metafields[].typestringはいメタフィールドの型(single_line_text_fieldnumber_integerjsonなど)

サーバー: GeLi、Composio


バリアント

get_variants

商品のバリアント一覧を取得します。

パラメータ必須説明
product_idstringはいShopify商品GID

サーバー: GeLi、Ajackus、Composio


update_variant

バリアントの詳細(価格、SKU、重量など)を更新します。

パラメータ必須説明
variant_idstringはいShopifyバリアントGID
pricestringいいえ新しい価格
compare_at_pricestringいいえ比較価格
skustringいいえSKUコード
barcodestringいいえバーコード
weightnumberいいえ重量値
weight_unitstringいいえkgglboz
requires_shippingbooleanいいえバリアントが配送を必要とするかどうか
taxablebooleanいいえバリアントが課税対象かどうか

サーバー: GeLi、Ajackus、Composio


注文

get_orders

フィルターオプション付きで注文を取得します。

パラメータ必須説明
limitnumberいいえ注文数(デフォルト:50)
statusstringいいえopenclosedcancelledany
financial_statusstringいいえauthorizedpendingpaidpartially_paidrefundedvoided
fulfillment_statusstringいいえshippedpartialunshippedunfulfilled
created_at_minstringいいえISO 8601日付
created_at_maxstringいいえISO 8601日付
customer_idstringいいえ顧客でフィルター
cursorstringいいえページネーションカーソル

サーバー: GeLi、Ajackus、Composio

例:

過去24時間の未フルフィルメント・支払い済み注文をすべて取得

get_order

ラインアイテム、配送、決済を含む単一注文の詳細を取得します。

パラメータ必須説明
order_idstringはいShopify注文GID

サーバー: GeLi、Ajackus、Composio


create_draft_order

手動処理用のドラフト注文を作成します。

パラメータ必須説明
line_itemsobject[]はいラインアイテムの配列
line_items[].variant_idstringはいバリアントGID
line_items[].quantitynumberはい数量
customerobjectいいえ顧客情報
shipping_addressobjectいいえ配送先住所
billing_addressobjectいいえ請求先住所
notestringいいえ注文メモ
tagsstring[]いいえ注文タグ
discountobjectいいえ注文レベルのディスカウント

サーバー: GeLi、Composio


fulfill_order

注文のフルフィルメントを作成します。

パラメータ必須説明
order_idstringはいShopify注文GID
tracking_numberstringいいえ配送業者の追跡番号
tracking_companystringいいえ配送業者名
tracking_urlstringいいえ追跡URL
notify_customerbooleanいいえ通知メールを送信(デフォルト:true)
line_itemsobject[]いいえフルフィルメントする特定のラインアイテム(部分フルフィルメント)

サーバー: GeLi、Ajackus、Composio


cancel_order

未処理の注文をキャンセルします。

パラメータ必須説明
order_idstringはいShopify注文GID
reasonstringいいえcustomerfraudinventorydeclinedother
refundbooleanいいえ返金を行うかどうか
restockbooleanいいえ商品を在庫に戻すかどうか
notify_customerbooleanいいえキャンセルメールを送信

サーバー: GeLi、Composio


refund_order

注文の返金を作成します。

パラメータ必須説明
order_idstringはいShopify注文GID
refund_line_itemsobject[]いいえ返金する特定の商品
shipping_refundobjectいいえ返金する配送金額
notestringいいえ返金理由
notify_customerbooleanいいえ返金通知を送信

サーバー: GeLi、Composio


顧客

get_customers

フィルター付きで顧客を取得します。

パラメータ必須説明
limitnumberいいえ顧客数(デフォルト:50)
querystringいいえ検索クエリ(名前、メール、電話)
created_at_minstringいいえISO 8601日付
tagsstringいいえタグでフィルター
cursorstringいいえページネーションカーソル

サーバー: GeLi、Ajackus、Composio


get_customer

注文履歴付きで単一の顧客を取得します。

パラメータ必須説明
customer_idstringはいShopify顧客GID

サーバー: GeLi、Ajackus、Composio


create_customer

新しい顧客レコードを作成します。

パラメータ必須説明
first_namestringいいえ
last_namestringいいえ
emailstringいいえメールアドレス
phonestringいいえ電話番号
tagsstring[]いいえ顧客タグ
notestringいいえ内部メモ
addressesobject[]いいえ顧客の住所
metafieldsobject[]いいえ顧客メタフィールド
email_marketing_consentbooleanいいえメールマーケティングのオプトイン
sms_marketing_consentbooleanいいえSMSマーケティングのオプトイン

サーバー: GeLi、Ajackus、Composio


update_customer

顧客情報を更新します。

パラメータ必須説明
customer_idstringはいShopify顧客GID
first_namestringいいえ更新後の名
last_namestringいいえ更新後の姓
emailstringいいえ更新後のメール
phonestringいいえ更新後の電話番号
tagsstring[]いいえ更新後のタグ
notestringいいえ更新後のメモ

サーバー: GeLi、Ajackus、Composio


search_customers

さまざまな条件で顧客を検索します。

パラメータ必須説明
querystringはい検索語句
limitnumberいいえ最大結果数

サーバー: GeLi、Composio


在庫

get_inventory_levels

ロケーション全体の在庫レベルを取得します。

パラメータ必須説明
inventory_item_idstringいいえ特定の在庫アイテムGID
location_idstringいいえ特定のロケーションGID
product_idstringいいえ商品のすべての在庫を取得

サーバー: GeLi、Ajackus、Composio

例:

商品 gid://shopify/Product/123 のすべてのバリアントの在庫レベルを
すべての倉庫ロケーションで表示

adjust_inventory

ロケーションでの在庫数量を調整します。

パラメータ必須説明
inventory_item_idstringはい在庫アイテムGID
location_idstringはいロケーションGID
adjustmentnumberはい数量変更(正または負の値)
reasonstringいいえ理由:correctionreceiveddamagedshrinkagepromotion

サーバー: GeLi、Ajackus、Composio

在庫調整

在庫調整は絶対値ではなく相対値です。-5の調整は現在の数量から5単位を削除します。大きな調整を行う前に現在のレベルを確認してください。


set_inventory

在庫を特定の数量に設定します(絶対値)。

パラメータ必須説明
inventory_item_idstringはい在庫アイテムGID
location_idstringはいロケーションGID
quantitynumberはい新しい数量
reasonstringいいえ変更理由

サーバー: GeLi、Composio


get_locations

すべての在庫ロケーションを一覧表示します。

パラメータ必須説明
activebooleanいいえアクティブ/非アクティブなロケーションをフィルター

サーバー: GeLi、Ajackus、Composio


transfer_inventory

ロケーション間で在庫を移動します。

パラメータ必須説明
inventory_item_idstringはい在庫アイテムGID
from_location_idstringはい移動元ロケーションGID
to_location_idstringはい移動先ロケーションGID
quantitynumberはい移動する数量

サーバー: GeLi


コレクション

get_collections

コレクション(スマートおよびカスタム)を取得します。

パラメータ必須説明
limitnumberいいえコレクション数
typestringいいえsmartcustom、またはall
titlestringいいえタイトルでフィルター

サーバー: GeLi、Composio


create_collection

新しいコレクションを作成します。

パラメータ必須説明
titlestringはいコレクションタイトル
descriptionstringいいえコレクション説明(HTML)
typestringはいsmartまたはcustom
rulesobject[]いいえスマートコレクションルール(smartタイプの場合必須)
rules[].columnstringはいルール列:titletypevendortagpriceweightvariant_title
rules[].relationstringはいequalsnot_equalsgreater_thanless_thanstarts_withends_withcontains
rules[].conditionstringはいルール値
disjunctivebooleanいいえtrue = いずれかのルールに一致、false = すべてのルールに一致
sort_orderstringいいえalpha-ascalpha-descbest-sellingcreatedcreated-descmanualprice-ascprice-desc
imagestringいいえコレクション画像URL

サーバー: GeLi、Composio

例:

"Summer Sale"というスマートコレクションを作成。"summer"タグが付いた
価格$50未満のすべての商品を含み、ベストセラー順にソート

add_products_to_collection

カスタムコレクションに商品を追加します。

パラメータ必須説明
collection_idstringはいコレクションGID
product_idsstring[]はい追加する商品GIDの配列

サーバー: GeLi、Composio


remove_products_from_collection

カスタムコレクションから商品を削除します。

パラメータ必須説明
collection_idstringはいコレクションGID
product_idsstring[]はい削除する商品GIDの配列

サーバー: GeLi、Composio


ディスカウント

get_discounts

アクティブおよびスケジュール済みのディスカウントを一覧表示します。

パラメータ必須説明
limitnumberいいえディスカウント数
typestringいいえcodeautomatic、またはall
statusstringいいえactiveexpiredscheduled

サーバー: GeLi、Composio


create_discount_code

コードベースのディスカウントを作成します。

パラメータ必須説明
titlestringはい内部ディスカウントタイトル
codestringはい顧客が入力するディスカウントコード
typestringはいpercentagefixed_amountfree_shipping
valuenumberはいディスカウント値(パーセンテージまたは金額)
applies_tostringいいえall_productsspecific_collectionsspecific_products
collection_idsstring[]いいえコレクションGID(applies_toがspecific_collectionsの場合)
product_idsstring[]いいえ商品GID(applies_toがspecific_productsの場合)
minimum_requirementobjectいいえ最低購入金額または数量
usage_limitnumberいいえこのディスカウントが使用できる合計回数
once_per_customerbooleanいいえ顧客あたり1回に制限
starts_atstringいいえISO 8601開始日
ends_atstringいいえISO 8601終了日

サーバー: GeLi、Composio

例:

ディスカウントコード"SPRING25"を作成。"Spring Collection"の全商品25%オフ、
最低購入額$50、500回使用に制限、2026年3月1日〜31日有効

create_automatic_discount

チェックアウト時に自動適用されるディスカウントを作成します。

パラメータ必須説明
titlestringはいディスカウントタイトル(顧客に表示)
typestringはいpercentagefixed_amountbuy_x_get_yfree_shipping
valuenumberはいディスカウント値
minimum_requirementobjectいいえ最低購入要件
starts_atstringはいISO 8601開始日
ends_atstringいいえISO 8601終了日

サーバー: GeLi、Composio


delete_discount

ディスカウントを削除します。

パラメータ必須説明
discount_idstringはいディスカウントGID

サーバー: GeLi、Composio


アナリティクス

get_shop_info

ストア情報と設定を取得します。

パラメータ必須説明
(なし)完全なショップ詳細を返します

サーバー: GeLi、Ajackus、Composio

返される情報:ストア名、ドメイン、メール、通貨、タイムゾーン、プラン、機能など。


get_order_count

オプションの日付フィルター付きで注文数を取得します。

パラメータ必須説明
statusstringいいえopenclosedcancelledany
financial_statusstringいいえ支払いステータスフィルター
fulfillment_statusstringいいえフルフィルメントステータスフィルター
created_at_minstringいいえISO 8601日付
created_at_maxstringいいえISO 8601日付

サーバー: GeLi、Composio


get_sales_report

日付範囲の売上アナリティクスを生成します。

パラメータ必須説明
start_datestringはいISO 8601開始日
end_datestringはいISO 8601終了日
group_bystringいいえdayweekmonth

サーバー: Adzviser、ShopifyPy


get_top_products

収益または数量でベストセラー商品を取得します。

パラメータ必須説明
start_datestringはいISO 8601開始日
end_datestringはいISO 8601終了日
limitnumberいいえ商品数(デフォルト:10)
sort_bystringいいえrevenueまたはquantity

サーバー: Adzviser、ShopifyPy


ドキュメントツール(公式Dev MCP)

以下のツールは公式Shopify Dev MCPサーバーでのみ利用可能です:

ツール説明
search_docsShopify開発者ドキュメント全体のフルテキスト検索
explore_api_schemaShopify GraphQL APIスキーマの閲覧と探索
get_liquid_referenceLiquidテンプレート言語リファレンスへのアクセス
get_function_referenceShopify Functions APIリファレンスとスキャフォールディング
validate_graphqlShopifyスキーマに対するGraphQLクエリのバリデーション

詳細なパラメータドキュメントは公式MCPサーバーページをご覧ください。


よくあるツールパターン

バルク操作

多くの操作をバルクワークフローに組み合わせることができます:

1. "clearance"タグのすべての商品を取得 → タグフィルター付きget_products
2. 各商品の価格を50%削減 → update_variant(ループ)
3. 商品を"Sale"コレクションに移動 → add_products_to_collection
4. "CLEARANCE50"ディスカウントコードを作成 → create_discount_code

監査ワークフロー

1. すべての商品を取得 → get_products(ページネーション付き)
2. 説明が欠けているものをチェック → AIでフィルター
3. 在庫レベルを確認 → get_inventory_levels
4. 在庫ゼロの商品にフラグを立てる → adjust_inventoryまたはアーカイブ

カスタマーサービス

1. メールで顧客を検索 → search_customers
2. 最近の注文を取得 → customer_id付きget_orders
3. 注文のフルフィルメントステータスを確認 → get_order
4. 必要に応じて返金処理 → refund_order
Dev MCP + Store MCPの組み合わせ

最も強力なパターンは、Dev MCP(ドキュメント用)とStore MCP(ライブデータ用)を組み合わせることです。Claudeにドキュメントで正しいAPIアプローチを調べさせ、それをストアに対して実行させることが、1つの会話内ですべて可能です。