dev-mcp
dev-mcp is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.
If you are the rightful owner of dev-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project implements a Model Context Protocol (MCP) server that interacts with Shopify Dev, supporting various tools to interact with different Shopify APIs.
The Shopify Dev MCP Server is designed to facilitate interaction with Shopify's APIs through the Model Context Protocol. It supports the Admin GraphQL API, Functions, and optionally, Polaris Web Components. The server is built using the MCP SDK and allows developers to efficiently manage and interact with Shopify's development environment. It provides tools for searching documentation, accessing the Shopify Admin GraphQL schema, and retrieving documents from shopify.dev. The server can be configured to run on different platforms, including Windows, and offers options to disable instrumentation and opt-in for Polaris support.
Features
- Supports Admin GraphQL API and Functions
- Optional support for Polaris Web Components
- Tools for searching Shopify documentation and schemas
- Configurable for different platforms and environments
- Built using the MCP SDK for seamless integration
Tools
introspect_admin_schema
This tool introspects and returns the portion of the Shopify Admin API GraphQL schema relevant to the user prompt. Only use this for the Shopify Admin API, and not any other APIs like the Shopify Storefront API or the Shopify Functions API.
It takes two arguments: query and filter. The query argument is the string search term to filter schema elements by name. The filter argument is an array of strings to filter results to show specific sections.
search_dev_docs
This tool will take in the user prompt, search shopify.dev, and return relevant documentation and code examples that will help answer the user's question.
It takes one argument: prompt, which is the search query for Shopify documentation.
fetch_docs_by_path
Use this tool to retrieve a list of documents from shopify.dev.
Args: paths: The paths to the documents to read, i.e. ["/docs/api/app-home", "/docs/api/functions"]. Paths should be relative to the root of the developer documentation site.
get_started
YOU MUST CALL THIS TOOL FIRST WHENEVER YOU ARE IN A SHOPIFY APP AND THE USER WANTS TO LEARN OR INTERACT WITH ANY OF THESE APIS: Valid arguments for `api` are: - admin: The Admin GraphQL API lets you build apps and integrations that extend and enhance the Shopify admin. - functions: Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Here are all the available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location Rule, Payment Customization - hydrogen: Shopify Hydrogen store feature implementation guides. Here are all the available feature guides: Bundles, Subscriptions, Combined Listings, Markets. Always use this tool first when implementing one of these features in a Hydrogen store. Keywords: hydrogen, localization, markets, subscriptions, selling plans, combined listings, bundles. - storefront-web-components: How to create storefronts using Storefront Web Components. Storefront Web Components let you bring Shopify-powered commerce capabilities to any website. Shopify Storefront Web Components are a set of web components that enable developers to build customizable storefronts using only HTML and Shopify's APIs. Keywords: web components, html, shopify-store, shopify-context, shopify-list-context, shopify-data, shopify-media, shopify-money, shopify-cart, shopify-variant-selector DON'T SEARCH THE WEB WHEN REFERENCING INFORMATION FROM THIS DOCUMENTATION. IT WILL NOT BE ACCURATE. PREFER THE USE OF THE fetch_docs_by_path TOOL TO RETRIEVE INFORMATION FROM THE DEVELOPER DOCUMENTATION SITE.