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

@pidanmoe/e-commerce-master

v1.0.2

Published

这是一个基于 [FastMCP](https://github.com/fastmcp/fastmcp) 框架构建的 MCP (Model Context Protocol) 工具包。

Readme

e-commerce-master

这是一个基于 FastMCP 框架构建的 MCP (Model Context Protocol) 工具包。

功能

影楼后期大师实现了多个实用的图像处理工具:

  • 查询生图任务状态: 查询生图任务状态,并以自然语言形式输出结果
  • 产品图精修: 产品图精修工具,改为白色背景
  • 产品场景渲染图: 产品场景渲染图,通过产品图生成带场景的渲染图
  • 3D电商KV海报: 生成 3D 电商 KV 海报
  • 电商产品海报: 质感商业级电商产品场景海报
  • 小红书风格海报: 生成小红书风格的海报
  • 宠物风格海报: 生成卡通风格宠物海报(默认 16:9)

部署 MCP

{
  "mcpServers": {
    "e-commerce-master": {
      "args": ["-y","@pidanmoe/e-commerce-master"],
      "command": "npx",
      "env": {
        "LIB_SECRET_KEY": "",
        "LIB_ACCESS_KEY": ""
      }
    }
  }
}

使用说明

该项目遵循 Model Context Protocol 规范,可以通过标准 I/O 或其他传输方式与支持 MCP 的客户端进行通信。

工具介绍

产品图精修

产品图精修工具,对商品图片进行专业精修处理

  • 必填参数:
    • productImageUrl: 商品图的 URL 地址
  • 返回: 生图任务结果

产品场景渲染图

通过产品图生成带场景的渲染图工具,基于产品图片生成具有特定场景的高质量渲染图

  • 必填参数:
    • productImageUrl: 产品图的 URL 地址
    • prompt: 场景描述提示词
  • 可选参数:
    • size: 生成图片尺寸,可选 1k、2k、4k
    • width: 图片宽度
    • height: 图片高度
  • 返回: 生图任务结果

查询生图任务状态

查询生图任务状态,并以自然语言形式输出结果

  • 必填参数:
    • generateUuid: 生图任务 UUID,发起生图任务时返回的字段
  • 返回: 任务状态的自然语言描述

3D 电商 KV 海报

生成 3D 电商 KV 海报

  • 可选参数:
    • prompt: 提示词,建议:FY style + 自然语言描述内容
  • 默认参数:
    • 使用赛博朋克风格的电商促销场景提示词
  • 返回: 生图任务结果

电商产品海报

质感商业级电商产品场景海报

  • 可选参数:
    • prompt: 提示词,建议:Product Scene Poster + 自然语言描述内容
  • 默认参数:
    • 使用商业级奢侈品香水摄影提示词
  • 返回: 生图任务结果

小红书风格海报

生成小红书风格的海报

  • 可选参数:
    • prompt: 提示词,建议:FY style + 自然语言描述内容
  • 默认参数:
    • 使用升学季海报提示词
  • 返回: 生图任务结果

宠物风格海报

生成卡通风格宠物海报(默认 16:9)

  • 可选参数:
    • prompt: 提示词
  • 默认参数:
    • 使用可爱宠物主题提示词
  • 返回: 生图任务结果

安装依赖

bun install

运行项目

bun run dev

调试项目

bun run inspect

构建项目

bun run build

项目结构

技术栈

  • Bun - JavaScript/TypeScript 运行时
  • FastMCP - MCP 框架
  • Zod - TypeScript-first schema declaration and validation library

此项目使用 bun v1.2.19 创建。Bun 是一个快速的一体化 JavaScript 运行时。