image-server

image-server

3.2

If you are the rightful owner of image-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides an overview of a Model Context Protocol (MCP) server setup for image generation based on textual descriptions.

MCP工具

Tools

  • image_generation 根據英文描述生成具備文章意境的圖片,並將圖片儲存至本地。

前置需求

安裝UV套件管理器 uv

設定MCP Server

請注意此IMAGE_API僅供示範使用,存在使用限制。

{
  "mcpServers":{
    "image_server": {
      "command": "uv",
      "args": [
        "--directory",
        "YourDirectory",
        "run",
        "image_server.py"
      ],
      "env": {
        "IMAGE_API_URL": "https://black-forest-labs-flux-1-schnell.hf.space/call/infer"
      }
    }
}