MCP.so
Sign In

MCP Image Generation Server

@ChristopheZhao

About MCP Image Generation Server

No overview available yet

Basic information

Category

Media & Design

License

MIT license

Runtime

python

Transports

stdio

Publisher

ChristopheZhao

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "image-gen-mcp-server": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Tools

1

Generate 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.

Comments

More Media & Design MCP servers