Poof Background Removal MCP Server
Enables AI assistants to remove backgrounds from images using the Poof API via URLs, file paths, or base64 encoding. It also allows users to monitor their account information and remaining credit balance.
README
@poof/mcp-server
MCP (Model Context Protocol) server for the Poof background removal API. Use AI assistants like Claude to remove backgrounds from images.
Features
- remove_background - Remove background from images (accepts base64, URL, or file path)
- get_account - Check your account info and credit balance
Installation
npm install -g @poof/mcp-server
Or install locally:
git clone https://github.com/poof-bg/poof-sdks.git
cd poof-sdks/mcp-server
npm install
npm run build
Configuration
Environment Variable
Set your Poof API key:
export POOF_API_KEY=your_api_key_here
Get your API key at dash.poof.bg
Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"poof": {
"command": "npx",
"args": ["-y", "@poof/mcp-server"],
"env": {
"POOF_API_KEY": "your_api_key_here"
}
}
}
}
Or if installed from source:
{
"mcpServers": {
"poof": {
"command": "node",
"args": ["/path/to/poof-sdks/mcp-server/dist/index.js"],
"env": {
"POOF_API_KEY": "your_api_key_here"
}
}
}
}
Tools
remove_background
Remove the background from an image.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
image |
string | Yes | Base64-encoded image, URL, or file path |
format |
string | No | Output format: png, jpg, webp (default: png) |
channels |
string | No | Color channels: rgba for transparency, rgb for opaque (default: rgba) |
bg_color |
string | No | Background color when using rgb channels (e.g., #ffffff) |
size |
string | No | Output size: full, preview, small, medium, large (default: full) |
crop |
boolean | No | Crop to subject bounds (default: false) |
output_path |
string | No | Save result to file instead of returning base64 |
Example prompts:
Remove the background from this image: https://example.com/photo.jpg
Remove the background from /Users/me/photos/headshot.png and save it to /Users/me/photos/headshot-nobg.png
Remove the background and add a white background instead
get_account
Get your account information and credit balance.
Example prompts:
Check my Poof account balance
How many credits do I have left?
Response:
{
"success": true,
"data": {
"organizationId": "org_abc123",
"plan": "Pro",
"maxCredits": 5000,
"usedCredits": 1234,
"remainingCredits": 3766,
"autoRechargeThreshold": 100
}
}
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Run
npm start
License
MIT
Links
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.