MCP Image Generation Server
@ChristopheZhao
About MCP Image Generation Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"image-gen-mcp-server": {
"command": "uv",
"args": [
"venv"
]
}
}
}Tools
1Generate images based on prompt, style, and resolution
Overview
What is MCP Image Generation Server?
MCP Image Generation Server is a Model Context Protocol (MCP) server that enables image generation from text descriptions using the Tencent Hunyuan API. It is designed for developers using MCP-compatible clients such as Cursor and Windsurf IDE.
How to use MCP Image Generation Server?
Install using UV or pip, set environment variables for Tencent Cloud credentials and save directory, then run python mcp_image_server.py. Configure the server in MCP-compatible clients like Cursor by specifying the Python executable path and script arguments.
Key features of MCP Image Generation Server
- Generate images from text descriptions
- Support multiple image styles
- Support different image resolutions
- Use negative prompts to exclude elements
- Lists available styles and resolutions
- Integrates with Cursor and Windsurf IDE
Use cases of MCP Image Generation Server
- Generate landscape images from natural language prompts
- Create custom images for web design projects within Cursor IDE
- Automatically move generated images to project directory via Cursor
- Integrate image generation into your development workflow in Windsurf IDE
FAQ from MCP Image Generation Server
What API does MCP Image Generation Server use?
It uses the Tencent Hunyuan Image Generation API, with API endpoint domain hunyuan.tencentcloudapi.com and region ap-guangzhou.
What are the environment variables required?
TENCENT_SECRET_ID, TENCENT_SECRET_KEY, and MCP_IMAGE_SAVE_DIR are required for authentication and saving images.
What are the rate limits and concurrent tasks?
Default API rate limit is 20 requests per second, with a default of 1 concurrent task at a time.
Where are generated images saved?
Images are saved to the directory specified in the MCP_IMAGE_SAVE_DIR environment variable.
Which IDEs are supported?
The server has been verified to work with Cursor and Windsurf IDE via MCP integration.
More Media & Design MCP servers
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
Framelink Figma MCP Server
GLipsMCP server to provide Figma layout information to AI coding agents like Cursor
Spotify MCP Server
marcelmaraisLightweight MCP server for Spotify
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
Comments