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

autoclipper

v1.0.9

Published

remove image background and crop size

Readme

Autoclipper MCP 服务器

一个基于 Model Context Protocol (MCP) 的图片处理服务器,支持图片背景去除、边框裁剪、尺寸调整、背景填充等功能。

功能特性

🚀 快速响应工具

  • find_images: 查找指定目录下的图片文件
  • get_image_info: 获取单张图片的详细信息
  • query_task_progress: 查询异步任务的执行进度

⏳ 异步处理工具(返回任务ID)

  • remove_background: 去除图片背景
  • crop_border: 裁剪图片透明边框
  • resize_image: 调整图片尺寸
  • fill_background: 填充图片背景
  • crop_and_process: 组合处理(去除背景+裁剪边框+调整尺寸+填充背景)

📦 批量异步处理工具

  • batch_remove_background: 批量去除背景
  • batch_crop_border: 批量裁剪边框
  • batch_resize: 批量调整尺寸
  • batch_fill_background: 批量填充背景
  • batch_crop_and_process: 批量组合处理

安装

NPM安装

npm install autoclipper

Cursor安装

{
  "mcpServers": {
    "autoclipper": {
      "command": "npx",
      "args": [ "autoclipper" ]
    }
  }
}

注意事项

  1. 响应时间保证: 所有服务响应时间不超过1秒
  2. 异步处理: 图片处理任务在后台异步执行
  3. 进度查询: 使用 query_task_progress 工具定期查询任务进度
  4. 任务清理: 系统会自动清理已完成的任务,保留最近100个
  5. 错误处理: 任务失败时会返回详细的错误信息

技术架构

  • MCP服务器: 基于 @modelcontextprotocol/sdk
  • 图片处理: 使用 @imgly/background-removal-node 和 sharp
  • 任务管理: 内存中的任务队列和状态管理
  • 异步执行: Node.js 异步任务处理