Shopify MCP
Provides read-only tools for interacting with Shopify's Admin API, enabling AI agents to retrieve shop summary, list recent orders, get sales reports, search products, and monitor low inventory.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Shopify MCPlist low inventory products"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shopify MCP
Read-only Shopify Admin API MCP server for Codex business reporting.
The server exposes business-level tools for Codex instead of a raw GraphQL passthrough:
get_shop_summarylist_recent_ordersget_sales_reportlist_low_inventory_productssearch_products
Secrets are intentionally not stored in this repository. Each machine must
provide its own Shopify Admin API token through SHOPIFY_SECRETS_FILE.
Install
git clone <repo-url> shopify-mcp
cd shopify-mcp
npm installCreate the local secrets file:
mkdir -p ~/.codex/secrets
chmod 700 ~/.codex/secrets
cp .env.example ~/.codex/secrets/hholove-shopify.env
nano ~/.codex/secrets/hholove-shopify.env
chmod 600 ~/.codex/secrets/hholove-shopify.envRequired values:
SHOPIFY_STORE_DOMAIN=64f8b1.myshopify.com
SHOPIFY_ADMIN_ACCESS_TOKEN=<Admin API access token>
SHOPIFY_API_VERSION=2026-04
SHOPIFY_REPORT_TIME_ZONE=Asia/ShanghaiRelated MCP server: MCP Shopify
Verify
Run local tests:
npm testRun live Shopify sanity:
SHOPIFY_SECRETS_FILE="$HOME/.codex/secrets/hholove-shopify.env" \
node scripts/shopify-query.mjs sanityRun a Shanghai-time daily order check:
SHOPIFY_SECRETS_FILE="$HOME/.codex/secrets/hholove-shopify.env" \
node scripts/shopify-query.mjs recent-orders --today --time-zone Asia/ShanghaiRegister With Codex
/Applications/Codex.app/Contents/Resources/codex mcp add hholove-shopify \
--env SHOPIFY_SECRETS_FILE="$HOME/.codex/secrets/hholove-shopify.env" \
-- node "$PWD/mcp/hholove-shopify-server.mjs"Inspect the registration:
/Applications/Codex.app/Contents/Resources/codex mcp get hholove-shopify
/Applications/Codex.app/Contents/Resources/codex mcp listRestart Codex after changing MCP registration.
The Git repository is named shopify-mcp; the Codex MCP registration name is
currently hholove-shopify so it stays paired with the existing store secrets
file and local Codex configuration.
Development
npm run test:hholove-shopify-mcp
npm run test:shopify-query
npm run mcp:hholove-shopifyImplementation notes live in mcp/README.md. Target-Mac setup details live in
docs/hholove-shopify-mcp-transfer.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Shopify MCP Pack — wraps the Shopify Admin REST API (2024-01)
Read-only MCP server for Muovi, Argentina's trust-first local services marketplace (6 tools).
Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.6MIT
- AlicenseNot gradedqualityFmaintenanceA comprehensive MCP server for Shopify Admin API integration, enabling AI assistants to manage products, orders, customers, inventory, analytics, and more through natural language.2018MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for the Shopify Admin API, enabling 36 tools for managing products, orders, customers, inventory, fulfillments, collections, analytics, marketing, content, and webhooks.81MIT
- AlicenseNot gradedqualityDmaintenanceProduction-grade MCP server for the Shopify Admin GraphQL API, exposing typed tools for AI agents to manage products, orders, customers, and more.13MIT