
Shopify Mcp Pro
io.github.den-indance由 GitHub 账号 den-indance 发布v2.0.5更新于 Oct 24, 2026
Shopify MCP server with real analytics (ShopifyQL), auto-refresh auth, and Shopify API 2026-04.
概览
本地运行的 Shopify Admin API 服务器,让助手读取和管理单个店铺的商品、订单、客户、库存、营销与分析数据。
- 可以做什么
- 列出、创建和更新商品、系列、元字段与元对象,并读取或调整各地点库存。浏览订单、草稿订单、履约、配送区域、退款与交易。查询客户与公司,读取财务汇总和礼品卡。创建和列出折扣、价格规则、页面、文章、重定向与 Webhook。运行销售、商品、转化、流量、弃购和营销报表,或直接执行 ShopifyQL 查询。
- 适用场景
- 适合让助手回答店铺销售、库存和客户方面的问题,或在对话中完成常规的商品、订单和营销操作,而不必打开后台管理界面。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js。需要一个已授予 Admin API 权限范围的 Shopify 自定义应用,并设置环境变量 SHOPIFY_STORE_DOMAIN、SHOPIFY_CLIENT_ID 和 SHOPIFY_CLIENT_SECRET;SHOPIFY_API_VERSION 可选。分析功能需要 read_analytics 和 read_reports,原始 ShopifyQL 还需要 Level 2 客户数据访问权限。需要能访问 Shopify 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Shopify Mcp Pro,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Shopify MCP Pro
The working Shopify MCP server. Connect Claude to your Shopify store — products, orders, customers, inventory, analytics and more.
Most Shopify MCP packages have broken analytics (stubs that return wrong data), use deprecated API fields that crash at runtime, and require a static token that expires silently. This one doesn't.
Built by Denis Maleev.
Why this one
Quick Start
Setup
1. Create a Custom App in Shopify
- Go to your Shopify Admin → Settings → Apps and sales channels
- Click Develop apps (enable custom app development if prompted)
- Click Create an app, give it a name (e.g. "Claude MCP")
- Go to Configure Admin API scopes and select scopes you need (see list below)
- Click Install app
- Go to API credentials tab — you'll see Client ID and Client secret
Note: Shopify no longer shows a static access token by default. This server uses OAuth with Client ID + Secret.
2. Configure Claude Desktop
Edit your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Restart Claude Desktop after saving.
Configure Claude Code
Environment Variables
API Scopes
Minimum recommended
read_products,write_productsread_ordersread_customersread_inventory,write_inventory
For analytics
read_analyticsread_reports
Full feature set
read_draft_orders,write_draft_ordersread_fulfillments,write_fulfillmentsread_shippingread_marketing_events,write_marketing_eventsread_discounts,write_discountsread_price_rules,write_price_rulesread_themesread_content,write_contentread_metaobjects,write_metaobjectsread_gift_cards,write_gift_cards
You don't need all scopes — the server works with whatever you grant. Tools requiring missing scopes return auth errors without affecting others.
Tools
Products & Inventory
listProducts— list with filters, pagination, sortgetProduct— get by ID (includes inventory item IDs)createProduct,updateProductgetInventoryLevels— current stock across locationsadjustInventory— adjust quantitieslistCollectionssetMetafieldlistMetaobjectDefinitions,createMetaobject,listMetaobjects
Orders & Fulfillment
listOrders,getOrdercreateDraftOrder,listDraftOrderscreateFulfillment,listFulfillmentOrdersgetShippingZonescreateRefundlistTransactions
Customers & B2B
listCustomers,getCustomergetCustomerAnalyticscreateCompany,listCompanies
Financial
getFinancialSummarycreateGiftCard,listGiftCards
Marketing & Content
createDiscountCode,listDiscountslistPriceRulescreatePage,listPagescreateArticle,listBlogscreateRedirectcreateWebhook,listWebhooks
Analytics & Reporting
getSalesReport— revenue, orders, AOV (ShopifyQL)getProductAnalytics— top products by sales (ShopifyQL)getConversionReport— product conversion funnel (ShopifyQL)getTrafficReport— sales by referrer source (ShopifyQL)getAbandonmentReport— cart abandonment by date rangelistAbandonedCheckoutsgetMarketingReportgetCustomerAnalyticsrunShopifyQL— run any ShopifyQL query directly
Store Config
getShopInfolistThemeslistLocationslistMarketsgetInventoryReportgetCustomReport
ShopifyQL
runShopifyQL lets you run raw ShopifyQL queries — Shopify's native SQL-like analytics language:
Requires read_reports scope + Level 2 customer data access in your Shopify app settings.
Example prompts for Claude
- "Show sales for last month broken down by product"
- "Which products have less than 10 units in stock?"
- "Create a 20% discount code valid until end of month"
- "List abandoned checkouts from the past week"
- "Run a ShopifyQL query: FROM sales SHOW total_orders SINCE -30d"
- "Get customer lifetime value metrics"
- "Show top 10 products by revenue this year"
SSE Mode
For HTTP-based access or cloud deployment:
Endpoints:
GET /sse— SSE streamPOST /messages?sessionId={id}— send messagesGET /health— health check
Configure Claude Desktop for remote SSE:
Security
- Never commit credentials to version control
- Use environment variables for all secrets
- Create separate apps with minimal scopes for different use cases
- Regularly rotate your Client Secret
License
MIT
来源:README.md,提交 0e54958
工具
0版本历史
1- v2.0.5最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分