ND

nicobailon/dev-mcp

API 开发

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3 stars 53 forks 质量 62 趋势 0ISC

nicobailon/dev-mcp 是从 https://github.com/nicobailon/dev-mcp. 导入的 MCP 服务器候选

概览

nicobailon/dev-mcp 是从 https://github.com/nicobailon/dev-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

该项目实现了一个模型上下文协议(MCP)服务器,与 Shopify 开发者交互。该协议支持多种工具,用于与不同的 Shopify API 交互。

布置

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

光标或Claude桌面的使用

添加以下配置。欲了解更多信息,请阅读光标MCP文档或Claude桌面MCP指南。

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

可用工具

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

工具名称 说明
search_dev_docs shopify.dev 文档检索
introspect_admin_schema 访问并搜索 Shopify 管理员 GraphQL 架构

可用提示

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

提示名称 描述
shopify_admin_graphql 帮助你为 Shopify 管理 API 编写 GraphQL 操作

发展

服务器是用MCP SDK构建的,并与Shopify开发者通信。

  1. npm install
  2. 修改源文件

本页由 AI 翻译,技术细节请以原文为准。

README

Shopify Dev MCP Server

This project implements a Model Context Protocol (MCP) server that interacts with Shopify Dev. This protocol supports various tools to interact with different Shopify APIs.

Setup

To run the Shopify MCP server using npx, use the following command:

npx -y @shopify/dev-mcp@latest

Usage with Cursor or Claude Desktop

Add the following configuration. For more information, read the Cursor MCP documentation or the Claude Desktop MCP guide.

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

On Windows, you might need to use this alternative configuration:

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

Available tools

This MCP server provides the following tools:

Tool Name Description
search_dev_docs Search shopify.dev documentation
introspect_admin_schema Access and search Shopify Admin GraphQL schema

Available prompts

This MCP server provides the following prompts:

Prompt Name Description
shopify_admin_graphql Help you write GraphQL operations for the Shopify Admin API

Development

The server is built using the MCP SDK and communicates with Shopify Dev.

  1. npm install
  2. Modify source files
  3. Run npm run build to compile
  4. Run npm run test to run tests
  5. Add an MCP server that runs this command: node /dist/index.js

License

ISC

在 GitHub 查看完整 README

安装

npx -y @shopify/dev-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

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