Image MCP Server

by iplanwebsites

Not rated
GitHub

About

An MCP server for AI image generation using OpenAI and Replicate APIs.

Details

Author
iplanwebsites
Categories
Developer Tools, AI, Other

Setup

Install Image MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/iplanwebsites/image-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

An MCP (Model Context Protocol) server that provides AI image generation capabilities using theai-imagenpm module, which wraps around OpenAI and Replicate image inference APIs.

- generate_ai_image: Generate AI images with customizable prompts, sizes, models, and styles
- square_image: Generate square images (1024x1024) - shortcut command
- landscape_image: Generate landscape images (1536x1024) - shortcut command
- portrait_image: Generate portrait images (1024x1536) - shortcut command
- Built on the ai-image module for seamless integration with OpenAI and Replicate APIs
- Simple setup and configuration

Add the following to your Claude Desktop configuration file:

macOS:~/Library/Application Support/Claude/claude_desktop_config.json
Windows:%APPDATA%\Claude\claude_desktop_config.json

{ "mcpServers": { "image-mcp": { "command": "npx", "args": ["image-mcp@latest"], "env": { "OPENAI_API_KEY": "your-openai-api-key", "REPLICATE_API_TOKEN": "your-replicate-api-token", "MCP_TIMEOUT": "1200000" }, "resetTimeoutOnProgress": true } } }

The server requires API keys for the underlying image generation services:

- OPENAI_API_KEY: Your OpenAI API key for GPT-based models (we won't be supporting Dall-e models as they'll likely be dropped soon)
- REPLICATE_API_TOKEN: Your Replicate API token for other AI models

Once configured, you can use the image generation functions through Claude:

Generate AI images with various parameters:

- prompt(required): Text description of the image to generate
- size(optional): Image dimensions in WIDTHxHEIGHT format (default: "1024x1024")
- model(optional): Specific AI model to use
- output(optional): Custom output file path

For convenience, use these preset size commands:

- square_image: Generate 1024x1024 square images
- landscape_image: Generate 1536x1024 landscape images
- portrait_image: Generate 1024x1536 portrait images

All shortcut commands accept the same parameters asgenerate_ai_imageexceptsize(which is preset).

- "A red cat in Picasso style"
- "A sunset over mountains, photorealistic"
- "Abstract geometric patterns in blue and gold"

# Clone the repository git clone https://github.com/iplanwebsites/image-mcp.git cd image-mcp # Install dependencies npm install # Run in development mode npm run dev # Start the server npm start

- Node.js >= 18.0.0
- Valid API keys for OpenAI and/or Replicate

- Fix npm module issue: It only works locally...

-

Better guides: Add more detailed setup guides with troubleshooting steps, an Add to cursor button, etc

Use ai-image library directly: Replace subprocess CLI calls with direct library imports

Return file paths: Return created image file paths in response

Local inference support: Add support for local models like Flux

Image optimization: Add lightweight image resizing and optimization options

Image captioning tool: Add captioning model for basic use cases (useful for models without vision)

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 and edit images using OpenAI's GPT-4o and DALL-E APIs with advanced prompt control.

OpenAI-compatible MCP gateway for 787+ chat, image, and video models.

Generate and edit images and create video (Veo, Sora, Seedance) from any AI agent via OpenRouter or any OpenAI-compatible API — files saved to disk with inline previews.

An MCP server (stdio + HTTP/SSE) that fetches video transcripts/subtitles via yt-dlp, with pagination for large responses. Supports YouTube, Twitter/X, Instagram, TikTok, Twitch, Vimeo, Facebook, Bilibili, VK, Dailymotion. Whisper fallback — transcribes audio when subtitles are unavailable (local or OpenAI API). Works with Cursor and other MCP host

Universal MCP server for AI image generation supporting AWS Bedrock (Nova Canvas), OpenAI (GPT Image, DALL-E), and Google Gemini (Imagen 4). Generate, transform, and edit images using multiple AI models through a single Model Context Protocol interface.

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.

AI traffic control plane (chaos governor): Redis prompt replay, compliant web ingest, SSO org ledger, Agent Shell. BYOK OpenAI-compatible ingress. Cursor optional; MCP is a compatibility client.

Universal tool adapter — @tool decorator exports Python functions to OpenAI, Claude, Gemini, MCP, JSON Schema. Audit token costs.

Standing review layer for coding agents: Claude, GPT and Gemini debate each answer and return one recommendation plus the strongest dissent.

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.