Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Shopify Admin MCP
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for the Shopify Admin API: products, orders, customers, inventory, discounts.
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวเปิดพร้อมระบบบัญชีในขั้นถัดไป
- ผลตรวจเบื้องต้นของเราiผ่าน 1 จาก 1 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังไม่ได้วัด★ –
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): stdio
- หมวด: ร้านค้าออนไลน์และรับเงิน
- ต้องใส่ค่าเหล่านี้: SHOPIFY_STORE_DOMAIN, SHOPIFY_ACCESS_TOKEN, SHOPIFY_CLIENT_SECRET
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ก่อนติดตั้ง
- ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
- รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
- ค่าที่คุณต้องใส่เอง:
SHOPIFY_STORE_DOMAIN,SHOPIFY_ACCESS_TOKEN,SHOPIFY_CLIENT_ID,SHOPIFY_CLIENT_SECRET,SHOPIFY_API_VERSION,SHOPIFY_API_BASE,SHOPIFY_TIMEOUT_MS,SHOPIFY_MAX_RETRIES,SHOPIFY_TOKEN_LEEWAY_SECONDS
ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
- npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"shopify-admin": {
"command": "npx",
"args": [
"-y",
"mcp-shopify-admin"
],
"env": {
"SHOPIFY_STORE_DOMAIN": "ใส่ค่าของคุณ",
"SHOPIFY_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"SHOPIFY_CLIENT_ID": "ใส่ค่าของคุณ",
"SHOPIFY_CLIENT_SECRET": "ใส่ค่าของคุณ",
"SHOPIFY_API_VERSION": "ใส่ค่าของคุณ",
"SHOPIFY_API_BASE": "ใส่ค่าของคุณ",
"SHOPIFY_TIMEOUT_MS": "ใส่ค่าของคุณ",
"SHOPIFY_MAX_RETRIES": "ใส่ค่าของคุณ",
"SHOPIFY_TOKEN_LEEWAY_SECONDS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add shopify-admin --env SHOPIFY_STORE_DOMAIN='ใส่ค่าของคุณ' --env SHOPIFY_ACCESS_TOKEN='ใส่ค่าของคุณ' --env SHOPIFY_CLIENT_ID='ใส่ค่าของคุณ' --env SHOPIFY_CLIENT_SECRET='ใส่ค่าของคุณ' --env SHOPIFY_API_VERSION='ใส่ค่าของคุณ' --env SHOPIFY_API_BASE='ใส่ค่าของคุณ' --env SHOPIFY_TIMEOUT_MS='ใส่ค่าของคุณ' --env SHOPIFY_MAX_RETRIES='ใส่ค่าของคุณ' --env SHOPIFY_TOKEN_LEEWAY_SECONDS='ใส่ค่าของคุณ' -- npx -y mcp-shopify-adminเติมค่าที่เว้นว่างไว้ก่อนรัน
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"shopify-admin": {
"command": "npx",
"args": [
"-y",
"mcp-shopify-admin"
],
"env": {
"SHOPIFY_STORE_DOMAIN": "ใส่ค่าของคุณ",
"SHOPIFY_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"SHOPIFY_CLIENT_ID": "ใส่ค่าของคุณ",
"SHOPIFY_CLIENT_SECRET": "ใส่ค่าของคุณ",
"SHOPIFY_API_VERSION": "ใส่ค่าของคุณ",
"SHOPIFY_API_BASE": "ใส่ค่าของคุณ",
"SHOPIFY_TIMEOUT_MS": "ใส่ค่าของคุณ",
"SHOPIFY_MAX_RETRIES": "ใส่ค่าของคุณ",
"SHOPIFY_TOKEN_LEEWAY_SECONDS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"shopify-admin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-shopify-admin"
],
"env": {
"SHOPIFY_STORE_DOMAIN": "ใส่ค่าของคุณ",
"SHOPIFY_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"SHOPIFY_CLIENT_ID": "ใส่ค่าของคุณ",
"SHOPIFY_CLIENT_SECRET": "ใส่ค่าของคุณ",
"SHOPIFY_API_VERSION": "ใส่ค่าของคุณ",
"SHOPIFY_API_BASE": "ใส่ค่าของคุณ",
"SHOPIFY_TIMEOUT_MS": "ใส่ค่าของคุณ",
"SHOPIFY_MAX_RETRIES": "ใส่ค่าของคุณ",
"SHOPIFY_TOKEN_LEEWAY_SECONDS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าที่ต้องใส่เอง
- Permanent store host, e.g. my-store.myshopify.com (a bare store name works too).
- Ready-made Admin API access token (legacy apps created before 2026-01-01). Alternative to the client id/secret pair.
SHOPIFY_CLIENT_IDenvClient id of a Dev Dashboard app; with the secret the server mints and refreshes its own token.- Client secret of that app. Treat it as a secret.
SHOPIFY_API_VERSIONenvAdmin API version: a quarterly YYYY-MM release or unstable.SHOPIFY_API_BASEenvFull http/https URL of the GraphQL endpoint, replacing host and version (e.g. a local mock).SHOPIFY_TIMEOUT_MSenvPer-request timeout in milliseconds.SHOPIFY_MAX_RETRIESenvRetries on THROTTLED/429 (always) and on 5xx / network errors for reads only.SHOPIFY_TOKEN_LEEWAY_SECONDSenvRe-mint the token this many seconds before it expires.
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub A1-x-Tech ซึ่งเป็นเจ้าของ repo
- … ยังไม่ตรวจ
ยังมีคนดูแล
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับตัวอื่นในหมวด ร้านค้าออนไลน์และรับเงินi
- ดาวมากกว่า 0% ของอีก 1749 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 81% ของอีก 1749 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1749 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Shopify Admin MCP ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: SHOPIFY_STORE_DOMAIN, SHOPIFY_ACCESS_TOKEN, SHOPIFY_CLIENT_SECRET
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.2) เข้า registry 5 วันที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Stripe MCP
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Shopify Admin MCP
English | Русский
A1 Shopify Admin MCP connects AI applications to one Shopify store through the Admin GraphQL API. Ask in plain language about products, orders, customers, inventory, discounts, and shop data; the assistant uses the server's ready-made tools and shows the result.
- One store per server. The store domain and credentials come from configuration; tools cannot switch to another store.
- Tokens stay fresh. Give the server the client ID and secret of a Shopify Dev Dashboard app and it mints the Admin API token itself, keeps it in memory only, and re-mints it before the 24-hour expiry. A ready-made token from an older custom app still works too.
- 16 focused tools. Read shop data, products, orders, customers, locations, inventory, and discounts, plus create or update the supported records.
- GraphQL failures are surfaced. Shopify can return HTTP 200 for a failed mutation, so the server checks
userErrorsand rejects empty or malformed GraphQL responses. - Cost-aware responses. Every result includes the GraphQL cost bucket: the cost of the request and the points currently available for the next calls.
- Risk is visible. Reads are read-only; product, price, inventory, and discount writes are explicit; order cancellation and arbitrary GraphQL are marked destructive.
Start with a read-only request:
Show the latest orders and the products that currently have inventory.
Connect the server · Explore use cases · Open technical documentation
See it work in a minute
You: Show the latest orders and the products that currently have inventory.
Assistant: Shows recent orders with their statuses and totals, then products with prices and inventory. Nothing changes.
You: Prepare a 20% discount code called
SUMMERfor two weeks.
Assistant: Shows the proposed code, percentage, dates, and limits, then asks for confirmation before creating it.
You: Confirm.
Contents
- Quick start
- What you can ask it to do
- What can change in Shopify
- Getting access
- Configuration
- Data, limits, and background work
- Technical documentation
- Support
Quick start
You need Node.js 20+, a store domain such as my-store.myshopify.com, and Admin API credentials. The recommended set is the client ID and secret of a Shopify Dev Dashboard app: the server exchanges them for an access token itself and keeps that token fresh, which matters because the token Shopify issues for this grant expires after 24 hours. The app and the store must belong to the same Shopify organization.
- Get access and prepare the app's client ID and client secret.
- Add the MCP server to your AI application.
- Send the safe request from the opening section.
The server runs locally over stdio through npx. Browser-only ChatGPT and Claude web sessions cannot start a local stdio process directly.
Every snippet below uses that pair. If your store still holds a ready-made token from an admin-created custom app, replace SHOPIFY_CLIENT_ID and SHOPIFY_CLIENT_SECRET with a single SHOPIFY_ACCESS_TOKEN — see Getting access.
Codex
Through the app:
- Open Settings → MCP servers.
- Select Add server.
- Choose STDIO, then enter
npx -y mcp-shopify-admin@latestand setSHOPIFY_STORE_DOMAIN,SHOPIFY_CLIENT_ID, andSHOPIFY_CLIENT_SECRET.
- Select Save, then Restart.
Through the CLI:
codex mcp add shopify-admin \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \ --env SHOPIFY_CLIENT_ID=your_client_id \ --env SHOPIFY_CLIENT_SECRET=your_client_secret \ -- npx -y mcp-shopify-admin@latest
codex mcp list
Claude Code
claude mcp add \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \ --env SHOPIFY_CLIENT_ID=your_client_id \ --env SHOPIFY_CLIENT_SECRET=your_client_secret \ --transport stdio --scope user shopify-admin \ -- npx -y mcp-shopify-admin@latest
claude mcp list
Claude Desktop
The current official path is Settings → Extensions. For a custom desktop extension, open Advanced settings → Extension Developer → Install Extension…, select a .mcpb file and follow the prompts.
This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:
{
"mcpServers": { "shopify-admin": { "command": "npx", "args": ["-y", "mcp-shopify-admin@latest"], "env": { "SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com", "SHOPIFY_CLIENT_ID": "your_client_id", "SHOPIFY_CLIENT_SECRET": "your_client_secret" } } } }
In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.
Claude Desktop MCP documentation
Cursor
Add this server to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows:
{
"mcpServers": { "shopify-admin": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-shopify-admin@latest"], "env": { "SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com", "SHOPIFY_CLIENT_ID": "your_client_id", "SHOPIFY_CLIENT_SECRET": "your_client_secret" } } } }
VS Code
Run MCP: Open User Configuration and add:
{
"inputs": [ { "type": "promptString", "id": "shopify_store_domain", "description": "Shopify store domain, for example my-store.myshopify.com" }, { "type": "promptString", "id": "shopify_client_id", "description": "Client ID of the Shopify Dev Dashboard app" }, { "type": "promptString", "id": "shopify_client_secret", "description": "Client secret of that app", "password": true } ], "servers": { "shopify-admin": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-shopify-admin@latest"], "env": { "SHOPIFY_STORE_DOMAIN": "${input:shopify_store_domain}", "SHOPIFY_CLIENT_ID": "${input:shopify_client_id}", "SHOPIFY_CLIENT_SECRET": "${input:shopify_client_secret}" } } } }
Check the server with MCP: List Servers.
What you can ask it to do
- Inspect the store. Show shop details, locations, products, orders, customers, or discounts.
- Work with products. Create a product draft, update product fields, or change variant prices.
- Track inventory. Find locations and set the absolute available quantity for inventory items.
- Review orders. Search orders, inspect a complete order, or cancel an eligible order with explicit refund and restock choices.
- Manage discounts. List existing discounts or create a basic code discount.
- Use the escape hatch. Run an arbitrary Admin GraphQL document for capabilities that do not have a dedicated tool.
What can change in Shopify
| Operation | What happens | Data boundary |
|---|---|---|
| Shop, products, orders, customers, locations, discounts | Reads store data | Read-only |
| Product fields or variant prices | Replaces the fields supplied in the request | Changes the storefront data |
| Inventory quantities | Sets the absolute available quantity | Changes product availability |
| Product or discount creation | Creates a new Shopify object | Creates data and cannot be undone automatically |
| Order cancellation | Cancels an order and can refund and/or restock | Destructive and irreversible |
graphql_request | Can run any Admin API query or mutation | Potentially destructive |
This server does not provide dedicated tools for creating orders, fulfillment, customer writes, variant creation, media, targeted discounts, or publishing products to sales channels. Use graphql_request only when you understand the document and its userErrors response.
The AI client may ask for confirmation before a write, but confirmation behavior belongs to that client. A clear request to create, update, set, or cancel authorizes the corresponding server operation.
Getting access
The server authenticates in one of two ways: with the client ID and secret of a Dev Dashboard app, which it exchanges for an access token itself, or with a ready-to-use Admin API access token that it sends as-is. If both are configured, the ready-made token wins.
Dev Dashboard app (recommended)
Shopify stopped allowing new admin-created custom apps on 2026-01-01, so this is the path for any store being set up today.
- Create an app in the Shopify Dev Dashboard or with the Shopify CLI, in the same Shopify organization the store belongs to.
- Give it the Admin API access scopes you need, such as
read_products,write_products,read_orders,read_customers,read_locations,write_inventory,read_discounts, andwrite_discounts. - Install the app on the store.
- Use the app's client ID and client secret as
SHOPIFY_CLIENT_IDandSHOPIFY_CLIENT_SECRET.
From there the server runs the client credentials grant against https://{store}.myshopify.com/admin/oauth/access_token on its own. The token Shopify returns lives 24 hours; the server keeps it in memory only — never on disk — re-mints it shortly before it expires, lets parallel tool calls share one exchange, and mints a fresh one if the API answers 401. Nothing to renew by hand.
The grant works only when the app and the store belong to the same Shopify organization. Otherwise Shopify refuses with shop_not_permitted, and the server relays that as a hint naming the organization mismatch. Re-issuing the credentials does not help: move the app into the store's organization, or use a store from it.
Existing admin-created custom apps (legacy)
Apps created in the Shopify admin before 2026-01-01 keep working, and their token is still accepted. If you already maintain one:
- Open the app in the Shopify admin.
- Confirm the required Admin API access scopes, such as
read_products,write_products, `rea
ตัดมาแค่ช่วงต้น อ่านต่อใน repo