shopify-graphql-admin-mcp
MCP server providing full access to Shopify’s Admin GraphQL API. Introspects the live schema on startup so it’s always up-to-date with the latest API version — no stale docs, no embeddings needed.
Features
- Raw GraphQL execution — run any query or mutation against the Admin API
- Live schema introspection — search and explore the full GraphQL schema (2,700+ types) directly from your AI assistant
- 29 convenience tools — typed, no-GraphQL-needed CRUD for products, collections, metaobjects, metafields, customers, orders, and inventory
- Dual auth — supports both OAuth client credentials (new Dev Dashboard apps) and legacy access tokens (
shpat_)
- Auto token refresh — OAuth tokens are refreshed automatically before expiry
Quick Start
# With a legacy access token
npx shopify-graphql-admin-mcp --store mystore.myshopify.com --access-token shpat_xxxxx
# With OAuth client credentials (Dev Dashboard app)
npx shopify-graphql-admin-mcp --store mystore.myshopify.com --client-id YOUR_ID --client-secret YOUR_SECRET
Core
| Tool |
Description |
shopify_graphql |
Execute any raw GraphQL query or mutation |
shopify_schema_search |
Search the live schema by keyword (types, queries, mutations) |
shopify_schema_details |
Get full details for a specific type, query, or mutation |
Products
| Tool |
Description |
shopify_products_list |
List/search products with pagination |
shopify_product_get |
Get product by ID with variants and metafields |
shopify_product_create |
Create a new product |
shopify_product_update |
Update an existing product |
shopify_product_delete |
Delete a product |
Collections
| Tool |
Description |
shopify_collections_list |
List/search collections with pagination |
shopify_collection_get |
Get collection by ID with products |
shopify_collection_create |
Create a collection (manual or smart) |
shopify_collection_update |
Update a collection |
shopify_collection_delete |
Delete a collection |
| Tool |
Description |
shopify_metaobject_definitions_list |
List all metaobject type definitions |
shopify_metaobjects_list |
List entries of a specific metaobject type |
shopify_metaobject_get |
Get a single metaobject entry |
shopify_metaobject_create |
Create a new metaobject entry |
shopify_metaobject_update |
Update an existing metaobject entry |
shopify_metaobject_delete |
Delete a metaobject entry |
| Tool |
Description |
shopify_metafields_list |
List metafields on any resource |
shopify_metafields_set |
Set (upsert) metafields on any resource |
shopify_metafield_delete |
Delete a metafield |
Customers