Shopify MCP 服务器
一个模型上下文协议 (MCP) 服务器,用于将 Claude 等客户端与 Shopify 商店数据连接起来。该服务器提供从 Shopify 商店检索产品和客户信息的工具。
工具
get-product-list
:从您的 Shopify 商店检索产品列表get-customer-list
:从您的 Shopify 商店检索客户列表更多内容即将推出
先决条件
Python 3.12 或更高版本
具有 API 访问权限的 Shopify 商店
Shopify API 凭据(API 密钥、密码和访问令牌)
安装
克隆存储库:
使用
uv
创建并激活虚拟环境:
安装软件包:
配置
使用您的 Shopify 凭据在根目录中创建一个
.env
文件:
将占位符值替换为您的实际 Shopify API 凭据。
用法
启动 MCP 服务器:
该服务器公开了两个工具:
获取产品列表
从您的 Shopify 商店检索产品列表。
可选参数:
limit
(默认值:10)- 返回的最大产品数量
获取客户列表
从您的 Shopify 商店检索客户列表。
可选参数:
limit
(默认值:10)- 返回的最大客户数量
工具响应格式
产品
顾客
发展
该项目使用:
用于构建人工智能工具的MCP(模型上下文协议)
用于 Shopify 集成的Shopify Python API
UV用于依赖管理
安全
永远不要将
.env
文件提交到版本控制确保您的 Shopify API 凭证安全
使用环境变量来获取敏感信息
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
贡献
分叉存储库
创建你的功能分支(
git checkout -b feature/amazing-feature
)提交您的更改(
git commit -m 'Add some amazing feature'
)推送到分支(
git push origin feature/amazing-feature
)打开拉取请求
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
该 MCP 服务器将客户端与 Shopify 商店数据连接起来,从而能够通过公开的工具检索产品和客户信息。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server enabling integration with Scrapezy to retrieve structured data from websites.Last updated -11310MIT License
- -securityAlicense-qualityWooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON-RPC 2.0 protocol.Last updated -67MIT License
- AsecurityAlicenseAqualityMCP server that integrates with Shopify API, allowing Claude Desktop users to retrieve and manipulate product information from Shopify stores.Last updated -52MIT License
Shopify Dev MCPofficial
AsecurityAlicenseAqualityModel Context Protocol (MCP) server that interacts with Shopify Dev. This protocol supports various tools to interact with different Shopify APIs.