Skip to main content
Glama

Shopify Dev MCP

Official
by Shopify

Shopify Dev MCP 服务器

该项目实现了一个与 Shopify Dev 交互的模型上下文协议 (MCP) 服务器。该协议支持各种工具与不同的 Shopify API 进行交互。目前支持以下 API:

  • 管理员 GraphQL API
  • 功能
  • (可选)Polaris Web 组件

设置

要使用 npx 运行 Shopify MCP 服务器,请使用以下命令:

npx -y @shopify/dev-mcp@latest

与 Cursor 或 Claude Desktop 一起使用

添加以下配置。更多信息,请阅读Cursor MCP 文档Claude Desktop MCP 指南

{ "mcpServers": { "shopify-dev-mcp": { "command": "npx", "args": ["-y", "@shopify/dev-mcp@latest"] } } }

在 Windows 上,您可能需要使用以下替代配置:

{ "mcpServers": { "shopify-dev-mcp": { "command": "cmd", "args": ["/k", "npx", "-y", "@shopify/dev-mcp@latest"] } } }

禁用检测

为了更好地理解如何改进 MCP 服务器,此软件包会进行插桩调用。要禁用这些调用,您可以设置OPT_OUT_INSTRUMENTATION环境变量。在 Cursor 或 Claude Desktop 中,配置如下:

{ "mcpServers": { "shopify-dev-mcp": { "command": "npx", "args": ["-y", "@shopify/dev-mcp@latest"], "env": { "OPT_OUT_INSTRUMENTATION": "true" } } } }

选择加入 Polaris 支持(实验性)

如果您希望 Cursor 或 Claude Desktop 显示 Polaris Web Components 文档,请在 MCP 服务器配置中包含带有POLARIS_UNIFIED标志的env块:

{ "mcpServers": { "shopify-dev-mcp": { "command": "npx", "args": ["-y", "@shopify/dev-mcp@latest"], "env": { "POLARIS_UNIFIED": "true" } } } }

可用工具

该 MCP 服务器提供以下工具:

工具名称描述
search_dev_docs搜索 shopify.dev 文档
introspect_admin_schema访问和搜索 Shopify Admin GraphQL 架构
按路径获取文档从 shopify.dev 检索文档
开始开始使用 Shopify API(管理员、功能等)

可用提示

此 MCP 服务器提供以下提示:

提示名称描述
shopify_admin_graphql帮助您为 Shopify Admin API 编写 GraphQL 操作

发展

该服务器使用 MCP SDK 构建并与 Shopify Dev 通信。

  1. npm install
  2. 修改源文件
  3. 运行npm run build进行编译或npm run build:watch来监视更改并进行编译
  4. 运行npm run test来运行测试
  5. 添加运行以下命令的 MCP 服务器: node <absolute_path_of_project>/dist/index.js

执照

国际学习中心

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

与 Shopify Dev 交互的模型上下文协议 (MCP) 服务器。该协议支持各种工具与不同的 Shopify API 进行交互。

  1. 设置
    1. 与 Cursor 或 Claude Desktop 一起使用
      1. 禁用检测
      2. 选择加入 Polaris 支持(实验性)
    2. 可用工具
      1. 可用提示
        1. 发展
          1. 执照

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol (MCP) server that provides programmatic access to the Supabase Management API. This server allows AI models and other clients to manage Supabase projects and organizations through a standardized interface.
              Last updated -
              8
              84
              27
              JavaScript
            • -
              security
              A
              license
              -
              quality
              MCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.
              Last updated -
              13
              2
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for Upstash Developer API's.
              Last updated -
              16
              58
              27
              TypeScript
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              This MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.
              Last updated -
              2
              Python
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shopify/dev-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server