AutomationFlowsWeb Scraping › Background Removal API Mcp Server

Background Removal API Mcp Server

ByDavid Ashby @cfomodz on n8n.io

Complete MCP server exposing 3 Background Removal API operations to AI agents.

Event trigger★★★☆☆ complexityAI-powered9 nodesMcp TriggerHTTP Request Tool
Web Scraping Trigger: Event Nodes: 9 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #5640 — we link there as the canonical source.

This workflow follows the HTTP Request Tool → Mcptrigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "ZijXs996AMDHxafz",
  "meta": null,
  "name": "Background Removal API MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "e6a0a1d3-893b-440a-a33c-04444c223897",
      "name": "Setup Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### \u2699\ufe0f Setup Instructions\n\n1. **Import Workflow**: \nLoad this workflow into your n8n instance\n\n2. **Configure Authentication**: \nSet up apiKey credentials\n   - Type: API Key in header\n   - Key name: X-API-Key\n\n3. **Activate Workflow**:\nEnable the workflow to start the MCP server\n\n4. **Get MCP URL**: \nCopy the webhook URL from the MCP trigger\n\n5. **Connect AI Agent**:\nUse the MCP URL in your AI agent configuration\n\n\n### \ud83d\udca1 Usage Notes\n\u2022 Parameters are auto-populated by AI using $fromAI() expressions\n\u2022 With 3 API endpoints available as tools\n\u2022 Responses maintain original API structure\n\n\n### \ud83d\udee0\ufe0f Customization\n\u2022 Add data transformation nodes if needed\n\u2022 Implement custom error handling\n\u2022 Add logging or monitoring nodes\n\n\u2022 Modify parameter defaults in any HTTP request node as needed\n\n### \ud83d\udcac Need Help?\nPing me on [discord](https://discord.me/cfomodz) for integration guidance and custom automations. Check the [n8n documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/) for more information."
      },
      "typeVersion": 1
    },
    {
      "id": "e8132198-28e7-427d-a11a-708c4164c5d2",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -100
      ],
      "parameters": {
        "width": 320,
        "height": 560,
        "content": "## \ud83d\udee0\ufe0f Background Removal MCP Server \u2705 3 operations\n\n### About\nRemove the background of any image\n\n### \ud83d\udd27 How it Works\n\nThis workflow converts the Background Removal API into an MCP-compatible interface for AI agents.\n\n\u2022 **MCP Trigger**: Serves as your server endpoint for AI agent requests\n\u2022 **HTTP Request Nodes**: Handle API calls to https://api.remove.bg/v1.0\n\u2022 **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n\u2022 **Native Integration**: Returns responses directly to the AI agent\n"
      },
      "typeVersion": 1
    },
    {
      "id": "6af1d351-70a0-4ea1-8a52-a3e01f4362b7",
      "name": "Background Removal MCP Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -940,
        -240
      ],
      "parameters": {
        "path": "background-removal-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "c44b5257-5fa5-4966-bf1d-cc3129aec5e7",
      "name": "Fetch Account Balance",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -640,
        80
      ],
      "parameters": {
        "url": "=https://api.remove.bg/v1.0/account",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Fetch credit balance and free API calls."
      },
      "typeVersion": 4.2
    },
    {
      "id": "8e133695-4a0a-4063-a755-8bed53d9b5b7",
      "name": "Grid Note 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## Fetch Account Info"
      },
      "typeVersion": 1
    },
    {
      "id": "f613d1eb-b71f-41a8-b2fb-f620ae2604b5",
      "name": "Submit Image for Improvement",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -360,
        80
      ],
      "parameters": {
        "url": "=https://api.remove.bg/v1.0/improve",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Submit an image to the remove.bg Improvement program * Contribute an image that remove.bg is currently not able to remove the background from properly * Help us make remove.bg better * Get better results for similiar images in the future Notes: * By submitting images through the API you agree to the <a target=\"_blank\" rel=\"noopener\" href=\"/ipc\">Improvement Program Conditions</a> * File size: up to 12MB * up to 100 files per day. Higher Rate Limits are available for Enterprise customers <a href=\"/support/contact?subject=Improvement+Program+Rate+Limit\">upon request</a>. Requires either an API Key to be provided in the `X-API-Key` request header or an OAuth 2.0 access token to be provided in the `Authorization` request header. Please note that submissions are used on a best-effort basis and the extent of expected improvement varies depending on many factors, including the number of provided images, their complexity and visual similarity. Improvements usually take several weeks to become effective."
      },
      "typeVersion": 4.2
    },
    {
      "id": "f994c2bc-3510-44b3-bde2-dd9205a8b848",
      "name": "Grid Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## Improvement Program"
      },
      "typeVersion": 1
    },
    {
      "id": "b16c434a-0683-4ff7-87bd-a21dfe9d784e",
      "name": "Remove Image Background",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -80,
        80
      ],
      "parameters": {
        "url": "=https://api.remove.bg/v1.0/removebg",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Remove the background of an image"
      },
      "typeVersion": 4.2
    },
    {
      "id": "31233f7b-c3f8-4700-8e1b-a3bdbf08b299",
      "name": "Grid Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## Background Removal"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-03T05:52:50.006Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-03T05:52:50.006Z",
      "workflowId": "ZijXs996AMDHxafz"
    }
  ],
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-03T05:52:50.004Z",
  "updatedAt": "2025-07-03T16:27:13.000Z",
  "versionId": "f0d42a0b-40e2-474e-8ddb-b89dd0e79fd1",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Fetch Account Balance": {
      "ai_tool": [
        [
          {
            "node": "Background Removal MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Remove Image Background": {
      "ai_tool": [
        [
          {
            "node": "Background Removal MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Submit Image for Improvement": {
      "ai_tool": [
        [
          {
            "node": "Background Removal MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Complete MCP server exposing 3 Background Removal API operations to AI agents.

Source: https://n8n.io/workflows/5640/ — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

Complete MCP server exposing 21 api.clarify.io API operations to AI agents.

Mcp Trigger, HTTP Request Tool
Web Scraping

Complete MCP server exposing 9 NPR Listening Service API operations to AI agents.

Mcp Trigger, HTTP Request Tool
Web Scraping

Complete MCP server exposing 14 Domains-Index API operations to AI agents.

Mcp Trigger, HTTP Request Tool
Web Scraping

Complete MCP server exposing 9 Api2Pdf - PDF Generation, Powered by AWS Lambda API operations to AI agents.

Mcp Trigger, HTTP Request Tool
Web Scraping

A lean MCP Server that exposes the essential Trello tools for everyday task management. Built for clean, reliable LLM automation with n8n, ChatGPT, or Gemini.

Mcp Trigger, Trello Tool, HTTP Request Tool