githubEdit

πŸ›οΈShopify Dev MCP Server

The Shopify Dev MCP server is built and maintained by Shopify. It gives your AI coding tool direct access to Shopify's API documentation, GraphQL schema introspection, and query validation β€” making it a useful companion to the Mechanic MCP Server when writing tasks.

circle-info

This is a Shopify tool, not a Mechanic tool. For Mechanic-specific task library access and documentation, use the Mechanic MCP Server.


Why it's useful for Mechanic development

Mechanic tasks interact with Shopify's APIs via GraphQL. The Shopify Dev MCP server helps your AI assistant:

  • Introspect the GraphQL schema β€” look up types, fields, and input objects directly instead of guessing

  • Validate GraphQL queries β€” catch syntax errors and invalid fields before you run a task

  • Search Shopify documentation β€” find current API patterns, required permissions, and usage examples across all nine supported APIs (Admin GraphQL, Storefront, Functions, and more)

  • Stay current β€” pulls from Shopify's live documentation, so it reflects the latest API version

When used alongside the Mechanic MCP server, your AI assistant has access to both Mechanic's task patterns and Shopify's full API surface β€” which is what you need for writing tasks that work.


Requirements

  • Node.js 18 or higher installed on your system.

  • An AI coding tool that supports MCP, such as Claude Code, Claude Desktop, Cursor, Codex CLI, or Gemini CLI.


Set up the server

The server runs locally and doesn't require authentication.

Run this command in your terminal:

Restart Claude Code to load the server.


Available tools

The Shopify Dev MCP server provides:

  • introspect_graphql_schema β€” explore GraphQL types, fields, and operations

  • validate_graphql_codeblocks β€” validate GraphQL queries and mutations against the schema

  • search_docs_chunks β€” search across all shopify.dev documentation

  • fetch_full_docs β€” retrieve complete documentation pages

  • learn_shopify_api β€” introduction to Shopify's supported APIs


Using with the Mechanic MCP server

For the best Mechanic development experience, run both MCP servers together:

  • Mechanic MCP β€” task library search, Mechanic documentation, task code examples

  • Shopify Dev MCP β€” GraphQL schema, API docs, query validation

Your AI assistant will use both servers automatically when answering Mechanic-related questions.


Last updated

Was this helpful?