Skip to main content
Glama

1 项目介绍

本项目主要给亚马逊运营使用,可以让大模型直接读取亚马逊上的数据进行分析。
目前已有的功能:

1.1 get_product_info

获取该asin的产品信息, 包括: 产品标题, 产品描述, 所有变体信息
参数:
asin: 亚马逊asin码

Related MCP server: microCMS MCP Server

1.2 get_product_review

获取该asin的评论信息, 字符总数不超过max_length
参数:
asin: 亚马逊asin码
max_length: 字符总数

2 项目环境搭建

Python安装以及git clone操作不再赘述(我这里使用的Python版本为3.11)

2.1 安装uv

打开CMD
pip install uv

2.2 创建虚拟环境

cd E:\MyProject\MCP4Amazon(替换成你实际的项目路径)
uv venv
.\.venv\Scripts\activate

2.3 安装依赖

uv pip install -r requirements.txt

3 配置谷歌浏览器

本项目使用Playwright通过9222端口操作谷歌浏览器来获取数据。
右击桌面上的谷歌浏览器快捷方式 -> 属性 -> 在目标栏中加入以下字符:
--remote-debugging-port=9222
示例:"D:\Program Files\chrome-win64\chrome.exe" --remote-debugging-port=9222
保存后双击快捷方式打开浏览器

4 使用Cherry Studio来调用

免费使用的模型中只有Claude Desktop开放了mcp的接口,但国内无法使用。
目前可行的方案就是使用Cherry Studio调用大模型api(需要付费)或Ollama来使用。

4.1 配置MCP服务器

{
    "mcpServers": {
        "MCP4Amazon": {
            "type": "stdio",
            "command": "uv",
            "args": [
            "--directory",
            "E:\\MyProject\\MCP4Amazon",
            "run",
            "mcp4amazon.py"
        ]
        }
    }
}

添加服务器 -> 从json导入 -> 复制粘贴上述文本
args中第二行替换为你实际的项目路径
最后保存即可

4.2 配置大模型api或Ollama

具体操作看Cherry Sutio的教程

5 效果

描述

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/Jeremy-33456/MCP4Amazon'

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