About Image Toolkit MCP Server
Image Toolkit MCP Server lets Claude Desktop and Cursor users generate and edit images through natural-language instructions. It also supports background removal, image hosting, and management of generated and uploaded images.
Key features
- 01Generate images from text prompts
- 02Edit images with text instructions
- 03Remove image backgrounds
- 04Host images on FreeImage.host
- 05Manage generated and uploaded images
Use cases
- 01Create an image from a written description
- 02Modify a photo by describing changes
- 03Remove a photo background
- 04Track generated and uploaded images
MCP support
It exposes image generation, editing, background removal, hosting, and image management capabilities to MCP clients such as Claude Desktop and Cursor.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPromptShopMCP
English | 中文
A powerful MCP (Model Context Protocol) server that transforms images using simple text commands. Edit photos like a professional designer - just describe what you want in natural language!
Demo
Original Image
Prompt: add a coat to the dog
Prompt: Add a hat to it
Features
- Image Generation: Create images from text prompts using Google's Gemini models
- Image Modification: Transform existing images based on text instructions
- Background Removal: Remove backgrounds from images using the remove.bg API
- Image Hosting: Share generated images via FreeImage.host
- Resource Management: Track and manage generated and uploaded images
Requirements
- Python 3.11 or higher
- Required API keys:
Installation
-
Clone this repository:
git https://github.com/Kira-Pgr/Image-Toolkit-MCP-Server.git cd Image-Toolkit-MCP-Server -
Install UV (if not already installed):
# On macOS and Linux. curl -LsSf https://astral.sh/uv/install.sh | sh # On Windows. powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # With pip. pip install uv -
Install dependencies using UV:
uv venv --python=python3.11 source .venv/bin/activate #or .venv/Scripts/activate on Windows uv pip install -r requirements.txt
Usage
- Claude Desktop Integration: Add the following configuration to your
claude_desktop_config.jsonfile to run the server directly from Claude Desktop:
Note: Replace the placeholder"PromptShopMCP": { "command": "uv", "args": [ "--directory", "/project/dir/", "run", "mcp", "run", "/project/dir/server.py" ], "env": { "GEMINI_API_KEY": "key", "FREEIMAGE_API_KEY": "key", "REMOVEBG_API_KEY": "key" } }"key"values with your actual API keys. - Cursor Integration:
Linux/macOS: Modify thecursor.shfile to set your API keys and project directory.
- In cursor settings, go to the "MCP" tab, click on
Add new MCP server, - Name the server whatever you want, and set the command to
sh /absolute/path/to/cursor.sh. - Wait for the server to start, and you can see the server and available tools.
- Then when you use the agent, it would automatically detect whether use the tools.
Windows:
Modify the cursor.bat file to set your API keys and project directory.
- In cursor settings, go to the "MCP" tab, click on
Add new MCP server, - Name the server whatever you want, and set the command to
cmd /c C:\absolute\path\to\cursor.bat. - Wait for the server to start, and you can see the server and available tools.
- Then when you use the agent, it would automatically detect whether use the tools.
Acknowledgements
- Google Gemini: For the image generation capabilities
- Remove.bg: For background removal services
- FreeImage.host: For image hosting services
- MCP: For the Model Context Protocol
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.