================== /// MCP /// /// SHO /// ================== [server:online] [protocol:ready]
Shopify/dev-mcp
by Shopify
Model Context Protocol (MCP) server for interacting with Shopify APIs (Admin GraphQL, Functions, optional Polaris).
414
41
Enterprise01
learn_shopify_api
Teaches the LLM about supported Shopify APIs and how to use the MCP server's tools to generate valid code blocks; obtains the latest guidance from shopify.dev.
02
search_docs_chunks
Searches across all shopify.dev documentation to find relevant chunks matching a query, useful for broad searches though context may be partial due to chunking.
03
fetch_full_docs
Retrieves complete documentation for specified paths from shopify.dev, giving full context without chunking loss; requires the exact documentation path.
04
introspect_admin_schema
Provides access to and search capabilities for the Shopify Admin API GraphQL schema.
Installation
1. Clone the repo
git clone https://github.com/Shopify/dev-mcp.git
cd dev-mcp
2. Install Node.js (v18 or later recommended) and pnpm (or npm/yarn).
corepack enable # enables pnpm if you have Node ≥16.10
pnpm install # or npm install / yarn install
3. Environment configuration
- Duplicate `.env.example` → `.env`.
- Fill in any required values (e.g. `PORT`, `SHOPIFY_TOKEN`, `GITHUB_TOKEN`).
4. Build the TypeScript sources
pnpm run build # or npm run build
5. Start the server
pnpm start # runs the compiled JS
# or for development with live-reload
pnpm run dev
6. Verify the MCP endpoint is live at `http://localhost:3000/` (or the port you configured).
Documentation
# Transform Augment Code Into a Shopify Development Powerhouse The Shopify MCP server transforms Augment Code from a general coding assistant into a specialized Shopify development expert. Instead of constantly switching between your IDE, Shopify documentation, and GraphQL schema explorer, you can now access all Shopify APIs, complete documentation, and schema introspection directly through Augment's chat interface. ## Seamless Shopify Integration in Your Coding Flow Once configured in Augment Code, this MCP server gives you instant access to the entire Shopify development ecosystem. Ask Augment to "help me create a GraphQL mutation to update product inventory" and it can use `learn_shopify_api` to get the latest API guidance, `introspect_admin_schema` to understand the exact schema structure, and `fetch_full_docs` to pull complete documentation—all while generating perfectly formatted code. You can query "show me how to implement Shopify Functions for cart validation" and Augment will search across all Shopify documentation (`search_docs_chunks`) to find relevant examples and best practices, then generate working code that follows current Shopify conventions. ## Real-World Productivity Gains This setup eliminates the friction of Shopify development. When building an app that needs to sync product data, simply ask Augment "create a script to fetch all products with their variants and inventory levels"—it will introspect the Admin GraphQL schema, understand the current API structure, and generate the exact query you need. Working on a storefront? Ask for "a product recommendation function using Shopify Functions" and Augment can pull the latest Functions documentation and generate deployment-ready code. The server even includes optional Polaris support, so Augment can help you build consistent UIs with proper component usage and styling guidelines. **Setup in Augment Code:** ```json { "mcpServers": { "shopify-dev-mcp": { "command": "npx", "args": ["-y", "@shopify/dev-mcp@latest"] } } } ``` This is the fastest way to become a more productive Shopify developer—your AI assistant now has the same access to Shopify's documentation and APIs that you do, but with perfect recall and the ability to instantly generate working code.
License: ISC License
Updated 7/15/2025