Skip to content
Back to search

dropbg-mcp

Official Model Context Protocol (MCP) server for DropBG (dropbg.io) — free AI background removal for local image files and URLs. Works with Claude, Cursor, DeepSeek, Qwen, Kimi, GLM, Trae, Cherry Studio, Windsurf, Cline & Roo Code with no API key required.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/dropbg--dropbg-mcp/badge.svg)](/listings/dropbg--dropbg-mcp)

HTML

<a href="/listings/dropbg--dropbg-mcp"><img src="/api/listings/dropbg--dropbg-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Cursor, Claude Desktop, Trae, Cherry Studio, Windsurf, Cline & Roo Code

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

Claude Code CLI

claude mcp add dropbg -- npx -y dropbg-mcp

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 56 lines
  1. # dropbg-mcp
  2. Zero-dependency Model Context Protocol (MCP) `stdio` server for [DropBG](https://dropbg.io). Works with **Claude, DeepSeek, Qwen, Kimi, and GLM** across **Claude Desktop, Cursor, Claude Code, Trae, Cherry Studio, Windsurf, Cline, Roo Code, and Ollama** clients — removing backgrounds from local images or URLs and saving cutouts directly to disk without bloating context windows with base64 strings.
  3. ## Quick Setup (Zero API Key Required)
  4. ### Cursor, Claude Desktop, Trae, Cherry Studio, Windsurf, Cline & Roo Code
  5. ```json
  6. {
  7. "mcpServers": {
  8. "dropbg": {
  9. "command": "npx",
  10. "args": ["-y", "dropbg-mcp"]
  11. }
  12. }
  13. }
  14. ```
  15. ### Claude Code CLI
  16. ```bash
  17. claude mcp add dropbg -- npx -y dropbg-mcp
  18. ```
  19. ## Available Tools
  20. ### 1. `remove_background_file`
  21. Removes the background from a local image file and writes the result to disk.
  22. - `input_path` (`string`, required): Local path to PNG, JPG, JPEG, or WEBP image.
  23. - `output_path` (`string`, optional): Output file path (defaults to `<name>_cutout.png` or `.jpg` when using solid `bg_color`).
  24. - `bg_color` (`string`, optional): 6-digit hex color (e.g. `#FFFFFF` for Amazon/passport photos). Omit for transparent PNG.
  25. - `format` (`"auto" | "png" | "jpg" | "jpeg"`, optional, default `"auto"`).
  26. - `size` (`"auto" | "preview" | "full" | "regular" | "medium" | "hd" | "4k"`, optional, default `"auto"`).
  27. - `defringe` (`boolean`, optional, default `true`): Color decontamination along fine hair/fur edges.
  28. ### 2. `remove_background_url`
  29. Removes the background from a public `http://` or `https://` image URL and saves it to a local path.
  30. - `image_url` (`string`, required): Public image URL.
  31. - `output_path` (`string`, required): Destination file path.
  32. - `bg_color`, `format`, `size`, `defringe`: Same as above.
  33. ### 3. `remove_background_batch`
  34. Sequentially removes backgrounds from up to 10 local image files and saves cutouts to disk or a target `output_dir`.
  35. - `input_paths` (`string[]`, required): Local image paths (max 10).
  36. - `output_dir` (`string`, optional): Destination directory.
  37. - `bg_color`, `format`, `defringe`: Same as above.
  38. ## Testing
  39. ```bash
  40. npm test --prefix apps/mcp
  41. ```

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.