MCP.so
ログイン

Shopify MCP Server

@kimcchq

Shopify MCP Server について

概要はまだありません

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

kimcchq

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": [
        "-y",
        "shopify-mcp-server"
      ],
      "env": {
        "SHOPIFY_ACCESS_TOKEN": "",
        "MYSHOPIFY_DOMAIN": ""
      }
    }
  }
}

ツール

18

`searchTitle` (optional string): Filter products by title

Formatted product details including title, description, handle, and variants

`collectionId` (string): ID of the collection to get products from

Formatted product details from the specified collection

`productIds` (array of strings): Array of product IDs to retrieve

Formatted product details for the specified products

`variantIds` (array of strings): Array of variant IDs to retrieve

Detailed variant information including product details

`limit` (optional number): Maximum number of customers to return

Customer data in JSON format

`customerId` (string): Customer ID to tag

Success or failure message

`first` (optional number): Limit of orders to return

Formatted order details

`orderId` (string): ID of the order to retrieve

Detailed order information

`title` (string): Title of the discount

Created discount details

概要

What is Shopify MCP Server?

Shopify MCP Server is a Model Context Protocol server that integrates with the Shopify GraphQL Admin API, enabling AI assistants to manage store data. It provides tools for managing products, customers, orders, discounts, draft orders, collections, webhooks, and shop details. It is intended for Shopify store owners and developers who want to interact with their store programmatically via MCP-compatible clients like Claude Desktop.

How to use Shopify MCP Server?

Clone the repository, install dependencies (npm install), create a .env file with SHOPIFY_ACCESS_TOKEN and MYSHOPIFY_DOMAIN, build the project (npm run build), and start the server (npm start). For Claude Desktop, add a configuration entry in claude_desktop_config.json using npx -y shopify-mcp-server and the required environment variables.

Key features of Shopify MCP Server

  • Product management with search and retrieval
  • Customer data loading and tag management
  • Advanced order querying and filtering
  • Discount and draft order creation
  • Webhook subscription, finding, and unsubscription

Use cases of Shopify MCP Server

  • Search for products by title and retrieve detailed variant information
  • Query orders with advanced filters, sorting, and pagination
  • Create and manage discount codes for promotional campaigns
  • Create and complete draft orders with line items and shipping addresses
  • Add or remove customer tags for segmentation and marketing

FAQ from Shopify MCP Server

What dependencies does Shopify MCP Server require?

The server depends on @modelcontextprotocol/sdk for MCP, graphql-request for Shopify GraphQL calls, and zod for runtime type validation.

How do I set up authentication for Shopify MCP Server?

Create a custom app in your Shopify admin, configure the required Admin API scopes (read_products, write_products, read_customers, write_customers, read_orders, write_orders), install the app, and copy the Admin API access token. Set SHOPIFY_ACCESS_TOKEN and MYSHOPIFY_DOMAIN in your environment.

How do I run tests for Shopify MCP Server?

Tests use Jest with mocks to avoid real API calls. Run npm test to execute all tests, or npm test -- --coverage for a coverage report.

Where does store data live?

Data is fetched directly from the Shopify API via GraphQL; no data is stored locally by the server.

What transport or authentication method does Shopify MCP Server use?

The server uses HTTP to communicate with the Shopify GraphQL Admin API and authenticates via the Admin API access token provided in the environment variables.

コメント

「その他」の他のコンテンツ