mcp-image
MCP server by shinpr Community
Generates and edits images from MCP clients such as Codex, Cursor, and Claude Code. It rewrites short requests into more specific prompts before sending them to Gemini, OpenAI, or BytePlus Seedream. Useful for anyone who wants image generation inside an AI assistant.
Install mcp-image
Built from the published package, never by AI.
claude mcp add mcp-image -- npx -y mcp-imageRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-image": {
"args": [
"-y",
"mcp-image"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-image": {
"args": [
"-y",
"mcp-image"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-image": {
"args": [
"-y",
"mcp-image"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-image -- npx -y mcp-image{
"mcpServers": {
"mcp-image": {
"args": [
"-y",
"mcp-image"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-image npx -y mcp-imageGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-image block.
About
mcp-image is an MCP server that generates and edits images from assistants such as Codex, Cursor, and Claude Code. Before sending a request, it rewrites short prompts into more specific ones, adding details such as lighting, camera angle, or layout for the image's intended use. Text you want in the image stays as you wrote it. It supports Gemini, OpenAI, and BytePlus Seedream, and you can set a default provider or choose one per request.
Generated images are saved to a configured output directory and returned to the assistant. Quality presets (fast, balanced, and quality) control generation settings, and prompt enhancement can be turned off with SKIP_PROMPT_ENHANCEMENT. The project suits people who want image generation inside an MCP-compatible assistant. It is released under the MIT license.
Written from the project's README and checked against it.
Tools it gives your assistant
generate_imageGenerates or edits an image from a prompt and saves it to the output directory.
What you need
- Node.js 22 or later
- An MCP-compatible client
- An API key for Gemini, OpenAI, or BytePlus Seedream
| Setting | Needed | What it is |
|---|---|---|
IMAGE_Environment variable | Optional | Image provider to use: 'gemini' (default), 'openai', or 'seedream' |
GEMINI_Environment variable, secret | Optional | Google Gemini API key for image generation when IMAGE_PROVIDER=gemini (get from https://aistudio.google.com/apikey) |
OPENAI_Environment variable, secret | Optional | 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_Environment variable, secret | Optional | BytePlus ModelArk AP region API key required when IMAGE_PROVIDER=seedream |
IMAGE_Environment variable | Optional | Absolute or working-directory-relative path where generated images will be saved (defaults to ./output) |
IMAGE_Environment variable | Optional | Default quality preset: 'fast' (default), 'balanced', or 'quality' |
SKIP_Environment variable | Optional | Set to 'true' to disable automatic prompt optimization and use direct prompts |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Generate a product photo of a ceramic coffee mug on a wooden desk.
- Edit /path/to/image.jpg so the person is facing right.
- Generate a cinematic desert landscape in a 21:9 aspect ratio.
Good to know
- Google Search grounding works with Gemini only.
- OpenAI may require organization verification before it can generate images.
- Seedream does not support 4K, and Seedream editing accepts PNG and JPEG only.
- Input images must be PNG, JPEG, or WebP and no larger than 10 MiB each.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp-image
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
mcp-image: common questions
Which image providers does mcp-image support?
It supports Gemini (the default), OpenAI, and BytePlus Seedream. Each provider needs its own API key, and you can configure more than one.
Can mcp-image edit existing images?
Yes. Pass absolute paths to the input images in the request, and the images must be PNG, JPEG, or WebP files no larger than 10 MiB each.
Does it change my prompt before generating?
By default it adds visual detail while keeping your request and any text in the image. Set SKIP_PROMPT_ENHANCEMENT=true to send the original prompt unchanged.
How do I install mcp-image?
In Claude Code run claude mcp add mcp-image -- npx -y mcp-image. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-image the official server?
mcp-image is a community project by shinpr, not verified by a company domain.
Is mcp-image free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-image safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-image?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does mcp-image work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
