Skip to content
MCP server

Imgx

AI image generation and editing MCP server. Gemini + OpenAI, iterative editing, undo/redo.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.6.1
Listing updated
5 days ago

About Imgx

Imgx is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add imgx --env GEMINI_API_KEY='<GEMINI_API_KEY>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y imgx-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "imgx": {
      "command": "npx",
      "args": [
        "-y",
        "imgx-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "imgx": {
      "command": "npx",
      "args": [
        "-y",
        "imgx-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "imgx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "imgx-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "imgx": {
      "command": "npx",
      "args": [
        "-y",
        "imgx-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "imgx": {
      "command": "npx",
      "args": [
        "-y",
        "imgx-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Configuration

  • GEMINI_API_KEYGemini API key from Google AI Studio. Optional if configured via 'imgx config set api-key'.
  • OPENAI_API_KEYOpenAI API key. Optional if configured via 'imgx config set api-key --provider openai'.

Pricing

Open source

Imgx FAQ

Is Imgx free?

Yes. Imgx is open source, so you can use and self-host it for free.

How do I add Imgx to Claude Code?

Run this command in your terminal: claude mcp add imgx --env GEMINI_API_KEY='<GEMINI_API_KEY>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y imgx-mcp

What are the best alternatives to Imgx?

The closest alternatives to Imgx are HyperFrames by HeyGen, ffmpeg-skill, Claude Code Ultimate Guide, AvatarSay — Fictional Character & Talking Video MCP and ChartAnt.

Alternatives to Imgx

  1. Hosted MCP connector for creating and rendering videos from HTML through AI chat

    • Remote
    • Freemium
    • 85.3K GitHub stars
    • Design and media
  2. ffmpeg-skill

    MCP server

    Local FFmpeg video and audio editing tools for coding agents over MCP

    Runs locally
    • Open source
    • 6.9K GitHub stars
    • Design and media
  3. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  4. ChartAnt

    MCP server

    Remote MCP server returning charts, maps and dashboards as hosted PNG links

    • 51 tools
    • Remote
    • Freemium
    • Design and media
  5. VfxSmith

    MCP server

    Search, generate, refine and export pixel art game effects from Claude Code or Codex

    Not checked yet
    • Remote
    • Freemium
    • Design and media