Shopify MCP Server
@MCP-Mirror
Shopify MCP Server について
Mirror of
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"-y",
"shopify-mcp-server"
],
"env": {
"SHOPIFY_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>",
"MYSHOPIFY_DOMAIN": "<YOUR_SHOP>.myshopify.com"
}
}
}
}ツール
18`searchTitle` (optional string): Filter products by title
Formatted product details including title, description, handle, and variants
`collectionId` (string): ID of the collection to get products from
Formatted product details from the specified collection
`productIds` (array of strings): Array of product IDs to retrieve
Formatted product details for the specified products
`variantIds` (array of strings): Array of variant IDs to retrieve
Detailed variant information including product details
`limit` (optional number): Maximum number of customers to return
Customer data in JSON format
`customerId` (string): Customer ID to tag
Success or failure message
`first` (optional number): Limit of orders to return
Formatted order details
`orderId` (string): ID of the order to retrieve
Detailed order information
`title` (string): Title of the discount
Created discount details
概要
What is Shopify MCP Server?
A Model Context Protocol server that connects to the Shopify GraphQL Admin API, enabling AI assistants to manage store data. It provides tools for interacting with products, customers, orders, discounts, collections, webhooks, and shop details.
How to use Shopify MCP Server?
Create a custom Shopify app and obtain an Admin API access token with the required scopes. Then configure the server by setting the SHOPIFY_ACCESS_TOKEN and MYSHOPIFY_DOMAIN environment variables in your MCP client (e.g., Claude Desktop). Invoke the server via npx -y shopify-mcp-server. Alternatively, clone the repository, run npm install, create a .env file, build with npm run build, and test with npm test.
Key features of Shopify MCP Server
- Product management: search, retrieve, and filter by collection or IDs
- Customer management: load customers and add tags
- Order management: query, filter, sort, and retrieve single orders
- Discount creation: percentage or fixed amount discount codes
- Draft order creation and completion
- Webhook management: subscribe, find, and unsubscribe webhooks
- Shop details: basic and extended information including shipping countries
- GraphQL integration with comprehensive error handling
Use cases of Shopify MCP Server
- Search for products by title or collection and display details
- Manage customer records by loading profiles and tagging them
- Retrieve and filter orders to support customer service workflows
- Create discount codes programmatically for promotions
- Set up and manage webhooks to trigger external processes
FAQ from Shopify MCP Server
What API does the server connect to?
It connects to Shopify’s GraphQL Admin API to read and write store data.
What permissions does the custom app need?
The custom app requires Admin API scopes: read_products, write_products, read_customers, write_customers, read_orders, and write_orders.
How do I configure the server for use?
Set the environment variables SHOPIFY_ACCESS_TOKEN (your custom app’s access token) and MYSHOPIFY_DOMAIN (your store’s .myshopify.com domain) in your MCP client configuration.
What are the main dependencies?
The server uses @modelcontextprotocol/sdk for the MCP protocol, graphql-request as the GraphQL client, and zod for runtime type validation.
Where does the data live?
All data stays within Shopify’s servers; the MCP server only facilitates API calls and never stores user data locally.
「その他」の他のコンテンツ
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
コメント