ChatGPT
In Settings → Apps, turn on developer mode and create an app with the server URL https://removebackground.dev/mcp and OAuth sign-in. Connect, sign in to removebackground.dev, then upload a photo and ask for the background to be removed.
Add removebackground.dev to your AI app once, then ask it to cut out a photo. You get a transparent PNG back in the chat, made by the same engine as the website.
https://removebackground.dev/mcpApps sign in with your removebackground.dev account. Apps that can't sign in can use an API key instead.
In Settings → Apps, turn on developer mode and create an app with the server URL https://removebackground.dev/mcp and OAuth sign-in. Connect, sign in to removebackground.dev, then upload a photo and ask for the background to be removed.
In Settings → Connectors, choose Add custom connector, paste https://removebackground.dev/mcp and click Connect. Sign in to removebackground.dev and allow access.
Run this once, then type /mcp in Claude Code to sign in.
claude mcp add --transport http removebackground https://removebackground.dev/mcpAdd this to ~/.cursor/mcp.json. Cursor asks you to sign in the first time it uses the server.
{
"mcpServers": {
"removebackground": {
"url": "https://removebackground.dev/mcp"
}
}
}Add this to .vscode/mcp.json, then start the server from the file and sign in.
{
"servers": {
"removebackground": {
"type": "http",
"url": "https://removebackground.dev/mcp"
}
}
}Add an MCP Client node (or MCP Client Tool for an AI agent). Set the transport to HTTP Streamable, the URL to https://removebackground.dev/mcp and authentication to Bearer with your API key.
Any MCP app that lets you add headers works with an API key. Create one under API keys on your account page and send it as Authorization: Bearer (or X-Api-Key).
Authorization: Bearer rbg_your_api_key| Tool | What it does |
|---|---|
remove_background | Removes the background from an uploaded image, an image URL or base64 data. Returns a download link (PNG, WebP or JPG) and a preview. Options: a background colour, size and cropping to the subject. |
get_job | Gets the result of a removal that took longer than a few seconds. |
check_credits | Shows how many credits are left on your account. |
Each image costs 1 credit, the same as the API. Failed images are free and credits never expire. New accounts start with 50 free credits.
Each image the AI app processes uses 1 credit from your account. New accounts get 50 free credits, and credit packs never expire.
No. ChatGPT, Claude, Cursor and VS Code sign in with your removebackground.dev account. An API key is only needed for apps that can't sign in, such as n8n.
They are used only to make your cut-out. Uploads and results are deleted after 48 hours, and download links stop working after 24 hours.
Each connected app gets its own key, named after the app, under API keys on your account page. Revoke it and the app is disconnected straight away.
JPG, PNG and WebP up to 25 MB. Results are transparent PNG by default, or WebP, or JPG on a background colour you choose.
Make an account to connect your AI apps, or drop an image on the homepage to see the result.