remove-ac-mcp
Provides an official Figma plugin that lets designers send images to remove.ac for background removal without leaving their design file.
Provides a GIMP plugin that removes image backgrounds through the remove.ac cloud API from within the image editor.
Provides a Make (formerly Integromat) app that adds remove.ac background-removal steps to automated no-code scenarios.
Provides an n8n node/app so background removal can be inserted into self-hosted automation workflows.
Provides a Sketch plugin for removing backgrounds from images via remove.ac as part of a design workflow.
remove.ac Official SDKs, CLI, GitHub Action & MCP Server (v1.3.3)
Zero-dependency official developer SDKs, hot-folder CLI, GitHub Action, and Model Context Protocol (MCP) server for remove.ac — the dual-mode background removal platform pairing a free on-device WebAssembly studio with a remove.bg-compatible Cloud GPU REST API (POST https://remove.ac/v1.0/removebg).
Live Web Workbench (Free On-Device WASM + Batch 50 ZIP): https://remove.ac
1-Line
remove.bgAPI Migration Guide (Dec 1, 2026 Shutdown): https://remove.ac/guides/remove-bg-api-migrationInteractive API Sandbox & Docs: https://remove.ac/api-info
Figma, Photoshop UXP, GIMP, Sketch & Make/n8n Integrations: https://remove.ac/plugins
Official MCP Registry ID:
io.github.szp2005/remove-acn8n Community Node:
n8n-nodes-remove-acOpen Inference & Pricing Dataset (
CC BY 4.0): https://remove.ac/benchmarks
Key Capabilities
1:1
remove.bgv1.0 Field Compatibility: Swaphttps://api.remove.bg/v1.0/removebgtohttps://remove.ac/v1.0/removebgusing standardX-Api-Key: rac_live_...headers and form fields (image_file,image_file_b64,image_url,size,format,channels,type,roi,crop,crop_margin,scale,position,bg_color,bg_image_file,bg_image_file_b64,bg_image_url,add_shadow,shadow_type,shadow_opacity,semitransparency), plusPOST /v1.0/improve(submitImprove/submit_improve) for hard-case feedback submissions.Up to 25 MB / 50 MP Zero-Disk Direct GPU Streaming: Single-call
POST https://remove.ac/v1.0/removebguploads up to 25 MB / 50 MP (size=25mp,size=50mp,size=full,size=auto) — including custom local background images (bgImageFile/bg_image_file) — stream transparently at the edge via 180-second single-use HMAC tickets (POST /v1.0/removebg/ticket) directly to ephemeral GPU RAM without disk or database blob persistence.Atomic Credit Holds (
Idempotency-Key): Upstream timeouts or errors automatically release held credits with zero charge. Every verified account starts with 10 full-resolution welcome credits (valid 30 days); pay-as-you-go credit packs never expire.Zero External Runtime Dependencies: The Node.js 18+ SDK, CLI, GitHub Action, MCP stdio server, and Python 3.8+ SDK run purely on standard library primitives (
fetch/cryptoin Node,urllibin Python).Warm Cloud GPU Latency & Cold-Start Timeout Guidance: Warm Cloud GPU cutouts complete in ~1–4 s end-to-end (
0.88–1.04 sGPU /1.58 sE2E at 2.2 MP and1.49–2.01 sGPU /2.26 sE2E at 4K on AIM-500). Because scale-to-zero Cloud GPU instances can take 30–55 s on a cold start after an idle window, set client HTTP timeouts to>= 90 swhen migrating scripts fromremove.bg(the Python SDK defaults to90 s; Node 18+fetchdefaults to300 s).Free Interactive Cloud GPU Previews (
~612px,0Credits): In the web studio (remove.ac/upload), inspect~612px(~0.25 MP) Cloud GPU cutouts for0credits (5/dayon free accounts,30/daywith paid credits; images already within preview dimensions deliver full original resolution free) before spending1credit to unlock full-resolution Max HD (up to50 MP / 25 MB, keeping background/shadow/crop edits).Dec 1 Migration Grant (
30%-50%Off Through Dec 31, 2026) &14-Day Self-Serve Refund: Self-serve checkout auto-applies30%off Starter (10-75PAYG,40mo/yr),40%off Growth (200-500), and50%off High-Volume (1,200-5,000PAYG/mo +1,200yr) on first3monthly cycles, first annual year up to1,200, or non-expiring PAYG packs (up to3orders/account, max1on2,800/5,000; Enterprise2,800/5,000annual concierge-verified viasupport@remove.ac). Initial (non-renewal) orders include a14-day self-serve refund (100%if0credits used; otherwise 1-click proportional refund of remaining unused credits,$0fee,$0.50min payout, up to2self-serve refunds/account; further requests viasupport@remove.ac).Bug & Workflow Idea Credit Rewards: Report bugs, cutout edge cases, or workflow ideas on the remove.ac homepage (up to
3submissions per 24h) to earn5-20non-expiring Cloud GPU credits automatically once verified and accepted.
Related MCP server: techtenstein-bg-mcp
Default size per Surface & Credit Cost
The default output size is not the same on every surface. If you leave size out, the cost per successful image depends on which client you use. To get predictable output and billing, always pass size explicitly.
Surface | Default | Output cap | Credits per successful image |
REST |
| ~0.25 MP |
|
Node.js SDK |
| up to 50 MP |
|
CLI |
| up to 50 MP |
|
Python SDK |
| up to 50 MP |
|
Python |
| ~0.25 MP |
|
MCP server tools ( |
| up to 50 MP |
|
GitHub Action ( |
| up to 50 MP |
|
Desktop app |
| up to 50 MP |
|
Credit cost depends only on the size tier:
preview,small,regular: output capped at ~0.25 MP (250,000 px). Costs0.25credit.medium(1.5 MP),hd(4 MP),4k(10 MP),25mp(25 MP),50mp,full,maximum,auto(up to 50 MP): costs1credit.Failed, rejected (for example
413) or timed-out calls cost0credits. The response headerX-Credits-Chargedreports the actual charge.
Upload Size Limits
Limit | Value | Enforced by |
Single image (foreground or background file) | 25 MiB (26,214,400 bytes) and 50 MP (max 50,000 px per side) | SDKs, CLI, MCP, Action, Desktop (before upload) and the remove.ac edge |
Combined foreground + local background file in one request | 29.5 MiB (30,932,992 bytes) of raw image bytes | SDKs, CLI, MCP and Action (before upload). This leaves 512 KiB of headroom for multipart framing |
Whole HTTP request body | 32 MiB (33,554,432 bytes) | remove.ac edge. Larger requests get |
The client-side 29.5 MiB check always trips before the 32 MiB edge cap. Client error messages call this the "30 MB multipart envelope"; the byte values in the table above are the exact limits.
1. Quick curl Migration
curl -X POST https://remove.ac/v1.0/removebg \
-H "X-Api-Key: rac_live_your_key_here" \
-F "image_file=@photo.jpg" \
-F "size=full" \
-o cutout.png2. Node.js / TypeScript SDK (Node 18+)
Install via npm or GitHub
npm install remove-ac
# via GitHub Packages npm registry (aliased as "remove-ac" for drop-in imports; requires //npm.pkg.github.com/:_authToken=YOUR_GITHUB_PAT in .npmrc):
npm install remove-ac@npm:@szp2005/remove-ac --@szp2005:registry=https://npm.pkg.github.com
# or directly from GitHub:
npm install github:szp2005/remove-ac-sdkUsage (ESM & CommonJS)
Both native ESM (import) and CommonJS (require("remove-ac")) are supported out of the box on Node.js 18/20/22+, including drop-in helpers removeBackgroundFromImageFile, removeBackgroundFromImageUrl, and removeBackgroundFromImageBase64:
import fs from "node:fs";
import { RemoveAcClient } from "remove-ac";
const client = new RemoveAcClient({
apiKey: process.env.REMOVE_AC_API_KEY, // rac_live_...
});
// Files > 4 MB (up to 25 MB / 50 MP) automatically use /v1.0/removebg/ticket zero-disk GPU streaming
const result = await client.removeBackground("./studio-shot-18mb.png", {
size: "full",
format: "png",
bgImageFile: "./studio-backdrop.jpg", // optional path or Buffer/Uint8Array/ArrayBuffer
shadowType: "contact",
});
fs.writeFileSync("./studio-shot-cutout.png", result.buffer);
console.log(`Saved ${result.width}x${result.height} (${result.creditsCharged} credit)`);// CommonJS drop-in migration from npm "remove.bg"
const {
removeBackgroundFromImageFile,
removeBackgroundFromImageUrl,
removeBackgroundFromImageBase64,
} = require("remove-ac");
async function main() {
const result = await removeBackgroundFromImageFile({
path: "./product.jpg",
apiKey: process.env.REMOVE_AC_API_KEY,
size: "regular",
outputFile: "./product-nobg.png",
});
console.log(`Saved ${result.width}x${result.height} (${result.creditsCharged} credit)`);
}
main().catch((err) => {
console.error(err);
process.exit(1);
});3. CLI & --watch Hot-Folder Batch Tool
export REMOVE_AC_API_KEY="rac_live_..."
# Process an entire folder with 4 parallel workers (up to 50 MP)
npx -y -p remove-ac remove-ac ./input-photos --output-dir ./output-pngs --concurrency=4 --size=50mp
# Watch a hot folder continuously and output transparent WebP cutouts
npx -y -p remove-ac remove-ac ./incoming --output-dir ./cutouts --watch --format=webp --crop4. Python SDK (Python 3.8+, Zero External Dependencies)
Install via PyPI or GitHub
Migrating from legacy PyPI
removebg(brilam/remove-bg)? Uninstallremovebgfirst! Python always imports an existingsite-packages/removebg/package directory ahead ofremove-ac'sremovebg.pyshim — leaving the old package installed will silently keep sending your newrac_live_key to the shut-downapi.remove.bgendpoint.
pip uninstall -y removebg
pip install remove-ac
# or directly from GitHub:
pip install git+https://github.com/szp2005/remove-ac-sdk.gitNative Client
from remove_ac import RemoveAcClient
client = RemoveAcClient() # reads REMOVE_AC_API_KEY
png_bytes = client.remove_background(
"product.jpg",
size="full",
shadow_type="contact",
)
with open("product-nobg.png", "wb") as fh:
fh.write(png_bytes)1:1 removebg Drop-In Replacement Shim
Existing scripts written for from removebg import RemoveBg work without rewriting call sites (make sure pip uninstall -y removebg was run first). By default, remove_background_from_img_file("car.jpg") writes car.jpg_no_bg.png and accepts bg_color as the 3rd positional argument (matching legacy brilam/remove-bg), or pass new_file_name="..." as a keyword argument (pass new_file_name="" to return bytes without writing to disk):
from removebg import RemoveBg
rmbg = RemoveBg("rac_live_your_key_here")
# Writes car.jpg_no_bg.png by default (batch-safe, matches legacy brilam/remove-bg)
rmbg.remove_background_from_img_file("car.jpg", size="full")
# Or write to a custom path:
rmbg.remove_background_from_img_file("car.jpg", size="full", new_file_name="car-cutout.png")5. MCP Server (Claude Desktop · Cursor · VS Code · Windsurf · Cline)
remove-ac includes a zero-dependency Model Context Protocol (MCP) stdio server (remove-ac-mcp, Official Registry ID io.github.szp2005/remove-ac) exposing three tools:
remove_background_file— remove background from any local.png/.jpg/.webpup to25 MB / 50 MP(auto-streams>4 MBvia/v1.0/removebg/ticket)remove_background_url— remove background from a publichttps://image URL and save locallyget_account_balance— inspect remainingremove.acAPI credits
For Cline and other AI coding agents, see ./llms-install.md for deterministic step-by-step setup and a zero-key JSON-RPC handshake check.
Claude Desktop / Cursor / Cline Configuration
{
"mcpServers": {
"remove-ac": {
"command": "npx",
"args": ["-y", "remove-ac", "--mcp"],
"env": {
"REMOVE_AC_API_KEY": "rac_live_your_key_here"
}
}
}
}(You can also invoke the dedicated binary directly with "args": ["-y", "-p", "remove-ac", "remove-ac-mcp"].)
6. Official GitHub Action (CI/CD Asset Pipelines)
Automate storefront product cutouts or PR asset cleanup directly inside GitHub Actions:
- name: Remove product photo backgrounds
uses: szp2005/remove-ac-sdk@v1
with:
api_key: ${{ secrets.REMOVE_AC_API_KEY }}
input_path: "assets/raw-products"
output_dir: "assets/transparent-pngs"
size: "50mp"
format: "png"
crop: "true"7. n8n Community Node (n8n-nodes-remove-ac v1.0.3)
In self-hosted or desktop n8n, open Settings → Community Nodes → Install and enter n8n-nodes-remove-ac (v1.0.3) to replace deprecated remove.bg workflow steps with native binary and URL support up to 25 MB / 50 MP.
8. Standalone Desktop App (Windows .exe · macOS Universal .dmg · Linux .AppImage)
desktop/ contains the official standalone Electron desktop application (Remove.ac) for bulk folder and multi-thousand-photo background removal up to 25 MB / 50 MP — requiring zero Node.js or Python installation on end-user machines:
Direct Downloads: https://remove.ac/plugins/desktop (or GitHub Releases)
Installers:
remove-ac-for-windows-1.1.1.exe(NSIS x64),remove-ac-portable-1.1.1.exe(zero-install portable x64),remove-ac-for-macos-1.1.1.dmg(Universal Apple Silicon + Intel), andremove-ac-for-linux-1.1.1.AppImage(x64)First launch: The installers are not code-signed, and the macOS build is not notarized. See Unsigned Binary Notes for SHA-256 verification and the macOS 15+ System Settings → Privacy & Security → Open Anyway steps.
License
MIT © remove.ac
Available Tools
3 toolsget_account_balanceA
Inspect the current remove.ac API credit balance via GET /v1.0/account.
Inputs: no named parameters.
remove_background_fileA
Remove the background from a local image file (.png, .jpg, .jpeg, .webp) via the stateless remove.ac Cloud GPU API (/v1.0/removebg). Files above 4 MB (up to 25 MB / 50 MP) automatically stream via zero-disk /v1.0/removebg/ticket.
Inputs: inputPath (required), crop, size, type, +10 more.
remove_background_urlA
Remove the background from a public HTTPS/HTTP image URL via remove.ac (/v1.0/removebg) and save the cutout locally.
Inputs: imageUrl (required), outputPath (required), crop, size, +10 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools have clearly distinct purposes: background removal from a local file, background removal from a URL, and account balance inspection. The file-vs-URL distinction is explicit in both names and descriptions, leaving no meaningful ambiguity.
All tools use consistent snake_case verb_noun naming: remove_background_file, remove_background_url, and get_account_balance. The pattern is predictable and readable.
Three tools are well-scoped for a focused remove.ac API wrapper. Each tool earns its place: two input modes for the core operation plus one account inspection tool.
The surface covers the core lifecycle: remove backgrounds from both files and URLs, and check remaining credits. Minor gaps exist around advanced options such as output format, masking, or batch operations, but core workflows are covered.
Maintenance
Related MCP Connectors
Remove image backgrounds with U2NetP and return transparent PNG pixels without identifying metadata
Hosted MCP server for AI photo editing: nothing to install, no desktop photo editor needed.
AI-powered image processing via GPU. Remove backgrounds and upscale images (2x/4x) directly from any MCP client. OAuth 2.1 authenticated, returns processed images inline with download links. Free credits on signup at maskr.io.
# Poof **Poof ([poof.bg](https://poof.bg)): a background removal API for AI agents. Send an image, get the subject back on a transparent background in under 2 seconds.** [Poof](https://poof.bg) gives your assistant a background removal tool. It handles people, products, cars, animals, and graphics, with hair-level edge precision, and returns a transparent PNG or WebP, or a solid-colour JPG for product listings. Pricing starts at $0.002 per image, with 100 free credits every month. This repository is the integration front door. The product itself lives at [poof.bg](https://poof.bg); the remote MCP server lives at `https://api.poof.bg/mcp`. ## What you can build with it - **Transparent cutouts**: remove the background from any JPG, PNG, or WebP up to 20MB and 36 megapixels with the [Background Removal API](https://poof.bg/background-removal-api). - **E-commerce product photos**: white or brand-colour backgrounds, cropped to the subject and resized to a fixed canvas, so every listing image matches. - **A remove.bg replacement**: remove.bg shuts down on 1 December 2026. Poof accepts the same inputs, so most integrations only change the endpoint and key. See the [remove.bg alternative and migration guide](https://poof.bg/alternative/remove-bg). - **Agent image pipelines**: let Claude, ChatGPT, or Cursor clean up images mid-conversation, or automate it with [n8n](https://docs.poof.bg/integrations/n8n), [Zapier](https://docs.poof.bg/integrations/zapier), and [Make](https://docs.poof.bg/integrations/make). ## Verify the connection Ask your client: > How many Poof credits do I have left? You should see a `get_account` tool call and your real plan and balance. Then try: > Remove the background from https://example.com/product.jpg and give me a white background JPG. ## What the tools do The server exposes 2 tools. - **`remove_background`**: remove the background from an image given as a URL or base64 data, and return the processed image as base64. Optional parameters control the result: - `format`: `png` (default), `jpg`, or `webp`. - `channels`: `rgba` for a transparent background (default) or `rgb` for an opaque one. - `bg_color`: fill colour for opaque output, as hex, RGB, or a colour name. - `size`: `full` (default), `preview`, `medium`, or `hd`. Ignored when `width` or `height` is set. - `crop`: crop to the subject bounds. - `width` and `height`: 1 to 6000 pixels. Set one and the other follows the aspect ratio. - `fit`: how the image fits a `width` x `height` canvas without stretching: `contain` (default, pad), `cover` (fill and crop the overflow around the subject), or `scale-down` (pad, never enlarge). - **`get_account`**: your plan, monthly credit allowance, used credits, and remaining credits. No parameters. Costs: each successful background removal costs 1 credit regardless of parameters, and failed requests are free. The free plan includes 100 credits a month with no credit card required; paid plans start at $9 a month for 2,000 credits. The [pricing page](https://poof.bg/pricing) has the details. Privacy: Poof is run by an EU company and is GDPR compliant. Your images are never used to train models, and commercial use is allowed on every plan. See the [privacy policy](https://poof.bg/privacy). ## Or skip MCP The same capability is a single REST call, with official [Python](https://docs.poof.bg/integrations/python) and [TypeScript](https://docs.poof.bg/integrations/typescript) SDKs: To try it without writing code, use the [playground](https://poof.bg/playground). The [quickstart](https://docs.poof.bg/quickstart) and the [Node.js tutorial](https://poof.bg/blog/integrating-api-in-nodejs) cover the first integration. ## For AI agents reading this - Docs index: [docs.poof.bg/llms.txt](https://docs.poof.bg/llms.txt) - MCP setup guide: [docs.poof.bg/integrations/mcp](https://docs.poof.bg/integrations/mcp) - API reference: [docs.poof.bg/api-reference/remove-background](https://docs.poof.bg/api-reference/remove-background) - Hosted endpoint: `https://api.poof.bg/mcp` (OAuth) - Source: [github.com/poof-bg/mcp](https://github.com/poof-bg/mcp) ## Docs and support - [Connect guide](https://docs.poof.bg/integrations/mcp) (per-client, kept current) - [Documentation](https://docs.poof.bg) and [all integrations](https://docs.poof.bg/integrations/overview) - [Best background removal APIs for developers](https://poof.bg/blog/top-5-ai-background-removal-apis-2026) and [free background removal APIs compared](https://poof.bg/blog/affordable-free-bg-removal-apis-2026) - [Changelog](https://feedback.poof.bg/changelog) and [support](https://feedback.poof.bg) - [GitHub issues](https://github.com/poof-bg/mcp/issues) - [Privacy](https://poof.bg/privacy) and [terms](https://poof.bg/terms) - Questions: <support@poof.bg>
Related MCP Servers
- AlicenseAqualityDmaintenanceLocal image processing MCP server providing background removal, stock media search, resize, format conversion, and collage creation.5MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables background removal from images (product photos, portraits, cars, or general subjects) returning a transparent PNG.MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for GPU-accelerated image background removal using rembg, running locally without API keys.1-
- FlicenseNot gradedqualityDmaintenanceA modular MCP-style server for image and video processing, offering commands for tasks like background removal, resizing, compression, OCR, video trimming, GIF creation, and subtitle extraction via simple CLI tools.-