Files
n8nworkflows.xyz/workflows/Background Removal API MCP Server-5640/background_removal_api_mcp_server.json
nusquama 50e939d7b4 creation
2025-11-12 20:17:05 +01:00

1 line
6.9 KiB
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":"### ⚙️ 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### 💡 Usage Notes\n• Parameters are auto-populated by AI using $fromAI() expressions\n• With 3 API endpoints available as tools\n• Responses maintain original API structure\n\n\n### 🛠️ Customization\n• Add data transformation nodes if needed\n• Implement custom error handling\n• Add logging or monitoring nodes\n\n• Modify parameter defaults in any HTTP request node as needed\n\n### 💬 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":"## 🛠️ Background Removal MCP Server ✅ 3 operations\n\n### About\nRemove the background of any image\n\n### 🔧 How it Works\n\nThis workflow converts the Background Removal API into an MCP-compatible interface for AI agents.\n\n• **MCP Trigger**: Serves as your server endpoint for AI agent requests\n• **HTTP Request Nodes**: Handle API calls to https://api.remove.bg/v1.0\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **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],"webhookId":"ac0e380e-976a-4538-abfa-8d4d7e9896ad","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"}],"pinData":{},"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}