img-mcp

arclabs561/img-mcp

3.2

If you are the rightful owner of img-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

MCP server for AI image generation and editing, designed to be backend-agnostic and support multiple providers.

img-mcp

MCP server for AI image generation and editing. Backend-agnostic design supporting multiple providers.

Quick Start from GitHub

Add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "img-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tsx",
        "https://raw.githubusercontent.com/YOUR_USERNAME/img-mcp/main/src/index.ts"
      ],
      "env": {
        "GEMINI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Replace YOUR_USERNAME with the repository owner's username!

Features

  • 🎨 Generate images from text prompts
  • ✏️ Edit existing images
  • 🔄 Iterative editing workflows
  • 📚 MCP Resources for browsing images
  • 📝 Reusable prompt templates
  • 🔒 Security features
  • 📊 Image metadata tracking

Get API Key

Get your Gemini API key from: https://aistudio.google.com/app/apikey

Documentation

See the main for full documentation.