{"name":"io.github.pvliesdonk/image-generation-mcp","slug":"pvliesdonk-image-generation-mcp","title":"Image Generation MCP Server","description":"MCP server for AI image generation via OpenAI, Stable Diffusion (SD WebUI), or placeholders.","url":"https://mcp.market/server/pvliesdonk-image-generation-mcp","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"ai","tags":["ai","media"],"presence":{"score":30,"stars":1,"forks":0,"downloads_week":66,"last_push_at":"2026-10-31T03:33:09.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"mixed","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/pvliesdonk/image-generation-mcp","website":"https://pvliesdonk.github.io/image-generation-mcp/","version":"1.12.1","remotes":[],"packages":[{"registryType":"pypi","identifier":"image-generation-mcp","version":"1.12.1","runtimeHint":"uvx","transport":{"type":"stdio"},"environmentVariables":[{"description":"Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` — with a warning — on a host where that directory is not usable.","default":"file:///data/state","name":"IMAGE_GENERATION_MCP_KV_STORE_URL"},{"description":"Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`.","name":"IMAGE_GENERATION_MCP_TOOLS_ALLOW"},{"description":"Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`.","name":"IMAGE_GENERATION_MCP_TOOLS_DENY"},{"description":"Rename this server instance; defaults to the project name.","name":"IMAGE_GENERATION_MCP_SERVER_NAME"},{"description":"Replaces the default MCP instructions text sent to clients.","name":"IMAGE_GENERATION_MCP_INSTRUCTIONS"},{"description":"Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG.","default":"INFO","choices":["DEBUG","INFO","WARNING","ERROR","CRITICAL"],"name":"FASTMCP_LOG_LEVEL"},{"description":"Set false for plain or structured JSON log output.","format":"boolean","default":"true","name":"FASTMCP_ENABLE_RICH_LOGGING"},{"description":"Deprecated alias for IMAGE_GENERATION_MCP_SD_WEBUI_HOST; logs a warning when used.","name":"IMAGE_GENERATION_MCP_A1111_HOST"},{"description":"Deprecated alias for IMAGE_GENERATION_MCP_SD_WEBUI_MODEL; logs a warning when used.","name":"IMAGE_GENERATION_MCP_A1111_MODEL"},{"description":"When true, write-tagged tools (image generation, transforms, uploads) are hidden from clients. Set false to enable them.","format":"boolean","default":"true","name":"IMAGE_GENERATION_MCP_READ_ONLY"},{"description":"Directory where generated images are saved. Created automatically on first use.","format":"filepath","default":"~/.image-generation-mcp/images","name":"IMAGE_GENERATION_MCP_SCRATCH_DIR"},{"description":"OpenAI API key. Enables the OpenAI provider (gpt-image-2, gpt-image-1.5, dall-e-3) when set.","isSecret":true,"name":"IMAGE_GENERATION_MCP_OPENAI_API_KEY"},{"description":"Google API key. Enables the Gemini provider (gemini-3.1-flash-image and others) when set. Get a key at https://aistudio.google.com/apikey.","isSecret":true,"name":"IMAGE_GENERATION_MCP_GOOGLE_API_KEY"},{"description":"SD WebUI base URL (such as http://localhost:7860). Enables the SD WebUI provider when set. Compatible with AUTOMATIC1111, Forge, reForge, and Forge-neo.","name":"IMAGE_GENERATION_MCP_SD_WEBUI_HOST"},{"description":"SD WebUI checkpoint name, used for model-aware preset detection (SD 1.5 / SDXL / Lightning) and checkpoint override. Unset uses the instance's current model.","name":"IMAGE_GENERATION_MCP_SD_WEBUI_MODEL"},{"description":"Provider used when no keyword triggers auto-selection: auto, openai, gemini, sd_webui, or placeholder. auto picks the first configured provider.","default":"auto","name":"IMAGE_GENERATION_MCP_DEFAULT_PROVIDER"},{"description":"Maximum number of transformed image results (resize, crop, convert) kept in memory. Set 0 to disable caching.","format":"number","default":"64","name":"IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE"},{"description":"Comma-separated provider names that cost money; generate_image asks for confirmation (client elicitation) before using them. An empty value falls back to this default; to disable confirmation, set a value that names no provider (such as none).","default":"openai","name":"IMAGE_GENERATION_MCP_PAID_PROVIDERS"},{"description":"Directory for style preset files (Markdown with YAML front matter). Created automatically if it does not exist.","format":"filepath","default":"~/.image-generation-mcp/styles","name":"IMAGE_GENERATION_MCP_STYLES_DIR"},{"description":"Allow reading input images from local filesystem paths. Off by default: only URLs and uploads are accepted.","format":"boolean","default":"false","name":"IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT"},{"description":"Maximum accepted input image size in bytes.","format":"number","default":"20971520","name":"IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES"},{"description":"HTTP timeout in seconds when fetching remote image URLs (fetch_image and URL inputs).","format":"number","default":"30.0","name":"IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S"},{"description":"Link lifetime in seconds when the caller requests no explicit TTL.","format":"number","default":"3600.0","name":"IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S"},{"description":"Ceiling in seconds a caller-requested link TTL is clamped to.","format":"number","default":"86400.0","name":"IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S"},{"description":"Post-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it.","format":"number","default":"60.0","name":"IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S"},{"description":"Crashed-handler reclaim window in seconds for an in-flight reservation.","format":"number","default":"60.0","name":"IMAGE_GENERATION_MCP_TRANSFER_LEASE_S"},{"description":"Maximum size in bytes of a single upload.","format":"number","default":"104857600","name":"IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES"}]},{"registryType":"oci","identifier":"ghcr.io/pvliesdonk/image-generation-mcp:v1.12.1","transport":{"type":"streamable-http","url":"http://localhost:{--port}/mcp"},"packageArguments":[{"description":"Port for the HTTP transport","default":"8000","type":"named","name":"--port"}],"environmentVariables":[{"description":"Public base URL of the deployed server, e.g. `https://mcp.example.com`. Required for OIDC. Also the fallback source of the MCP Apps domain when `app_domain` is unset.","placeholder":"https://mcp.example.com","name":"IMAGE_GENERATION_MCP_BASE_URL"},{"description":"Single shared bearer token; enables bearer auth unless `bearer_tokens_file` is set, which takes precedence.","isSecret":true,"placeholder":"<secret>","name":"IMAGE_GENERATION_MCP_BEARER_TOKEN"},{"description":"OIDC discovery document URL, e.g. `https://auth.example.com/.well-known/openid-configuration`.","placeholder":"https://auth.example.com/.well-known/openid-configuration","name":"IMAGE_GENERATION_MCP_OIDC_CONFIG_URL"},{"description":"OIDC client identifier registered with the provider.","placeholder":"mcp-client","name":"IMAGE_GENERATION_MCP_OIDC_CLIENT_ID"},{"description":"OIDC client secret registered with the provider.","isSecret":true,"placeholder":"your-client-secret","name":"IMAGE_GENERATION_MCP_OIDC_CLIENT_SECRET"},{"description":"Expected `aud` claim; tokens issued for another audience are rejected.","placeholder":"mcp-api","name":"IMAGE_GENERATION_MCP_OIDC_AUDIENCE"},{"description":"Scopes a caller must present, space- or comma-separated. Defaults to `openid` in oidc-proxy mode.","default":"openid","name":"IMAGE_GENERATION_MCP_OIDC_REQUIRED_SCOPES"},{"description":"Scopes advertised to MCP clients in protected-resource metadata, space- or comma-separated. Overrides the default `openid offline_access`; `oidc_required_scopes` is always added on top. Set this when the registered client is not permitted `offline_access`, or to have clients request extra claim scopes (e.g. `groups`) without also requiring them in every token.","default":"openid offline_access","name":"IMAGE_GENERATION_MCP_OIDC_ADVERTISED_SCOPES"},{"description":"Signing key for issued JWTs; used in oidc-proxy mode only. When unset, the key is derived deterministically from `oidc_client_secret`, so tokens survive a restart — but rotating that secret invalidates every issued token. Set this explicitly to decouple token validity from secret rotation. Generate with `openssl rand -hex 32`.","isSecret":true,"default":"derived","name":"IMAGE_GENERATION_MCP_OIDC_JWT_SIGNING_KEY"},{"description":"Validate the access token instead of the id token.","format":"boolean","default":"false","name":"IMAGE_GENERATION_MCP_OIDC_VERIFY_ACCESS_TOKEN"},{"description":"Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` — with a warning — on a host where that directory is not usable.","default":"file:///data/state","name":"IMAGE_GENERATION_MCP_KV_STORE_URL"},{"description":"MCP Apps iframe domain, used for CSP sandboxing. Overrides the host derived from `base_url`.","name":"IMAGE_GENERATION_MCP_APP_DOMAIN"},{"description":"Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`.","name":"IMAGE_GENERATION_MCP_TOOLS_ALLOW"},{"description":"Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`.","name":"IMAGE_GENERATION_MCP_TOOLS_DENY"},{"description":"Explicit auth-mode override, accepting `remote` or `oidc-proxy` (case- and whitespace-insensitive). When unset the mode is auto-detected from which auth variables are set; the override exists because having all four OIDC variables set is ambiguous between those two modes. Other values are ignored with a warning.","name":"IMAGE_GENERATION_MCP_AUTH_MODE"},{"description":"Path to a TOML file mapping bearer tokens to subjects; overrides the single-token `bearer_token` mode.","format":"filepath","placeholder":"/etc/image-generation-mcp/tokens.toml","name":"IMAGE_GENERATION_MCP_BEARER_TOKENS_FILE"},{"description":"Subject assigned to the single-token bearer mode; ignored when `bearer_tokens_file` is set, since mapped mode carries per-token subjects.","default":"bearer-anon","name":"IMAGE_GENERATION_MCP_BEARER_DEFAULT_SUBJECT"},{"description":"Rename this server instance; defaults to the project name.","name":"IMAGE_GENERATION_MCP_SERVER_NAME"},{"description":"Replaces the default MCP instructions text sent to clients.","name":"IMAGE_GENERATION_MCP_INSTRUCTIONS"},{"description":"Mount path for the MCP endpoint.","default":"/mcp","name":"IMAGE_GENERATION_MCP_HTTP_PATH"},{"description":"Run the server process as this UID; the container entrypoint chowns writable paths to match.","format":"number","default":"1000","name":"PUID"},{"description":"Run the server process as this GID; pair with PUID to match the owner of a mounted volume.","format":"number","default":"1000","name":"PGID"},{"description":"Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG.","default":"INFO","choices":["DEBUG","INFO","WARNING","ERROR","CRITICAL"],"name":"FASTMCP_LOG_LEVEL"},{"description":"Set false for plain or structured JSON log output.","format":"boolean","default":"true","name":"FASTMCP_ENABLE_RICH_LOGGING"},{"description":"Deprecated alias for IMAGE_GENERATION_MCP_SD_WEBUI_HOST; logs a warning when used.","name":"IMAGE_GENERATION_MCP_A1111_HOST"},{"description":"Deprecated alias for IMAGE_GENERATION_MCP_SD_WEBUI_MODEL; logs a warning when used.","name":"IMAGE_GENERATION_MCP_A1111_MODEL"},{"description":"When true, write-tagged tools (image generation, transforms, uploads) are hidden from clients. Set false to enable them.","format":"boolean","default":"true","name":"IMAGE_GENERATION_MCP_READ_ONLY"},{"description":"Directory where generated images are saved. Created automatically on first use.","format":"filepath","default":"~/.image-generation-mcp/images","name":"IMAGE_GENERATION_MCP_SCRATCH_DIR"},{"description":"OpenAI API key. Enables the OpenAI provider (gpt-image-2, gpt-image-1.5, dall-e-3) when set.","isSecret":true,"name":"IMAGE_GENERATION_MCP_OPENAI_API_KEY"},{"description":"Google API key. Enables the Gemini provider (gemini-3.1-flash-image and others) when set. Get a key at https://aistudio.google.com/apikey.","isSecret":true,"name":"IMAGE_GENERATION_MCP_GOOGLE_API_KEY"},{"description":"SD WebUI base URL (such as http://localhost:7860). Enables the SD WebUI provider when set. Compatible with AUTOMATIC1111, Forge, reForge, and Forge-neo.","name":"IMAGE_GENERATION_MCP_SD_WEBUI_HOST"},{"description":"SD WebUI checkpoint name, used for model-aware preset detection (SD 1.5 / SDXL / Lightning) and checkpoint override. Unset uses the instance's current model.","name":"IMAGE_GENERATION_MCP_SD_WEBUI_MODEL"},{"description":"Provider used when no keyword triggers auto-selection: auto, openai, gemini, sd_webui, or placeholder. auto picks the first configured provider.","default":"auto","name":"IMAGE_GENERATION_MCP_DEFAULT_PROVIDER"},{"description":"Maximum number of transformed image results (resize, crop, convert) kept in memory. Set 0 to disable caching.","format":"number","default":"64","name":"IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE"},{"description":"Comma-separated provider names that cost money; generate_image asks for confirmation (client elicitation) before using them. An empty value falls back to this default; to disable confirmation, set a value that names no provider (such as none).","default":"openai","name":"IMAGE_GENERATION_MCP_PAID_PROVIDERS"},{"description":"Directory for style preset files (Markdown with YAML front matter). Created automatically if it does not exist.","format":"filepath","default":"~/.image-generation-mcp/styles","name":"IMAGE_GENERATION_MCP_STYLES_DIR"},{"description":"Allow reading input images from local filesystem paths. Off by default: only URLs and uploads are accepted.","format":"boolean","default":"false","name":"IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT"},{"description":"Maximum accepted input image size in bytes.","format":"number","default":"20971520","name":"IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES"},{"description":"HTTP timeout in seconds when fetching remote image URLs (fetch_image and URL inputs).","format":"number","default":"30.0","name":"IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S"},{"description":"Link lifetime in seconds when the caller requests no explicit TTL.","format":"number","default":"3600.0","name":"IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S"},{"description":"Ceiling in seconds a caller-requested link TTL is clamped to.","format":"number","default":"86400.0","name":"IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S"},{"description":"Post-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it.","format":"number","default":"60.0","name":"IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S"},{"description":"Crashed-handler reclaim window in seconds for an in-flight reservation.","format":"number","default":"60.0","name":"IMAGE_GENERATION_MCP_TRANSFER_LEASE_S"},{"description":"Maximum size in bytes of a single upload.","format":"number","default":"104857600","name":"IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES"}]}],"tools":[{"name":"_save_edited_image","description":"Save an edited image as a new first-class image record.","write_action":false,"price_micros":0,"input_schema":null},{"name":"browse_gallery","description":"Browse all generated images in an interactive visual gallery.","write_action":false,"price_micros":0,"input_schema":null},{"name":"check_generation_status","description":"Check whether a background image generation has finished.","write_action":false,"price_micros":0,"input_schema":null},{"name":"delete_image","description":"Delete an image from the scratch directory.","write_action":true,"price_micros":0,"input_schema":null},{"name":"delete_style","description":"Delete a style preset by name.","write_action":true,"price_micros":0,"input_schema":null},{"name":"edit_image","description":"Open an image for interactive editing (crop, rotate, flip).","write_action":false,"price_micros":0,"input_schema":null},{"name":"fetch_image","description":"Fetch an image from a URL into the gallery.","write_action":false,"price_micros":0,"input_schema":null},{"name":"gallery_full_image","description":"Return full-resolution image data for the gallery lightbox.","write_action":false,"price_micros":0,"input_schema":null},{"name":"gallery_page","description":"Return a page of image thumbnails for the gallery UI.","write_action":false,"price_micros":0,"input_schema":null},{"name":"generate_image","description":"","write_action":false,"price_micros":0,"input_schema":null},{"name":"ingest_base64_image","description":"Add an inline base64-encoded image to the gallery.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_providers","description":"List available image generation providers, models, and capabilities.","write_action":false,"price_micros":0,"input_schema":null},{"name":"save_style","description":"Save a style preset to the styles directory.","write_action":false,"price_micros":0,"input_schema":null},{"name":"show_image","description":"Display a completed image with optional on-demand transforms.","write_action":false,"price_micros":0,"input_schema":null},{"name":"transform_image","description":"","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":83,"grade":"B","scanned_at":"2026-10-31T17:28:26.976Z","report":{"scannerVersion":"0.1.10","scannedAt":"2026-10-31T17:28:26.896Z","components":{"code":{"score":25,"max":25,"notes":["42 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 1 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"pypi","identifier":"image-generation-mcp","version":"1.12.1","found":true,"weeklyDownloads":66,"license":"MIT","dependencyCount":10,"publishedAt":"2026-08-25T11:49:03.024015Z","repositoryUrl":"https://github.com/pvliesdonk/image-generation-mcp"}],"repo":{"found":true,"owner":"pvliesdonk","repo":"image-generation-mcp","archived":false,"pushedAt":"2026-10-31T03:33:09Z","stars":1,"forks":0,"openIssues":54,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/22190282?v=4","ownerCreatedAt":"2016-09-14T07:46:50Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/22190282?v=4&s=128","source":"registry"},"presence":{"stars":1,"forks":0,"downloadsWeek":66,"license":"MIT","lastPushAt":"2026-10-31T03:33:09.000Z","score":30}}}},"grade_history":[],"reviews":[]}