MCP.so
ログイン

Shopify Storefront MCP Server

@QuentinCody

基本情報

カテゴリ

その他

トランスポート

stdio

作者

QuentinCody

Shopify Storefront MCP Server について

概要はまだありません

Shopify Storefront MCP Server の設定

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

{
  "mcpServers": {
    "Shopify Storefront MCP Server": {
      "command": "python",
      "args": [
        "-m",
        "shopify_storefront_mcp_server"
      ],
      "env": {
        "SHOPIFY_STOREFRONT_ACCESS_TOKEN": "",
        "SHOPIFY_STORE_NAME": ""
      }
    }
  }
}

Shopify Storefront MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Shopify Storefront MCP Server?

The Shopify Storefront MCP Server provides access to the Shopify Storefront API via MCP, allowing AI assistants to query and interact with your Shopify store data.

How to use Shopify Storefront MCP Server?

Configure your Shopify store name and Storefront API token in a .env file, then run python -m shopify_storefront_mcp_server. The server exposes MCP tools: shopify_discover, shopify_storefront_graphql, and customer_data.

Key features of Shopify Storefront MCP Server

  • Access product, collection, and inventory data
  • Cart creation and management
  • Support for GraphQL queries and mutations
  • Automatic token handling and validation
  • Easy integration with MCP-compatible AI assistants
  • Customer data management with unified tool

Use cases of Shopify Storefront MCP Server

  • Query product listings, collections, and inventory levels
  • Create and manage shopping carts with GraphQL
  • Store and retrieve customer profile information
  • Personalize checkout by attaching customer data to carts
  • Execute arbitrary Storefront GraphQL mutations

よくある質問

1

How do I authenticate with the Shopify Storefront API?

Set `SHOPIFY_STOREFRONT_ACCESS_TOKEN` and `SHOPIFY_STORE_NAME` in your `.env` file. The token is generated from the Shopify Admin > Apps > Develop apps.

2

What scopes are needed for the Storefront API token?

Required scopes include `unauthenticated_read_product_listings`, `unauthenticated_read_product_inventory`, `unauthenticated_read_product_pricing`, `unauthenticated_write_checkouts`, and `unauthenticated_read_content`.

3

Where is customer data stored?

Customer data is stored locally in `user_data/customer.json`. This file persists between server restarts and should not be committed to version control.

4

What are the required environment variables?

The required variables are `SHOPIFY_STOREFRONT_ACCESS_TOKEN` and `SHOPIFY_STORE_NAME`. Optionally set `SHOPIFY_API_VERSION` (default 2025-04) and `SHOPIFY_BUYER_IP`.

5

How can I test my token directly?

Use `curl -X POST https://your-store.myshopify.com/api/2025-04/graphql.json -H "Content-Type: application/json" -H "X-Shopify-Storefront-Access-Token: your_token" -d '{"query": "query { shop { name } }"}'`

コメント

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