# Remover Fundo — how to use (mcp.ai)

Removes the background from an image by URL, cutting out the foreground person or object with AI and returning a PNG with a transparent background. Optionally swaps the background for a solid color or resizes. Takes a few seconds, no credentials, platform-hosted.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_removebg?ms=1786693920000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `removebg_remove`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/removebg`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/removebg/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/removebg/remove` — Remove o fundo de uma imagem apontada por URL: recorta o objeto/pessoa em primeiro plano e devolve um link de download do resultado (PNG com fundo transparente por padrão), que também fica na aba Arqu
  - body: { image_url: string, format?: string, background?: string, max_width?: integer }

## Example prompts
- "Remove the background from this product photo: https://…/sneaker.jpg"
- "Cut out the person in this image and make the background white"
- "Strip the background from this logo and give me a transparent PNG"

## More
- Page: https://mcp.ai/removebg
- Agent spec (llms.txt): https://mcp.ai/removebg/llms.txt
- Postman collection: https://mcp.ai/removebg/postman.json
