Shopify MCP Server
🚀 概述
Shopify MCP 服务器通过模型上下文协议 (MCP) 为您的应用程序与 Shopify 生态系统之间搭建了一座强大的桥梁。只需简单调用 Shopify 的 Admin API,即可轻松管理产品、客户、订单等。
Related MCP server: Shopify MCP Server
📋 目录
📥 安装
选择您喜欢的安装方法:
方法 | 指示 |
锻造工艺 | |
Glama.ai | |
新公共管理 |
|
✨ 特点
🛍️ 全面的产品管理——搜索、检索和管理产品数据
👥 客户数据访问- 获取客户信息并管理标签
📦高级订单处理——轻松过滤、排序和管理订单
⚡ 直接 GraphQL 集成- 直接连接到 Shopify 的管理 API
🛡️ 强大的错误处理- 清晰的故障排除反馈
🧰 可用工具
产品管理
工具 | 描述 | 关键参数 |
| 按标题查找产品 |
|
| 获取收藏产品 |
|
| 检索特定产品 |
|
| 获取变体详细信息 |
|
客户管理
工具 | 描述 | 关键参数 |
| 检索客户数据 |
|
| 为客户添加标签 |
|
订单管理
工具 | 描述 | 关键参数 |
| 过滤和排序 |
|
| 获取单个订单详情 |
|
购物和收藏工具
工具 | 描述 | 关键参数 |
| 检索商店收藏 |
|
| 获取商店基本信息 | 没有任何 |
| 获取详细店铺信息 | 没有任何 |
折扣管理
工具 | 描述 | 关键参数 |
| 创建折扣代码 |
|
🏁 入门
安装包
npm install shopify-mcp-server设置环境变量
SHOPIFY_ACCESS_TOKEN=your_token MYSHOPIFY_DOMAIN=your-store.myshopify.com初始化服务器
require('shopify-mcp-server').start();进行第一次 API 调用
const products = await shopifyMcpServer.tools.getProducts({ limit: 10 }); console.log(products);
💡 用例
电子商务平台集成——系统间同步产品和订单
自定义管理仪表板- 根据您的业务需求构建定制界面
订单自动化——设置自动订单处理的工作流程
多渠道销售管理——管理所有销售渠道的库存
🔧 设置指南
获取 Shopify 访问令牌
在 Shopify 管理员中,转到**“设置”** > “应用和销售渠道”
点击开发应用>创建应用
为您的应用命名(例如“Shopify MCP Server”)
配置 API 范围:
read_products,write_productsread_customers,write_customersread_orders,write_orders
单击**“保存并安装应用程序”**
复制您的Admin API 访问令牌
**安全提示:**请妥善保管您的访问令牌。切勿将其提交到版本控制中。
与 Claude Desktop 一起使用
添加到您的claude_desktop_config.json :
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": ["-y", "shopify-mcp-server"],
"env": {
"SHOPIFY_ACCESS_TOKEN": "<TOKEN>",
"MYSHOPIFY_DOMAIN": "<SHOP>.myshopify.com"
}
}
}
}👨💻开发
# Clone the repository
git clone https://github.com/your-username/shopify-mcp-server.git
# Install dependencies
cd shopify-mcp-server
npm install
# Set up environment variables
# Create a .env file with your Shopify credentials
# Build and test
npm run build
npm test🤝 社区
资源 | 关联 |
GitHub 讨论 | |
问题追踪器 | |
叽叽喳喳 | |
不和谐 |
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Shopify store data using the GraphQL API, supporting product, customer, and order management with comprehensive error handling.158717MIT
- AlicenseNot gradedqualityDmaintenanceThis MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.6MIT
- AlicenseBqualityDmaintenanceMCP server that integrates with Shopify API, allowing Claude Desktop users to retrieve and manipulate product information from Shopify stores.51MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Shopify stores through GraphQL API, providing tools for managing products, customers, orders, and more.8710MIT
Related MCP Connectors
Shopify MCP Pack — wraps the Shopify Admin REST API (2024-01)
Track price drops, stock-outs, restocks, and new/removed products across Shopify stores.
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rezapex/shopify-mcp-server-main'
If you have feedback or need assistance with the MCP directory API, please join our Discord server