Image Server
About
Image Server is an MCP (Model Context Protocol) server that provides an image generation tool. It uses an English description to generate images matching the context of an article and saves them locally. It is intended for users who need to integrate AI image generation into…
Details
- Author
- civic881027
- Downloads
- 306
- Categories
- Media, AI
Jump to
- Generates images from English descriptions.
- Saves generated images to the local filesystem.
- Integrates with the FLUX.1-schnell model via Hugging Face.
- Simple MCP tool interface (image_generation).
- Requires only the UV package manager.
Install the UV package manager, then configure the MCP client with the image_server entry as shown in the README. The server requires the IMAGE_API_URL environment variable pointing to a Hugging Face Space endpoint (demo API with usage limits). Run the server using uv --directory YourDirectory run image_server.py.



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"
}
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

