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 athttps://api.poof.bg/mcp — no installation needed, and OAuth handles authentication. See Integration Setup below.
To run the server locally instead (stdio transport):
Integration Setup
Claude / Claude Desktop / Cowork
Connect directly from Claude without manually configuring an API key.- Go to Settings → Connectors
- Click Add custom connector and enter
Poofas the name andhttps://api.poof.bg/mcpas the URL. Click Add. - Click Authorize when prompted to grant MCP access.
Claude Code
- Add the Poof MCP server:
- Run
/mcpin Claude Code and select Authenticate for Poof to complete the OAuth flow in your browser.
ChatGPT
- Go to Settings → Apps & Connectors
- Click Create to add a new connector
- Enter
Poofas the name andhttps://api.poof.bg/mcpas the connector URL - Click Save
Cursor
- Open Cursor Settings
- Navigate to MCPs & Integrations → New MCP Server
- Add new MCP server:
Windsurf
Add to~/.windsurf/cascade/config.json:
VS Code
Using the MCP extension:- Install the MCP extension
- Add Poof server configuration
- Set your API key in environment settings
Other Clients
The configuration pattern is consistent across MCP clients. For remote access, point the client athttps://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
- Verify JSON syntax: Use a JSON validator to ensure your config file is valid
- Check API key: Ensure your
POOF_API_KEYis correct and active at dash.poof.bg - Full restart: Quit the client completely and reopen
- Check logs: Look at your client’s developer console for error messages
API Errors
If you see authentication or API errors:- Verify your API key is correct
- Check your credit balance at dash.poof.bg
- Ensure your API key has not expired or been revoked
”Command not found” Errors
If npx is not found when running the local server:- Ensure Node.js is installed:
node --version(requires Node.js 18+) - Try installing the server globally:
npm install -g @poof-bg/mcp - Use the global command in your config:
"command": "poof-mcp"