KP

kira-pgr/promptshopmcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

18 stars 8 forks 품질 62 트렌드 22MIT

Claude Desktop / Cursor (AI Pψ)의 이미지를 편집하는 AI를 사용합니다

개요

간단한 텍스트 명령을 사용하여 이미지를 변환하는 강력한 MCP (Model Context Protocol) 서버. 전문 디자이너와 같은 사진을 편집 - 단지 자연 언어로 원하는 것을 설명! 원본 이미지 - : Google의 Gemini 모델을 사용하여 텍스트 프롬프트에서 이미지 생성 - : 텍스트 지침을 기반으로 기존 이미지 변환 - : 제거를 사용하여 이미지에서 배경 제거. bg API - : FreeImage.host를 통해 생성된 이미지 공유 - : 생성 및 업로드된 이미지 추적 및 관리 - Python 3.11 이상 - 필수 API 키: - Google Gemini API 키 키 가져오기 키 - FreeImage.host API 키 가져오기 키 - Remove.bg API 키 가져오기 키 2. UV를 설치하십시오 (이렇게 설치하지 않는 경우에): 1. : Claude Desktop에서 서버를 직접 실행하기 위해 claude desktop config.json 파일에 다음 구성을 추가하십시오. 참고 : 실제 API 키로 위주 "key"값을 대체하십시오. 2. : : API 키와 프로젝트 디렉토리를 설정하기 위해 cursor.sh 파일을 수정합니다.

개요(AI 번역)

Korean | 한국어

간단한 텍스트 명령을 사용하여 이미지를 변환하는 강력한 MCP (Model Context Protocol) 서버. 전문 디자이너와 같은 사진을 편집 - 단지 자연 언어로 원하는 것을 설명!

데모

원본 이미지

발췌 : ** 개에 코트를 추가 **

Prompt: **에 모자를 추가 **

특징

  • ** 이미지 생성**: Google의 Gemini 모델을 사용하여 텍스트 프롬프트에서 이미지를 만듭니다.
  • ** 이미지 수정 **: 텍스트 지침을 기반으로 기존 이미지 변환
  • ** 배경 제거 ** : 제거를 사용하여 이미지에서 배경을 제거합니다. bg API를 -Image Hosting: FreeImage.host를 통해 생성된 이미지 공유
  • ** 자원 관리**: 생성 및 업로드된 이미지 추적 및 관리

요구 사항

  • Python 3.11 이상
  • 필수 API 열쇠:
  • Google Gemini API 키 가져오기 키
  • FreeImage.host API 키 가져오기 키
  • Remove.bg API 키 가져오기 키

설치

  1. Clone 이 저장소:

  2. UV를 설치하십시오 (이렇게 설치하지 않는 경우에):

  3. UV를 사용하는 의존도를 설치하십시오:

사용법

  1. **Claude 데스크탑 통합 **: Claude Desktop에서 직접 서버를 실행하려면 claude_desktop_config.json] 파일에 다음 구성을 추가하십시오

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

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

Installation

  1. Clone this repository:

    git https://github.com/Kira-Pgr/Image-Toolkit-MCP-Server.git
    cd Image-Toolkit-MCP-Server
    
  2. 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
    
  3. 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

  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.
  • 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.
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →