Image Toolkit MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables image generation and modification from text prompts using Google's Gemini models

  • Provides background removal functionality for images using the remove.bg API

プロンプトショップMCP

英語 |中国語

シンプルなテキストコマンドで画像を変換できる強力なMCP(モデルコンテキストプロトコル)サーバー。自然言語で必要な情報を入力するだけで、プロのデザイナーのように写真を編集できます。

デモ

オリジナル画像\

プロンプト:犬にコートを着せる\

プロンプト:帽子を追加してください\

特徴

  • 画像生成: Google の Gemini モデルを使用してテキストプロンプトから画像を作成する
  • 画像の変更:テキストの指示に基づいて既存の画像を変換します
  • 背景の削除:remove.bg APIを使用して画像から背景を削除します
  • 画像ホスティング: FreeImage.host 経由で生成された画像を共有します
  • リソース管理: 生成およびアップロードされた画像を追跡および管理します

要件

インストール

  1. このリポジトリをクローンします:
    git https://github.com/Kira-Pgr/Image-Toolkit-MCP-Server.git cd Image-Toolkit-MCP-Server
  2. UV をインストールします (まだインストールされていない場合)。
    # 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. UV を使用して依存関係をインストールします。
    uv venv --python=python3.11 source .venv/bin/activate #or .venv/Scripts/activate on Windows uv pip install -r requirements.txt

使用法

  1. Claude デスクトップ統合: Claude デスクトップから直接サーバーを実行するには、 claude_desktop_config.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" } }
    注: プレースホルダーの"key"値を実際の API キーに置き換えます。
  2. カーソル統合:
    Linux/macOS : cursor.shファイルを変更して、API キーとプロジェクト ディレクトリを設定します。
  • カーソル設定で「MCP」タブに移動し、 Add new MCP serverをクリックします。
  • サーバーに任意の名前を付け、コマンドをsh /absolute/path/to/cursor.shに設定します。
  • サーバーが起動するまで待つと、サーバーと利用可能なツールが表示されます。
  • その後、エージェントを使用すると、ツールを使用するかどうかが自動的に検出されます。

Windows : cursor.batファイルを変更して、API キーとプロジェクト ディレクトリを設定します。

  • カーソル設定で「MCP」タブに移動し、 Add new MCP serverをクリックします。
  • サーバーに任意の名前を付け、コマンドをcmd /c C:\absolute\path\to\cursor.batに設定します。
  • サーバーが起動するまで待つと、サーバーと利用可能なツールが表示されます。
  • その後、エージェントを使用すると、ツールを使用するかどうかが自動的に検出されます。

謝辞

-
security - not tested
A
license - permissive license
-
quality - not tested

Google Gemini モデルやその他の画像サービスを活用し、モデル コンテキスト プロトコルを通じて AI を活用した画像生成、変更、処理機能を提供するサーバー。

  1. Demo
    1. Features
      1. Requirements
        1. Installation
          1. Usage
            1. Acknowledgements
              ID: a8so62sl6q