Back to Directory/Media & Images

io.github.jaupin94/lassocut-mcp

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

Media & ImagesJavaScriptv1.0.1

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:

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):

{ "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.
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.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y lassocut-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

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

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

lassocut-mcpnpm

Compatible MCP Clients

io.github.jaupin94/lassocut-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More