Koskamo

gen-image MCP

A local stdio MCP server that enables AI agents to generate and edit images using OpenAI-compatible and Gemini models. It supports text-to-image, reference image generation, and multi-image editing with masks. The server automatically handles model fallback when primary models are unavailable or rate-limited, saving generated images directly to the project directory.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

gen-image MCP logo, by yuluo688Community listingLocal stdioSource reviewed; not executedPublished by yuluo688
Vendor documentation

What you can do with it

  • Generate images from text descriptions
  • Edit or merge multiple local images with masks
  • Generate images using Gemini reference models
  • List configured models without network access

Source and maintenance

Community listingRegistry 0.2.3
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

gen-image-mcp 0.2.3

npm
gen-image-mcp package definition
{
  "version": "0.2.3",
  "transport": "stdio",
  "identifier": "gen-image-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "GEN_IMAGE_BASE_URL",
      "format": "string",
      "isRequired": true,
      "description": "Full HTTP/HTTPS base URL for the configured image API provider."
    },
    {
      "name": "GEN_IMAGE_API_KEY",
      "format": "string",
      "isRequired": true,
      "description": "API key for the configured image API provider."
    },
    {
      "name": "GEN_IMAGE_MODEL",
      "format": "string",
      "description": "Optional comma-separated OpenAI Images API model list. Configure this or GEN_IMAGE_GEMINI_MODEL."
    },
    {
      "name": "GEN_IMAGE_GEMINI_MODEL",
      "format": "string",
      "description": "Optional comma-separated Gemini image model list. Configure this or GEN_IMAGE_MODEL."
    },
    {
      "name": "GEN_IMAGE_AUTO_FALLBACK",
      "format": "string",
      "description": "Optional true/false switch for sequential model fallback."
    },
    {
      "name": "GEN_IMAGE_TIMEOUT_MS",
      "format": "number",
      "description": "Optional per-request upstream timeout in milliseconds; defaults to 120000. Positive integer, maximum 2147483647."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "gen-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp@0.2.3"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<YOUR_GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<YOUR_GEN_IMAGE_API_KEY>",
        "GEN_IMAGE_MODEL": "<YOUR_GEN_IMAGE_MODEL>",
        "GEN_IMAGE_GEMINI_MODEL": "<YOUR_GEN_IMAGE_GEMINI_MODEL>",
        "GEN_IMAGE_AUTO_FALLBACK": "<YOUR_GEN_IMAGE_AUTO_FALLBACK>",
        "GEN_IMAGE_TIMEOUT_MS": "<YOUR_GEN_IMAGE_TIMEOUT_MS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "gen-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp@0.2.3"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<YOUR_GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<YOUR_GEN_IMAGE_API_KEY>",
        "GEN_IMAGE_MODEL": "<YOUR_GEN_IMAGE_MODEL>",
        "GEN_IMAGE_GEMINI_MODEL": "<YOUR_GEN_IMAGE_GEMINI_MODEL>",
        "GEN_IMAGE_AUTO_FALLBACK": "<YOUR_GEN_IMAGE_AUTO_FALLBACK>",
        "GEN_IMAGE_TIMEOUT_MS": "<YOUR_GEN_IMAGE_TIMEOUT_MS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "gen-image-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp@0.2.3"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<YOUR_GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<YOUR_GEN_IMAGE_API_KEY>",
        "GEN_IMAGE_MODEL": "<YOUR_GEN_IMAGE_MODEL>",
        "GEN_IMAGE_GEMINI_MODEL": "<YOUR_GEN_IMAGE_GEMINI_MODEL>",
        "GEN_IMAGE_AUTO_FALLBACK": "<YOUR_GEN_IMAGE_AUTO_FALLBACK>",
        "GEN_IMAGE_TIMEOUT_MS": "<YOUR_GEN_IMAGE_TIMEOUT_MS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "gen-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp@0.2.3"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<YOUR_GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<YOUR_GEN_IMAGE_API_KEY>",
        "GEN_IMAGE_MODEL": "<YOUR_GEN_IMAGE_MODEL>",
        "GEN_IMAGE_GEMINI_MODEL": "<YOUR_GEN_IMAGE_GEMINI_MODEL>",
        "GEN_IMAGE_AUTO_FALLBACK": "<YOUR_GEN_IMAGE_AUTO_FALLBACK>",
        "GEN_IMAGE_TIMEOUT_MS": "<YOUR_GEN_IMAGE_TIMEOUT_MS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like gen-image MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.