Lassocut Mcp

io.github.jaupin94由 GitHub 账号 jaupin94 发布v1.1.0更新于 Oct 30, 2026

Remove image backgrounds from AI assistants with a LassoCut account (files, folders, URLs).

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

通过 LassoCut API 去除图片背景,让助手处理单个文件、整个文件夹或图片链接,并把结果保存到本地。

可以做什么
  • 对文件路径、文件夹内图片或 http(s) 链接的图片去除背景,每次最多 50 张
  • 设置输出尺寸、背景颜色、格式、裁剪、电商平台预设和投影效果
  • 把结果保存在原图旁或指定的输出目录,且不覆盖已有文件
  • 查询 LassoCut 积分余额和当前可用的免费预览次数
  • 通过浏览器授权页面登录 LassoCut 账号
适用场景
适合让助手在对话中批量处理商品图、人像或其他图片,用于上架、演示或设计,尤其是需要 Amazon、eBay、Etsy、Shopify、Zalando 或 Instagram 平台预设时。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js 20 或更高版本。需要 LassoCut 账号:可用 sign_in 工具登录、复用 lassocut 命令行登录保存的密钥,或设置 LASSOCUT_API_KEY 环境变量。需要能访问 LassoCut API 的网络。
安装前请注意
处理会消耗 LassoCut 积分:预览每张 0.25 积分,每月 50 次免费、每天最多 10 次;全尺寸每张 1 积分。全尺寸请求超过 10 张时需先明确确认费用。图片(包括本地文件)会上传到 LassoCut API。LASSOCUT_API_KEY 密钥保存在配置中,并优先于已登录的密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lassocut Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

LassoCut MCP

Remove image backgrounds from your AI assistant with a LassoCut account. The API is compatible with the remove.bg API.

What it does

Ask Claude (or any MCP-compatible assistant) to cut out product photos, portraits, whole folders, or images from a URL. Results are saved next to the originals as <name>-no-bg.<ext> and existing files are never overwritten — a name already taken gets -2, -3, and so on instead.

By default, every image is processed as a low-cost preview (0.25 credit, 50 free a month, up to 10 a day). Full-size output costs 1 credit per image and is only used when you explicitly ask for it; above 10 full-size images, the assistant must show you the cost and get your OK first.

Install

Claude Desktop: download lassocut.mcpb and double-click it.

Claude Code:

bash
claude mcp add lassocut -- npx -y lassocut-mcp

On Windows: claude mcp add lassocut -- cmd /c npx -y lassocut-mcp

Cursor / Windsurf (or any other MCP client that reads a JSON config):

json
{ "mcpServers": { "lassocut": { "command": "npx", "args": ["-y", "lassocut-mcp"] } } }

Requires Node.js 20 or later.

Sign in

You need a LassoCut account and API key. Three ways to connect:

  1. Ask the assistant to sign in. It calls the sign_in tool, which opens the LassoCut approval page in your browser and returns the approval link and a short code right away. Approve the connection in the browser, then ask the assistant to check your credits (get_credits) — the key is saved automatically in the background (the approval window stays open for a few minutes).
  2. Already signed in with the lassocut command-line tool? This connector reads the same saved key from lassocut login, so no extra step is needed.
  3. Set the LASSOCUT_API_KEY environment variable (or the api_key field in Claude Desktop's extension settings) to a key from your LassoCut account page. This always takes precedence over a signed-in key.

Tools

remove_background

Remove the background of one or more images.

ParameterDescription
imagesA file path, a folder path (its images, not subfolders), an http(s) URL, or a list of any of these. Up to 50 per call.
sizepreview (default) or full.
backgroundtransparent (default), a hex color such as #ffffff, or a color name.
formatpng (default), jpg, or webp.
cropCrop the result to the subject.
presetnone (default), amazon, ebay, etsy, shopify, zalando or instagram. A preset sets the background, format and crop itself (those arguments are ignored), saves a .jpg, and reports any file that is not compliant. Use size full for marketplace uploads; a preview is enlarged and looks soft. Compliant means compliant with the image rules LassoCut checks.
shadownone (default) or cast. Not available with the zalando preset.
light_angleShadow light angle, -90 to 90 (positive: light from the left). Default 45.
shadow_lengthshort, medium or long.
shadow_strengthShadow strength, 0 to 100 (soft 35, normal 55, strong 75).
output_dirWhere to save results. Must be an absolute path (~ is expanded). If omitted: next to each original file, or your Downloads folder (falling back to your home folder) for images fetched from a URL.
confirm_costSet to true only after the user has confirmed the cost of a full-size request over 10 images.

Files larger than 22 MB are skipped. Up to 3 small thumbnails are returned inline with the result.

get_credits

Shows your current credit balance and the free previews available now (50 a month, up to 10 a day).

sign_in

Connects a LassoCut account: opens the approval page in your browser and returns immediately with the link and code so you can approve at your own pace. Pass force: true to switch to a different account.

Credits and safety

  • Previews are the default everywhere; full-size output is never used unless asked for.
  • Requesting full size for more than 10 images at once requires an explicit confirmation, with the cost shown up front.
  • If your balance is too low for a full-size request, it is refused before any image is sent.
  • Files are only ever sent to the LassoCut API — see Privacy below.

Privacy

Images are sent only to the LassoCut API to remove their background; they are not sent anywhere else. See the LassoCut privacy policy for details.


remove.bg is a trademark of Canva Austria GmbH. LassoCut is an independent product of JAUPIN Design LLC and is not affiliated with, endorsed by, or sponsored by Canva or remove.bg.

License

MIT — see LICENSE.

来源:README.md,提交 10e9ba9

工具

3

remove_background

Remove the background of images with LassoCut. Accepts file paths, folders (their images, not subfolders) or http(s) URLs, up to 50 per call. Saves '<name>-no-bg.<ext>' next to each original (or in output_dir) and never overwrites. Uses size 'preview' (0.25 credit, 50 free a month, up to 10 a day) unless the user explicitly asks for full size.

输入参数cropsizeformatimages必填presetshadowbackgroundoutput_dirlight_angleconfirm_costshadow_lengthshadow_strength

get_credits

Show the LassoCut credit balance and the free previews available now (50 a month, up to 10 a day).

无需输入参数。

sign_in

Connect a LassoCut account: opens the LassoCut approval page in the browser and returns right away with the URL and code. Approval is saved automatically in the background (up to 5 minutes); call get_credits afterwards to check. Use force: true to switch accounts.

输入参数force

版本历史

3
  1. v1.1.0最新Oct 22, 2026
  2. v1.0.1Sep 29, 2026
  3. v1.0.0Sep 29, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分