Overview
What is Shopify Admin GraphQL MCP Server?
A comprehensive Model Context Protocol (MCP) server for interacting with Shopify's Admin GraphQL API. It provides tools and resources for managing products, orders, customers, inventory, discounts, metafields, and shop information.
How to use Shopify Admin GraphQL MCP Server?
Clone the repository, install dependencies with npm install, and create a .env file with your Shopify shop name and access token (SHOPIFY_SHOP_NAME, SHOPIFY_ACCESS_TOKEN). Start the server with npm run dev or test with npm run inspect.
Key features of Shopify Admin GraphQL MCP Server
- Complete coverage of key Shopify Admin API functionality
- Structured tools for all major Shopify resources
- Documentation resources for each API section
- Easy to use with any MCP-compatible client
- Tools for products, orders, customers, inventory, discounts, metafields, and shop
Use cases of Shopify Admin GraphQL MCP Server
- Automate product creation and updates in a Shopify store
- Manage customer data and order fulfillment programmatically
- Adjust inventory levels and monitor stock across locations
- Create and delete discount codes for promotions
- Retrieve and update shop configuration information
FAQ from Shopify Admin GraphQL MCP Server
What does Shopify Admin GraphQL MCP Server do?
It provides tools and documentation resources to interact with the Shopify Admin GraphQL API through the Model Context Protocol, enabling programmatic management of Shopify store data.
How do I authenticate with Shopify Admin GraphQL MCP Server?
You need a Shopify Admin API access token. Create one in your Shopify admin under Apps > Develop apps, then set it in the .env file as SHOPIFY_ACCESS_TOKEN along with your shop name.
What tools are available in Shopify Admin GraphQL MCP Server?
Tools are grouped by resource type: Products (get, list, create, update, delete), Orders (get, list, cancel), Customers (get, list, create, update, delete), Inventory (get item, adjust levels, get level), Discounts (get, create, delete), Metafields (get, create product, delete), and Shop (get info, update).
How do I access documentation in Shopify Admin GraphQL MCP Server?
Documentation is available via the shopify://docs/{section} resource, where section can be overview, products, orders, customers, inventory, discounts, metafields, or shop.
What are the requirements for running Shopify Admin GraphQL MCP Server?
You need Node.js, a Shopify store with a custom app or private app that has an Admin API access token, and environment variables configured with your shop name and token.