Back to MCP directory
publicPublicdnsLocal runtime

image-server

一个根据英文描述生成意境图片的工具,需配合UV套件管理器使用

article

README

🚀 MCP工具

MCP工具能够根据英文描述生成契合文章意境的图片,并将其保存至本地,为用户提供便捷的图像生成服务。

🚀 快速开始

✨ 主要特性

  • 图像生成:依据英文描述生成符合文章意境的图片,并保存到本地。

📦 安装指南

前置需求

需要安装UV套件管理器,可参考uv进行安装。

🔧 技术细节

配置MCP服务器

请注意,此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"
      }
    }
  }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client