Skip to main content

Overview

The Poof MCP (Model Context Protocol) server enables powerful background removal capabilities directly within AI development environments like Cursor, Claude Desktop, and VS Code. This integration allows AI models to remove backgrounds from images during your conversation. Model Context Protocol (MCP) is an open standard developed by Anthropic that enables AI assistants to securely connect with external tools and data sources — a standardized way for AI assistants to discover and use capabilities from external services.

Features

  • Multi-Platform Support — Works with Claude, Claude Code, ChatGPT, Cursor, Windsurf, VS Code, and more
  • Remote or Local — Connect via the hosted server at https://api.poof.bg/mcp (OAuth) or run locally over stdio
  • AI-First Design — Natural language interface for background removal
  • Multiple Tools — Remove backgrounds and check account balance

Installation

The easiest way to connect is the hosted remote server at https://api.poof.bg/mcp — no installation needed, and OAuth handles authentication. See Integration Setup below. To run the server locally instead (stdio transport):
Or install globally:

Integration Setup

Claude / Claude Desktop / Cowork

Connect directly from Claude without manually configuring an API key.
  1. Go to SettingsConnectors
  2. Click Add custom connector and enter Poof as the name and https://api.poof.bg/mcp as the URL. Click Add.
  3. Click Authorize when prompted to grant MCP access.

Claude Code

  1. Add the Poof MCP server:
  1. Run /mcp in Claude Code and select Authenticate for Poof to complete the OAuth flow in your browser.

ChatGPT

  1. Go to SettingsApps & Connectors
  2. Click Create to add a new connector
  3. Enter Poof as the name and https://api.poof.bg/mcp as the connector URL
  4. Click Save
To use it in a conversation, click the + icon in the composer, select MoreDeveloper mode, and choose the Poof connector.

Cursor

  1. Open Cursor Settings
  2. Navigate to MCPs & IntegrationsNew MCP Server
  3. Add new MCP server:

Windsurf

Add to ~/.windsurf/cascade/config.json:

VS Code

Using the MCP extension:
  1. Install the MCP extension
  2. Add Poof server configuration
  3. Set your API key in environment settings

Other Clients

The configuration pattern is consistent across MCP clients. For remote access, point the client at https://api.poof.bg/mcp. For local stdio, specify the command (npx -y @poof-bg/mcp) and the POOF_API_KEY environment variable.

Configuration

Environment Variables

  • POOF_API_KEY: Your Poof API key (required for local stdio; remote connections can use OAuth instead). Get yours at dash.poof.bg.

Available Tools

Once configured, your AI assistant has access to these tools:

remove_background

Remove the background from an image. Accepts a URL or base64-encoded image data and returns the processed image as base64. Parameters:

get_account

Check your account balance, plan details, and credit usage. Parameters: None Returns:

Example Conversations

Remove Background from an Image

You: Remove the background from this image: https://example.com/product.jpg
Claude: I’ll remove the background from that image for you. [Uses remove_background tool with the URL] Done! The background has been removed and here’s the result with a transparent background.

White Background for E-commerce

You: Take this product photo, remove the background, and give me a white background version for our website
Claude: I’ll process that product image with a white background for your website. [Uses remove_background with channels=“rgb”, bg_color=“#ffffff”, format=“jpg”] Done! I’ve created a version with a clean white background, perfect for e-commerce display.

Check Account Status

You: How many Poof credits do I have left?
Claude: Let me check your account. [Uses get_account tool] You’re on the Pro plan with 3,766 credits remaining out of 5,000 this billing cycle.

Troubleshooting

Server Not Appearing

  1. Verify JSON syntax: Use a JSON validator to ensure your config file is valid
  2. Check API key: Ensure your POOF_API_KEY is correct and active at dash.poof.bg
  3. Full restart: Quit the client completely and reopen
  4. Check logs: Look at your client’s developer console for error messages

API Errors

If you see authentication or API errors:
  1. Verify your API key is correct
  2. Check your credit balance at dash.poof.bg
  3. Ensure your API key has not expired or been revoked

”Command not found” Errors

If npx is not found when running the local server:
  1. Ensure Node.js is installed: node --version (requires Node.js 18+)
  2. Try installing the server globally: npm install -g @poof-bg/mcp
  3. Use the global command in your config: "command": "poof-mcp"

Support