Image Gen
About
Local stdio MCP server for generating and editing images via OpenAI gpt-image-2 or Google Gemini (Nano Banana / Pro image-preview). Saves PNGs to ~/Pictures/image-gen/ and returns inline JPEG thumbnails. Bring your own OpenAI and/or Gemini API key.
Explore
- Supports OpenAI gpt-image-2 and Google Gemini image models
- Generates and edits images from text prompts
- Optionally includes reference images for edits
- Returns inline JPEG thumbnail for immediate display
- Saves full-resolution PNGs to ~/Pictures/image-gen/
- Provides check_image_job tool for polling long-running generations
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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Image GenCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Three install surfaces, depending on the client:
| Artifact | Surface | What it gives you |
|---|---|---|
| image-gen-<os>-<arch>.mcpb | Claude Desktop (Install Extension) | MCP tools (generate_image, check_image_job) |
| image-gen-plugin.zip | Claude Desktop or Claude Code | image-gen skill + /image-gpt + /image-gemini slash commands |
| mcp/dist/index.js | Manual claude mcp add / claude_desktop_config.json | Same MCP, full manual control |
Published .mcpb builds: darwin-arm64, darwin-x64, win32-x64. Linux users build from source via the Claude Code install
guide.
```bash
- generate_image — Generate or edit an image via OpenAI gpt-image-2 or Google Gemini. Accepts a prompt plus optional
reference images, model selection, size, and quality settings.
- check_image_job — Poll a previously-started image generation job.
PNGs land in ~/Pictures/image-gen/; the tool returns an inline JPEG thumbnail so the client can render the result immediately.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"image gen": {
"image-gen": {
"command": "node",
"args": [
"<HOME>/.image-gen-mcp/server/index.js"
],
"env": {
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
}
}
}
}
}
McpServers
{
"image-gen": {
"command": "node",
"args": [
"<HOME>/.image-gen-mcp/server/index.js"
],
"env": {
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
}
}
}
gpt-image-2 and Google Gemini
(gemini-3.1-flash-image-preview / gemini-3-pro-image-preview, aka Nano Banana / Pro). Bring your own OpenAI and/or Gemini API
key.
Tools
-generate_image — Generate or edit an image via OpenAI gpt-image-2 or Google Gemini. Accepts a prompt plus optional
reference images, model selection, size, and quality settings.
- check_image_job — Poll a previously-started image generation job.
PNGs land in ~/Pictures/image-gen/; the tool returns an inline JPEG thumbnail so the client can render the result immediately.
Install
Three install surfaces, depending on the client: | Artifact | Surface | What it gives you | |---|---|---| |image-gen-<os>-<arch>.mcpb | Claude Desktop (Install Extension) | MCP tools (generate_image, check_image_job) |
| image-gen-plugin.zip | Claude Desktop or Claude Code | image-gen skill + /image-gpt + /image-gemini slash commands |
| mcp/dist/index.js | Manual claude mcp add / claude_desktop_config.json | Same MCP, full manual control |
Published .mcpb builds: darwin-arm64, darwin-x64, win32-x64. Linux users build from source via the Claude Code install
guide.
Claude Code (quick path)
```bashSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



