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 分