dev-mcp
Author: Shopify
Description: Shopify.dev Model Context Protocol (MCP) server and CLI that exposes tools for Shopify Admin GraphQL, Functions and optional Polaris docs.
Stars: 436
Forks: 46
License: ISC License
Category: Enterprise
Overview
Installation
git clone https://github.com/Shopify/dev-mcp.git
cd dev-mcppnpm install # or: npm cicp .env.example .envpnpm run build # or: npm run build# Development (auto-reload)
pnpm run dev # usually invokes ts-node-dev / nodemon
# Production
node dist/index.js # or: pnpm start / npm startcurl http://localhost:3000/health # should return 200 OK or {status:"ok"}
Docker (optional)
docker build -t dev-mcp .
docker run -p 3000:3000 --env-file .env dev-mcplearn_shopify_api
Teaches the LLM about supported Shopify APIs and how to use this MCP server’s tools, providing up-to-date instructions and a conversation ID.
search_docs_chunks
Searches across all shopify.dev documentation chunks to find content matching a query.
fetch_full_docs
Retrieves the complete, unchunked documentation for specific shopify.dev paths when the exact path is known.
introspect_graphql_schema
Explores Shopify GraphQL schemas to locate types, queries, and mutations that match given search terms.
validate_graphql_codeblocks
Validates GraphQL code blocks against a chosen Shopify GraphQL schema to catch hallucinated fields or operations.