Skip to main content
Glama

Image Toolkit MCP Server

by Kira-Pgr

PromptShopMCP

English |中文

强大的 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 Desktop Integration :将以下配置添加到您的claude_desktop_config.json文件中,以便直接从 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" } }
    注意:将占位符"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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

该服务器通过模型上下文协议提供人工智能图像生成、修改和处理功能,利用 Google Gemini 模型和其他图像服务。

  1. 演示
    1. 特征
      1. 要求
        1. 安装
          1. 用法
            1. 致谢

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that provides image generation capabilities using the Ideogram API, allowing users to create images from text prompts with customizable parameters.
                Last updated -
                1
                97
                3
                TypeScript
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables high-quality image generation using the Flux.1 Schnell model via Together AI with customizable parameters.
                Last updated -
                1
                29
                8
                JavaScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schnell model via Together AI, allowing users to create images from text prompts with customizable dimensions.
                Last updated -
                1
                8
                Python
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that provides image generation capabilities using Google's Gemini 2 API, allowing users to generate multiple images with customizable parameters like prompts, aspect ratios, and person generation settings.
                Last updated -
                1
                JavaScript
                MIT License
                • Apple
                • Linux

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kira-Pgr/PromptShopMCP'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server