Skip to main content
Glama
DropBG AI Background Remover

DropBG AI Background Remover

Official

dropbg-mcp

Zero-dependency Model Context Protocol (MCP) stdio server for DropBG. 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.

Quick Setup (Zero API Key Required)

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

Related MCP server: Media Toolkit MCP Server

Available Tools

1. remove_background_file

Removes the background from a local image file and writes the result to disk.

  • input_path (string, required): Local path to PNG, JPG, JPEG, or WEBP image.

  • output_path (string, optional): Output file path (defaults to <name>_cutout.png or .jpg when using solid bg_color).

  • bg_color (string, optional): 6-digit hex color (e.g. #FFFFFF for Amazon/passport photos). Omit for transparent PNG.

  • format ("auto" | "png" | "jpg" | "jpeg", optional, default "auto").

  • size ("auto" | "preview" | "full" | "regular" | "medium" | "hd" | "4k", optional, default "auto").

  • defringe (boolean, optional, default true): Color decontamination along fine hair/fur edges.

2. remove_background_url

Removes the background from a public http:// or https:// image URL and saves it to a local path.

  • image_url (string, required): Public image URL.

  • output_path (string, required): Destination file path.

  • bg_color, format, size, defringe: Same as above.

3. remove_background_batch

Sequentially removes backgrounds from up to 10 local image files and saves cutouts to disk or a target output_dir.

  • input_paths (string[], required): Local image paths (max 10).

  • output_dir (string, optional): Destination directory.

  • bg_color, format, defringe: Same as above.

Testing

npm test --prefix apps/mcp

Available Tools

3 tools
remove_background_batchA

Remove backgrounds from multiple local image files sequentially (up to 10 files per batch) and save the cutouts to disk.

Inputs: input_paths (required), format, bg_color, defringe, +1 more.

remove_background_fileA

Remove the background from a local image file (PNG, JPG, JPEG, WEBP) using DropBG and save the transparent PNG or solid-color cutout to disk.

Inputs: input_path (required), size, format, bg_color, +2 more.

remove_background_urlA

Remove the background from a public HTTP/HTTPS image URL using DropBG and save the result to a local file path.

Inputs: image_url (required), output_path (required), size, format, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool is distinguished cleanly by its input source: a single local file, a public URL, or a batch of multiple local files. There is minor conceptual overlap between remove_background_file and remove_background_batch, but the descriptions make the boundary explicit (single vs. up to 10 files).

    Naming Consistency5/5

    All three tools follow a uniform remove_background_<target> pattern in snake_case with a consistent verb phrase. The suffix (_file, _url, _batch) maps predictably to the input mode.

    Tool Count5/5

    Three tools is exactly the right scope for a single-function background-removal service, with one tool per meaningful input channel. Nothing feels padded or missing at the API-shape level.

    Completeness4/5

    The surface covers the realistic input paths (file, URL, batch) and a consistent save-to-disk output model, so no dead ends for the core workflow. Minor gap: no tool to return or preview the result inline, and batch is capped at 10 with no job-status/polling tool for larger workloads.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers