home / mcp / shopify store mcp server
Provides live Shopify store access via MCP with GraphQL, bulk operations, and metamodel tooling.
Configuration
View docs{
"mcpServers": {
"brahim-benzarti-shopify_store-mcp": {
"command": "npx",
"args": [
"-y",
"shopify-store-mcp"
],
"env": {
"SHOPIFY_TIER": "STANDARD",
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_API_VERSION": "2025-01",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx",
"SHOPIFY_STOREFRONT_ACCESS_TOKEN": "<SHOPIFY_STOREFRONT_ACCESS_TOKEN>"
}
}
}
}You can connect this MCP server to live Shopify stores and let AI agents perform real operations through the Admin and Storefront APIs. It exposes powerful tools for querying, file handling, bulk operations, and schema discovery, all while respecting Shopify's rate limits and logging activity for debugging and history.
You will run the MCP server locally and configure your MCP client to talk to it. Use the provided stdio configurations to start the server from your environment, and then issue commands from your MCP client to perform shop operations, queries, and data management.
Prerequisites include a Shopify store with a custom app, an Admin API access token with the required scopes, and Node.js 18 or newer.
Install the MCP server globally so you can start it from anywhere.
npm install -g shopify-store-mcpYou configure your MCP client to connect to the server using a local stdio setup. The server runs as an embedded process started via a command such as npx or cmd, with environment variables providing store details and access tokens.
{
"mcpServers": {
"shopify-store": {
"command": "npx",
"args": ["-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}If you are on Windows, you can start the server with the Windows-specific command configuration.
{
"mcpServers": {
"shopify-store": {
"command": "cmd",
"args": ["/k", "npx", "-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}The server supports environment variables for store connection and tokens. You may also provide a storefront access token, API version, and rate tier if needed.
Never commit your .env file or access tokens. Use environment variables or MCP config for credentials. Access tokens should have the minimal required scopes. The server logs operations locally for debugging and can be disabled if desired.
Check that your store URL and Admin API access token are correct and that the token has the necessary scopes. Verify that the Node.js version matches the requirement and that the server process starts without errors. Review the operation history in the local SQLite database for debugging.
- Retrieve store configuration and settings using the get_shop_info tool.
- Run a GraphQL query or mutation with run_graphql_query to manage products, orders, and metafields.
- Upload a file, poll for readiness, and obtain the CDN URL with upload_file.
The server maintains an operation log in SQLite to help you audit actions and debug issues. You can query past operations via the get_history tool.
Retrieve store configuration and settings
Execute any GraphQL query or mutation
Upload file from URL, poll until ready, return CDN URL
Start bulk query, poll completion, return JSONL download URL
Staged upload + bulk mutation with automatic polling
Create or update metaobject by handle (idempotent)
Discover metafield definitions and metaobject types
Set rate limit tier (manual or auto-detect from shop plan)
Query past operations for debugging
Aggregated usage statistics