DS

daanjonk/shopify-mcp-v1

Developer tools

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

12 stars 744 forks 品質 49 トレンド 8

daanjonk/shopify-mcp-v1 は [https://github.com/daanjonk/shopify-mcp-v1.] からインポートされた MCP サーバーの候補です

概要

daanjonk/shopify-mcp-v1 は [https://github.com/daanjonk/shopify-mcp-v1.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

ClaudeをShopifyストアに直接接続するモデルコンテキストプロトコル(MCP)サーバー。 製品、注文、顧客、コレクション、在庫、およびフルフィルメントを管理します。

お問い合わせ

これでできること

接続したら、Shopifyストアに次のように話できます。

  • 「今日からすべての不満の注文を表示」
  • 「サマーTシャツ、価格€29.99と呼ばれる新製品を作成」
  • ※「アクティブ製品は何がありますか?」
  • 「メール[email protected]」でお客様を探す
  • ※「商品123~50単位の在庫更新」*

お問い合わせ

要件

  • Python 3.11以上
  • Shopifyストア(任意のプラン)
  • Claude.ai Pro、チーム、またはエンタープライズアカウント(リモートMCP接続用)

お問い合わせ

ステップ1 — Shopifyの資格情報を入手

2つのことが必要です。store名と管理者APIアクセストークン*。

店舗名を検索

店舗名は.myshopify.com前の部分です。 例:管理者 URL が https://acme-store.myshopify.com/admin の場合、ストア名は acme-store です。

##カスタムアプリを作成し、アクセストークンを取得

⚠️ 重要: 通常のShopify APIキーは動作しません.

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

README

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

Shopify MCP Server

A Model Context Protocol (MCP) server that connects Claude directly to your Shopify store. Manage products, orders, customers, collections, inventory, and fulfillments — all through natural language.


What you can do with this

Once connected, you can talk to your Shopify store like this:

  • “Show me all unfulfilled orders from today”
  • “Create a new product called Summer T-Shirt, price €29.99, set it to draft”
  • “How many active products do we have?”
  • “Search for customers with the email [email protected]”
  • “Update inventory for product 123 to 50 units”

Requirements

  • Python 3.11 or higher
  • A Shopify store (any plan)
  • A Claude.ai Pro, Team, or Enterprise account (for remote MCP connections)

Step 1 — Get your Shopify credentials

You need two things: your store name and an Admin API access token.

Find your store name

Your store name is the part before .myshopify.com. Example: if your admin URL is https://acme-store.myshopify.com/admin, your store name is acme-store.

Create a Custom App and get your access token

⚠️ Important: A regular Shopify API key will NOT work. You need an Admin API access token from a Custom App. Follow these steps exactly.

  1. Go to Shopify Admin → Settings → Apps and sales channels
  2. Click Develop apps in the top right corner
  3. If prompted, click Allow custom app development
  4. Click Create an app, give it a name (e.g. MCP Server), click Create app
  5. Go to the Configuration tab → click Configure Admin API scopes
  6. Enable the scopes you need. For full access, select:
    • read_products, write_products
    • read_orders, write_orders
    • read_customers, write_customers
    • read_inventory, write_inventory
    • read_fulfillments, write_fulfillments
    • read_webhooks, write_webhooks
  7. Click Save
  8. Go to the API credentials tab → click Install app → confirm
  9. Click Reveal token once and copy the token immediately — it starts with shpat_

💡 Shopify only shows this token once. If you lose it, go back to API credentials, uninstall the app, then reinstall to generate a new one.


Step 2 — Set up the server locally

Clone this repo

git clone https://github.com/daanjonk/shopify-mcp.git
cd shopify-mcp

Install dependencies

pip install -r requirements.txt

Configure your environment variables

cp .env.example .env

Open .env and fill in your values:

SHOPIFY_STORE=your-store-name
SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxx

Only these two are required. Leave everything else as-is.

Run the server

python server.py

You should see output like:

INFO  Token mode: static SHOPIFY_ACCESS_TOKEN (no auto-refresh)
INFO  Uvicorn running on http://0.0.0.0:8000

Your MCP server is running at http://localhost:8000/mcp.


GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →