Image Generation MCP Server

by sarthakkimtani

18 stars
1.1k downloads
Not rated
GitHub

About

MCP server enabling Image Generation for LLMs, built in Python and integrated with Together AI.

Details

Author
sarthakkimtani
GitHub stars
18
Downloads
1,112
Categories
Developer Tools, AI, Other, Media

- High-quality image generation via the Flux.1 Schnell model
- Customizable output dimensions (width and height)
- Clear error handling for prompt validation and API issues
- Easy integration with MCP-compatible clients
- Support for specifying an exact Together AI model with automatic fallback

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Image Generation MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install using uv and configure in your MCP client (e.g., Claude Desktop) by adding a server entry with the command uv --directory /ABSOLUTE/PATH/TO/image-gen/ run image-gen and the required TOGETHER_AI_API_KEY environment variable. Once connected, call the generate_image tool with a descriptive prompt and optional width, height, and model parameters.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "image generation mcp server": {
            "image-gen": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/ABSOLUTE/PATH/TO/image-gen/",
                    "run",
                    "image-gen"
                ],
                "env": {
                    "TOGETHER_AI_API_KEY": "<API KEY>"
                }
            }
        }
    }
}

McpServers

{
    "image-gen": {
        "command": "uv",
        "args": [
            "--directory",
            "/ABSOLUTE/PATH/TO/image-gen/",
            "run",
            "image-gen"
        ],
        "env": {
            "TOGETHER_AI_API_KEY": "<API KEY>"
        }
    }
}

A Model Context Protocol (MCP) server that enables seamless generation of high-quality images via Together AI. This server provides a standardized interface to specify image generation parameters.

- High-quality image generation powered by the Flux.1 Schnell model
- Support for customizable dimensions (width and height)
- Clear error handling for prompt validation and API issues
- Easy integration with MCP-compatible clients

- On MacOS:~/Library/Application\ Support/Claude/claude_desktop_config.json
- On Windows:%APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "image-gen": { "command": "uv", "args": ["--directory", "/ABSOLUTE/PATH/TO/image-gen/", "run", "image-gen"], "env": { "TOGETHER_AI_API_KEY": "<API KEY>" } } } }

Generates an image based on the given textual prompt and optional dimensions.

{ "prompt": { "type": "string", "description": "A descriptive prompt for generating the image (e.g., 'a futuristic cityscape at sunset')" }, "width": { "type": "integer", "description": "Width of the generated image in pixels (optional)" }, "height": { "type": "integer", "description": "Height of the generated image in pixels (optional)" }, "model": { "type": "string", "description": "The exact model name as it appears in Together AI. If incorrect, it will fallback to the default model (black-forest-labs/FLUX.1-schnell)." } }

Contributions are welcome! Please follow these steps to contribute:
- Fork the repository
- Create a new branch (feature/my-new-feature)
- Commit your changes
- Push the branch to your fork
- Open a Pull Request

For significant changes, please open an issue first to discuss your proposed changes.

This project is licensed under the MIT License. See the LICENSE file for details.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Generate images using Amazon Nova Canvas with text prompts and color guidance.

Server for advanced AI-driven video editing, semantic search, multilingual transcription, generative media, voice cloning, and content moderation.

Generate images using the Together AI API. Supports custom aspect ratios, save paths, and batch generation.

Trim, watermark, extract audio from, and convert any video to 9:16 vertical — via REST API or MCP tools for Claude, Cursor, and other AI agents.

Generate images using OpenAI's DALL-E API.

Generate images from text using Flux and Stable Diffusion models.

Integrates the Dify AI API to generate Ant Design business component code. Supports text, image inputs, and streaming responses.

A server for the Fal.ai text-to-image API, powered by OpenAI's image model. Requires Fal.ai and OpenAI API keys.

Advanced text-to-image generation using the fal.ai Recraft v3 API.

A frontier image generation and editing model with advanced text rendering and contextual understanding, powered by the FAL AI API.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.