promptshopmcp
Use AI to edit image in Claude Desktop / Cursor (AI P图)
Documentation
PromptShopMCP
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
1. Clone this repository:
git https://github.com/Kira-Pgr/Image-Toolkit-MCP-Server.git
cd Image-Toolkit-MCP-Server2. 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 uv3. Install dependencies using UV:
uv venv --python=python3.11
source .venv/bin/activate #or .venv/Scripts/activate on Windows
uv pip install -r requirements.txtUsage
1. Claude Desktop Integration: Add the following configuration to your `claude_desktop_config.json` file to run the server directly from Claude Desktop:
"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"
}
}Note: Replace the placeholder `"key"` values with your actual API keys.
2. Cursor Integration:
Linux/macOS:
Modify the `cursor.sh` file to set your API keys and project directory.
Windows:
Modify the `cursor.bat` file to set your API keys and project directory.
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
Frequently asked questions
What is promptshopmcp?
promptshopmcp is Use AI to edit image in Claude Desktop / Cursor (AI P图)
How do I install promptshopmcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is promptshopmcp open source?
Yes — it is hosted on GitHub at https://github.com/Kira-Pgr/Image-Toolkit-MCP-Server and has 15 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP