
amir-bengherbi/shopify-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Shopify APIのMCPサーバー
概要
Shopify API 用の MCP Server で、 GraphQL API でストアデータをやり取りできます。 このサーバーは、製品、顧客、注文などを管理するためのツールを提供しています。 * : 商品情報を検索・取得* : 顧客データをロードし、顧客タグを管理* : 高度な注文照会とフィルタリング * : ShopifyのGraphQL Admin APIとの直接統合 * : APIと認証の問題のエラーメッセージをクリア 1。 取得製品 * タイトルですべての製品または検索を取得します * 入力: * searchTitle(オプション文字列): タイトルによるフィルタ製品 * 限界: 返品する製品の最大数 * リターン: タイトル、説明、ハンドル、および variant を含む製品の詳細をフォーマット 2. get-products-by-collection * 特定のコレクションから製品を取得する * 入力: * collectionId(string): コレクションのIDは、* 制限(オプション番号、デフォルト:10): 返品する製品の最大数 * 返品: 指定されたコレクションから製品の詳細をフォーマット 3.
概要(AI 翻訳)
Shopify API 用の MCP Server で、 GraphQL API でストアデータをやり取りできます。 このサーバーは、製品、顧客、注文などを管理するためのツールを提供しています。
##特徴
*製品管理: 商品情報を検索・取得
- 顧客管理: 顧客データをロードし、顧客タグを管理する *注文管理: 高度の順序の照会およびろ過 *GraphQLの統合: ShopifyのGraphQL Admin APIとの直接統合
- 包括的なエラー処理: APIと認証の問題に対するエラーメッセージのクリア
ツール
- [
get-products] *すべての製品やタイトルで検索 *入力:
searchTitle(オプション文字列): タイトルによるフィルター製品 ※[limit(番号): 返品までの商品数- 返品: タイトル、説明、ハンドル、およびバリエーションを含む製品の詳細をフォーマット
- [
get-products-by-collection*特定のコレクションから製品を入手する *入力:
collectionId(文字列):コレクションのIDから製品を取得するlimit(オプション番号、デフォルト:10): 返品する製品の最大数- 返品: 指定されたコレクションから製品の詳細をフォーマット
- [
get-products-by-ids※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
-
get-products- Get all products or search by title
- Inputs:
searchTitle(optional string): Filter products by titlelimit(number): Maximum number of products to return
- Returns: Formatted product details including title, description, handle, and variants
-
get-products-by-collection- Get products from a specific collection
- Inputs:
collectionId(string): ID of the collection to get products fromlimit(optional number, default: 10): Maximum number of products to return
- Returns: Formatted product details from the specified collection
-
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
-
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
-
get-customers- Get shopify customers with pagination support
- Inputs:
limit(optional number): Maximum number of customers to returnnext(optional string): Next page cursor
- Returns: Customer data in JSON format
-
tag-customer- Add tags to a customer
- Inputs:
customerId(string): Customer ID to tagtags(array of strings): Tags to add to the customer
- Returns: Success or failure message
-
get-orders- Get orders with advanced filtering and sorting
- Inputs:
first(optional number): Limit of orders to returnafter(optional string): Next page cursorquery(optional string): Filter orders using query syntaxsortKey(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
-
get-order- Get a single order by ID
- Inputs:
orderId(string): ID of the order to retrieve
- Returns: Detailed order information
-
create-discount- Create a basic discount code
- Inputs:
インストール
npx -y shopify-mcp-server設定
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": ["-y", "shopify-mcp-server"],
"env": {
"SHOPIFY_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>",
"MYSHOPIFY_DOMAIN": "<YOUR_SHOP>.myshopify.com"
}
}
}
}