New advertisers: 50% off your first month with code FIRSTMONTHSee slots
shinpr avatar

Mcp Image

shinpr/mcp-image

Generates and edits images via Gemini, OpenAI, or BytePlus Seedream, with optional prompt enhancement.

GitHub stars
195
tool
1
auth
Secret needed
transport
STDIO
env vars
7
last updated
Nov 5, 2026
View on GitHub

What it does

  • Exposes generate_image for new images from a prompt, or edits from absolute input image paths, with quality presets fast, balanced, and quality
  • Accepts per-request options for provider, aspect ratio, output filename, and input images; saves results to a configured output directory
  • Requires one provider API key, such as GEMINI_API_KEY, and runs locally through npx on Node.js 22 or later
  • Designed for product photos, illustrations, and iterative edits where assistants should refine short requests before generation

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

generate_imageImage description or editing instruction, with options for quality, provider, input images, aspect ratio and more.

Image description or editing instruction, with options for quality, provider, input images, aspect ratio and more.

No parameter schema in public metadata yet.

Configuration

IMAGE_PROVIDER

Image provider to use: 'gemini' (default), 'openai', or 'seedream'

GEMINI_API_KEYsecret

Google Gemini API key for image generation when IMAGE_PROVIDER=gemini (get from https://aistudio.google.com/apikey)

OPENAI_API_KEYsecret

OpenAI API key for image generation when IMAGE_PROVIDER=openai. Requires OpenAI organization verification to access GPT Image 2.6 (https://platform.openai.com/settings/organization/general)

ARK_API_KEYsecret

BytePlus ModelArk AP region API key required when IMAGE_PROVIDER=seedream

IMAGE_OUTPUT_DIR

Absolute or working-directory-relative path where generated images will be saved (defaults to ./output)

IMAGE_QUALITY

Default quality preset: 'fast' (default), 'balanced', or 'quality'

SKIP_PROMPT_ENHANCEMENT

Set to 'true' to disable automatic prompt optimization and use direct prompts

Readme

MCP Image Generator 🍌

Generate and edit images from Codex, Cursor, Claude Code, or any MCP client. mcp-image adds visual direction to your request before sending it to Gemini, OpenAI, or BytePlus Seedream.

npm version npm downloads License: MIT

Tell it what image to create or what to change in an existing image, and what it is for. The result is saved to disk and returned to your assistant.

What It Does

Before generating an image, mcp-image rewrites short requests into more specific prompts. It keeps what you asked for and fills in what the image needs for its use, such as lighting and camera angle for a photo or layout for a poster. Text you want in the image stays as you wrote it, in your language. The more detail you provide, the less it changes.

You ask:


View the full README on GitHub

Details

Repository
github.com/shinpr/mcp-image
Categories
AI Image, Video & Voice, Design & UI/UX
Package
mcp-image
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to Mcp Image

More AI Image, Video & Voice