Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP Shopify
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Shopify — Admin REST API (orders, products, customers, inventory, fulfillments)
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวเปิดพร้อมระบบบัญชีในขั้นถัดไป
- ผลตรวจเบื้องต้นของเราiผ่าน 1 จาก 1 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังไม่ได้วัด★ –
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): stdio
- หมวด: ร้านค้าออนไลน์และรับเงิน
- ต้องใส่ค่าเหล่านี้: SHOPIFY_SHOP, SHOPIFY_ACCESS_TOKEN
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ก่อนติดตั้ง
- ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
- รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
- ค่าที่คุณต้องใส่เอง:
SHOPIFY_SHOP,SHOPIFY_ACCESS_TOKEN,SHOPIFY_API_VERSION
ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
- npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-shopify"
],
"env": {
"SHOPIFY_SHOP": "ใส่ค่าของคุณ",
"SHOPIFY_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"SHOPIFY_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add shopify --env SHOPIFY_SHOP='ใส่ค่าของคุณ' --env SHOPIFY_ACCESS_TOKEN='ใส่ค่าของคุณ' --env SHOPIFY_API_VERSION='ใส่ค่าของคุณ' -- npx -y @codespar/mcp-shopifyเติมค่าที่เว้นว่างไว้ก่อนรัน
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-shopify"
],
"env": {
"SHOPIFY_SHOP": "ใส่ค่าของคุณ",
"SHOPIFY_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"SHOPIFY_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"shopify": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-shopify"
],
"env": {
"SHOPIFY_SHOP": "ใส่ค่าของคุณ",
"SHOPIFY_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"SHOPIFY_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าที่ต้องใส่เอง
- Shopify shop subdomain (e.g. 'acme' for acme.myshopify.com)
- Shopify Admin API access token (private/custom app) sent as X-Shopify-Access-Token header
SHOPIFY_API_VERSIONenvShopify Admin API version. Defaults to 2024-01.
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub codespar ซึ่งเป็นเจ้าของ repo
- … ยังไม่ตรวจ
ยังมีคนดูแล
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับตัวอื่นในหมวด ร้านค้าออนไลน์และรับเงินi
- ดาวมากกว่า 0% ของอีก 1743 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 14% ของอีก 1743 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1743 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
MCP Shopify ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: SHOPIFY_SHOP, SHOPIFY_ACCESS_TOKEN
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
@codespar/mcp-shopify
MCP server for Shopify — global ecommerce platform Admin REST API.
Shopify is the global DTC standard and dominant across LatAm for brands operating internationally (complementary to Nuvemshop/Tiendanube for regional-only merchants, also in this catalog). Agents building merchant tools — restocking, refund automation, marketing campaigns, fulfillment orchestration — integrate directly with the Admin API rather than through a reseller.
Tools (28)
| Tool | Purpose |
|---|---|
list_orders | List orders with optional filters. |
get_order | Get a single order by ID with full detail. |
create_order | Create a new order. |
update_order | Update an existing order (tags, note, email, shipping_address, metafields, etc). |
cancel_order | Cancel an order. |
list_products | List products with optional filters. |
get_product | Get a single product by ID including all variants and images. |
create_product | Create a new product with variants, options, and images. |
update_product | Update an existing product's fields, variants, or images. |
list_customers | List customers with optional query filter. |
create_customer | Create a new customer record. |
adjust_inventory | Adjust the available inventory for a specific inventory_item at a specific location by a delta (positive to... |
create_fulfillment | Create a fulfillment for an order (mark line items as shipped, attach tracking number and carrier). |
update_fulfillment_tracking | Update the tracking number, tracking company, or tracking URL on an existing fulfillment (post-ship trackin... |
create_draft_order | Create a draft order (invoice-style quote). |
complete_draft_order | Convert a draft order into a real order. |
create_price_rule | Create a price rule (the policy that governs discounts — percentage/fixed amount, prerequisites, entitlemen... |
create_discount_code | Create a discount code tied to an existing price rule (the customer-facing string like 'SUMMER20'). |
create_smart_collection | Create a smart collection — an automated collection populated by rules (e.g. |
create_custom_collection | Create a custom collection — a manually curated collection. |
create_metafield | Attach a metafield (custom typed field) to a resource (shop, product, variant, customer, order, collection,... |
create_variant | Add a new variant to an existing product (size/color/SKU permutation with its own price and inventory). |
update_variant | Update an existing product variant's price, SKU, barcode, options, weight, or inventory policy. |
list_transactions | List all payment transactions for an order (authorizations, captures, sales, refunds, voids) including gate... |
list_abandoned_checkouts | List abandoned checkouts (carts where the customer entered contact info but did not complete checkout). |
list_locations | List all fulfillment locations (physical stores, warehouses, 3PLs). |
create_refund | Refund one or more line items on an order. |
register_webhook | Register a webhook subscription for a Shopify event topic (orders/create, orders/paid, products/update, app... |
Install
npm install @codespar/mcp-shopify
Environment
SHOPIFY_SHOP="acme" # subdomain (acme.myshopify.com)
SHOPIFY_ACCESS_TOKEN="shpat_..." # Admin API access token (secret) SHOPIFY_API_VERSION="2024-01" # Optional. Defaults to 2024-01.
Authentication
Private/custom app access token sent as header on every request:
X-Shopify-Access-Token: <SHOPIFY_ACCESS_TOKEN>
Create a custom app in Shopify admin → Settings → Apps and sales channels → Develop apps, grant the Admin API scopes you need (read/write orders, products, customers, inventory, fulfillments), and install to generate the token.
Run
# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-shopify
HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-shopify
API surface
Uses the Shopify Admin REST API at https://{shop}.myshopify.com/admin/api/{version}. Default version is 2024-01 (stable). Override with SHOPIFY_API_VERSION when newer stable versions ship.
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT