PromptShopMCP
A server that provides AI-powered image generation, modification, and processing capabilities through the Model Context Protocol, leveraging Google Gemini models and other image services.
A server that provides AI-powered image generation, modification, and processing capabilities through the Model Context Protocol, leveraging Google Gemini models and other image services.
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!
Original Image
Prompt: add a coat to the dog
Prompt: Add a hat to it
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
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.cursor.sh
file to set your API keys and project directory. Add new MCP server
, sh /absolute/path/to/cursor.sh
. 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:absolutepath ocursor.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.