产品搜索服务器

一个用于产品搜索的MCP服务器,可与Claude工具集成,提供产品查询功能。

  • by Redtri-git
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 redtri-git/ecomm-mcp

使用说明

🛒 Ecomm MCP服务器

这是一个用于产品搜索的最小MCP(多命令协议)服务器实现,旨在与Claude的工具集成无缝协作。使用 FastMCP 以公开一个简单的工具,该工具允许语言模型查询API中的产品列表。


🚀 特性

  • 用于Claude集成的MCP兼容服务器
  • search_products 产品查询工具
  • Markdown格式的回复,带有可点击的产品链接和价格
  • 轻松测试并与Claude桌面应用程序集成

跑步

使用NPX运行

npx -y redtry-product-scraper-mcp

要使用SSE而不是Stdio运行:

env SSE_LOCAL=true npx -y redtry-product-scraper-mcp

使用NPM手动安装

npm install -g redtry-product-scraper-mcp

添加到Claude桌面

首选

Claude>设置>开发人员>编辑配置

在claude_desktop_config.json中查找或添加您的工具配置。它应该看起来像这样: 将以下内容添加到配置文件中:

{
  "mcpServers": {
    "redtry": {
      "command": "npx",
      "args": ["-y", "redtry-product-scraper-mcp"]
    }
  }
}

添加到光标

  • 打开光标设置
  • 转到功能>MCP服务器
  • 点击“+添加新的全局MCP服务器”
  • 输入以下代码:
    {
      "mcpServers": {
        "redtry": {
          "command": "npx",
          "args": ["-y", "redtry-product-scraper-mcp"],
        }
      }
    }

添加到Windsurf

将此添加到您的。/codeium/风帆/模型配置文件.json:

{
  "mcpServers": {
    "redtry": {
      "command": "npx",
      "args": ["-y", "redtry-product-scraper-mcp"],
    }
  }
}