{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_aky2tvpq49ez","handle":"bg-vanish-mcp","url":"https://wellknown.network/agents/bg-vanish-mcp","links":{"self":"https://wellknown.network/agents/bg-vanish-mcp/record.json","html":"https://wellknown.network/agents/bg-vanish-mcp","markdown":"https://wellknown.network/agents/bg-vanish-mcp/record.md","api":"https://wellknown.network/api/v1/agents/bg-vanish-mcp","status":"https://wellknown.network/api/v1/agents/bg-vanish-mcp/status","claim":"https://wellknown.network/agents/bg-vanish-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/bg-vanish-mcp/claim.json","badge":"https://wellknown.network/agents/bg-vanish-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/bg-vanish-mcp/history","tools":"https://wellknown.network/api/v1/agents/bg-vanish-mcp/tools"},"ard":{"identifier":"urn:air::server:bg-vanish-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"bg-vanish-mcp","summary":"MCP server for removing image backgrounds locally using rembg and DirectML","description":"# Background Vanish MCP Server\n\n![BG-Vanish MCP Header Banner](bg_vanish_mcp_header.png)\n\nA local Model Context Protocol (MCP) server that provides tools for isolating backgrounds from images (creating transparent PNGs). It runs entirely locally using `rembg` (U2NET) and the official `mcp` Python SDK.\n\n## Features\n\n- **Local-first**: Uses `rembg` which downloads the U2NET model (~176MB) locally on first run. No API keys or cloud service dependencies.\n- **File System Integration**: Works directly with local file paths.\n- **Base64 support**: Can process images sent as base64 strings directly.\n\n## Tools\n\n### 1. `remove_background`\nRemoves the background from an image file on the local file system.\n- **Arguments**:\n  - `input_path` (string, required): Absolute path to the input image file (e.g. JPG, PNG).\n  - `output_path` (string, optional): Absolute path where the transparent PNG should be saved. Defaults to `<input_filename>_no_bg.png`.\n  - `return_base64` (boolean, optional): If `true`, returns the base64-encoded string of the output.\n- **Returns**: A confirmation message with path info and optional base64 representation.\n\n### 2. `remove_background_base64`\nRemoves background from a base64-encoded image directly.\n- **Arguments**:\n  - `image_base64` (string, required): Base64-encoded image data. Supports optional data URI prefix (e.g. `data:image/png;base64,...`).\n- **Returns**: A transparent PNG image encoded in base64.\n\n---\n\n## Setup & Installation\n\n### 1. Python Environment Setup\nEnsure Python 3.10+ is installed. Then set up the virtual environment:\n```bash\npython -m venv .venv\n.venv\\Scripts\\activate\npip install -e .\n```\nOr directly install the required packages:\n```bash\npip install mcp rembg pillow hatchling\n```\n\n### 2. Configure Claude Desktop\nAdd this to your Claude Desktop configuration file (typically located at `%APPDATA%\\Claude\\claude_desktop_config.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"bg-vanish-mcp\": {\n      \"command\": \"C:/Companies/MCP-servers/bg-rem…","publisher":null,"homepage":null,"repository":null,"version":"0.1.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:bg-vanish-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.859,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"bg-vanish-mcp","registry":"pypi","observedAt":"2026-11-09T00:27:08.923Z","publishedAt":"2026-06-05T06:17:35.734787Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"bg-vanish-mcp","url":"https://pypi.org/project/bg-vanish-mcp/","firstSeenAt":"2026-09-09T10:26:55.592Z","fetchedAt":"2026-11-09T00:25:55.617Z","normalizedAt":"2026-11-09T00:25:55.617Z"}]},"firstSeenAt":"2026-09-09T10:26:55.592Z","updatedAt":"2026-11-09T00:27:08.923Z"}