Imgx MCP Server

AI image generation and editing MCP server with context-aware prompt optimization, 24 editing techniques, and session undo/redo

Local serverstdioTypeScript

What is the Imgx MCP Server?

AI image generation and editing MCP server with context-aware prompt optimization, 24 editing techniques, and session undo/redo

What you get

AI image generation and editing MCP server. Works with Claude Code, Gemini CLI, Cursor, Windsurf, and any MCP-compatible tool.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
generate_imageGenerate an image from a text prompt
edit_imageEdit an existing image with text instructions
edit_lastEdit the last generated/edited image (no input path needed)
undo_editUndo the last edit, reverting to the previous image in the session
redo_editRedo a previously undone edit
edit_historyShow all sessions and their edit history with metadata
switch_sessionSwitch to a different editing session
clear_historyClear project history (optionally delete image files)
set_output_dirChange the default output directory (optionally move existing files)
list_providersList available providers and capabilities
Detected/.imgx/

How to install the Imgx MCP Server

{
  "mcpServers": {
    "imgx": {
      "command": "npx",
      "args": [
        "--package=imgx-mcp",
        "-y",
        "imgx-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GEMINI_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Imgx MCP to generate image.”
  • “Use Imgx MCP to edit image.”
  • “Use Imgx MCP to edit last.”

Frequently asked questions

AI image generation and editing MCP server with context-aware prompt optimization, 24 editing techniques, and session undo/redo Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.