Shopify MCP: Managing a Store Without Leaving Your Terminal
The Context Switch Tax
If you run a Shopify store, you know the drill. You are debugging a fulfillment issue in your terminal and need to check inventory levels. So you leave your terminal, open a browser, log into Shopify, navigate to Products, find the SKU, check stock. Five minutes gone. Your focus is shattered.
The Shopify MCP server fixes that. Once configured, Claude Code can query your store's data in real time and act on it. Update stock, create discount codes, pull order details, check fulfillment status — all without leaving your workflow.
What You Can Do
The server exposes your Shopify admin data through Claude's tool interface:
- Fetch product details, variants, and inventory levels by SKU or title
- Update product prices, descriptions, or inventory counts
- Retrieve order information including line items, shipping, and customer data
- Create or update customer records
- Generate discount codes with specific usage limits
- Pull fulfillment and shipping status for orders
For agencies managing multiple stores, this is useful for bulk operations — updating prices across a catalog, generating reports, or automating routine admin tasks that would otherwise eat your afternoon.
Setup
You need a Shopify Admin API access token. Create a custom app in your Shopify admin under Apps > Develop apps, set the required scopes (read_products, write_products, read_orders, etc.), and grab the access token. Put it in your environment or your .mcp.json config.
The server installs via npm and runs as a local process that Claude Code communicates with over stdio. Once it is in your .mcp.json, Claude Code discovers and registers the tools automatically.
Scope and Limitations
Storefront API operations — checkout flows, cart management, customer-facing queries — are outside the admin API scope. The MCP server handles the admin side, which is what you want for operational tasks anyway.
If you are building development workflows that touch your store's data — syncing inventory to an external system, generating reports, automating order pipeline tasks — this is the right tool.
Get Started with Claude Code
Start building with Claude Code today. Free to download, powerful enough for production.