imgx-mcp
JSON →AI image generation and editing MCP server. Text-to-image, text-based editing with iterative refinement. Multi-provider (Gemini + OpenAI).
Install
npx has Tools · 10
- generate_image Generate an image from a text prompt
- edit_image Edit an existing image with text instructions
- edit_last Edit the last generated/edited image (no input path needed)
- undo_edit Undo the last edit, reverting to the previous image in the session
- redo_edit Redo a previously undone edit
- edit_history Show all sessions and their edit history with metadata
- switch_session Switch to a different editing session
- clear_history Clear project history (optionally delete image files)
- set_output_dir Change the default output directory (optionally move existing files)
- list_providers List available providers and capabilities
Environment variables
GEMINI_API_KEYYOUR_GEMINI_API_KEYYOUR_OPENAI_API_KEYOPENAI_API_KEY