npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-amazon-listing

v1.0.1

Published

基于MCP协议标准的亚马逊Listing优化服务

Readme

Amazon Listing Optimizer

基于MCP协议标准的亚马逊Listing优化服务,提供智能化的Listing优化建议。

功能特点

  • 基于MCP协议标准开发
  • 支持多市场(US, UK, DE, FR, IT, ES, JP, CA, MX, BR, AU, IN)
  • 智能关键词分析
  • 竞品分析
  • 多版本优化建议
  • 详细的优化理由说明

安装

npm install @modelcontextprotocol/server-amazon-listing

使用方法

1. 初始化配置

npx mcp-server-amazon-listing init

这将创建必要的配置文件和目录结构。

2. 启动服务

npx mcp-server-amazon-listing start

3. 优化Listing

npx mcp-server-amazon-listing optimize <ASIN> [--marketplace <MARKETPLACE_ID>]

例如:

npx mcp-server-amazon-listing optimize B0CKWM4F9Q --marketplace ATVPDKIKX0DER

4. 检查服务状态

npx mcp-server-amazon-listing health

配置说明

配置文件位于 config/mcp_config.yaml,包含以下主要配置项:

server:
  host: "0.0.0.0"
  port: 8000
  log_level: "INFO"

database:
  host: "localhost"
  port: 5432
  name: "amazon_listing"
  user: "postgres"
  password: "your_password"

api:
  base_url: "https://api.example.com"
  api_key: "your_api_key"
  timeout: 30

optimization:
  max_competitors: 20
  min_keyword_rank: 1000
  max_title_length: 200
  max_bullet_length: 500

开发说明

环境要求

  • Node.js >= 14.0.0
  • Python >= 3.8
  • PostgreSQL >= 12.0

本地开发

  1. 克隆仓库:
git clone https://github.com/yourusername/amazon-listing-optimizer.git
cd amazon-listing-optimizer
  1. 安装依赖:
npm install
pip install -r requirements.txt
  1. 运行测试:
npm test
pytest tests/
  1. 启动开发服务器:
npm run dev

API文档

健康检查

POST /mcp/v1/execute
Content-Type: application/json

{
  "request_id": "test-001",
  "version": "1.0.0",
  "action": "health_check",
  "parameters": {}
}

优化Listing

POST /mcp/v1/execute
Content-Type: application/json

{
  "request_id": "test-002",
  "version": "1.0.0",
  "action": "optimize_listing",
  "parameters": {
    "asin": "B0CKWM4F9Q",
    "marketplace_id": "ATVPDKIKX0DER"
  }
}

贡献指南

  1. Fork 项目
  2. 创建特性分支 (git checkout -b feature/AmazingFeature)
  3. 提交更改 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 创建 Pull Request

许可证

MIT License - 详见 LICENSE 文件

联系方式