You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
Kira-Pgr / PromptShopMCP Public
Use AI to edit image in Claude Desktop / Cursor (AI P图)
6 stars
3 forks
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
main
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
Kira-Pgr
Update pylint.yml
Mar 19, 2025
5bc0cd1
· Mar 19, 2025
History
-------
30 Commits
| | |
| .github/workflows | | .github/workflows | Update pylint.yml | Mar 19, 2025 |
| .gitignore | | .gitignore | update gitignore | Mar 16, 2025 |
| LICENSE | | LICENSE | Create LICENSE | Mar 15, 2025 |
| README.md | | README.md | Update README.md | Mar 17, 2025 |
| README_ZH.md | | README_ZH.md | Fix Format | Mar 18, 2025 |
| cursor-template.bat | | cursor-template.bat | add cursor-template for windows | Mar 16, 2025 |
| cursor.sh | | cursor.sh | Cursor Support | Mar 15, 2025 |
| requirements.txt | | requirements.txt | upload | Mar 15, 2025 |
| server.py | | server.py | fix linter errors | Mar 19, 2025 |
| View all files | | |
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!
Required API keys:
Clone this repository:
shell
git https://github.com/Kira-Pgr/Image-Toolkit-MCP-Server.git
cd Image-Toolkit-MCP-Server
Install UV (if not already installed):
```shell
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
pip install uv
```
Install dependencies using UV:
shell
uv venv --python=python3.11
source .venv/bin/activate #or .venv/Scripts/activate on Windows
uv pip install -r requirements.txt
Claude Desktop Integration: Add the following configuration to your claude_desktop_config.json
file to run the server directly from Claude Desktop:
json
"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.
In cursor settings, go to the "MCP" tab, click on Add new MCP server
,
sh /absolute/path/to/cursor.sh
.Windows: Modify the cursor.bat
file to set your API keys and project directory.
Add new MCP server
,cmd /c C:\absolute\path\to\cursor.bat
.Use AI to edit image in Claude Desktop / Cursor (AI P图)
You can’t perform that action at this time.