Skip to main content
Glama
pvliesdonk

io.github.pvliesdonk/image-generation-mcp

by pvliesdonk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FASTMCP_LOG_LEVELNoLog level for FastMCP internals and app loggers (DEBUG/INFO/WARNING/ERROR). The -v CLI flag overrides to DEBUG.INFO
FASTMCP_ENABLE_RICH_LOGGINGNoSet to false for plain/structured JSON log output.true
IMAGE_GENERATION_MCP_BASE_URLNoPublic base URL for OIDC and MCP File Exchange downloads (e.g. https://mcp.example.com).
IMAGE_GENERATION_MCP_HTTP_PATHNoHTTP endpoint mount path./mcp
IMAGE_GENERATION_MCP_READ_ONLYNoHide write-tagged tools (generate_image). Set to false to enable generation.true
IMAGE_GENERATION_MCP_APP_DOMAINNoMCP Apps widget sandbox domain. Auto-computed from BASE_URL for Claude; override for other hosts.(auto)
IMAGE_GENERATION_MCP_SCRATCH_DIRNoDirectory for saved generated images.~/.image-generation-mcp/images/
IMAGE_GENERATION_MCP_SERVER_NAMENoServer name shown to MCP clients.image-generation-mcp
IMAGE_GENERATION_MCP_BEARER_TOKENNoStatic bearer token; enables bearer auth when set.
IMAGE_GENERATION_MCP_INSTRUCTIONSNoSystem instructions for LLM context.(dynamic)
IMAGE_GENERATION_MCP_OIDC_AUDIENCENoExpected JWT audience claim.
IMAGE_GENERATION_MCP_SD_WEBUI_HOSTNoSD WebUI URL (e.g. http://localhost:7860); enables SD WebUI provider when set. Deprecated alias: A1111_HOST.
IMAGE_GENERATION_MCP_GOOGLE_API_KEYNoGoogle API key with Gemini access; enables Gemini provider when set.
IMAGE_GENERATION_MCP_OIDC_CLIENT_IDNoOIDC client ID.
IMAGE_GENERATION_MCP_OPENAI_API_KEYNoOpenAI API key; enables OpenAI provider when set.
IMAGE_GENERATION_MCP_PAID_PROVIDERSNoComma-separated paid provider names. Triggers elicitation confirmation on capable clients. Set to empty to disable.openai,gemini
IMAGE_GENERATION_MCP_SD_WEBUI_MODELNoSD WebUI checkpoint name for preset detection and override. Deprecated alias: A1111_MODEL.
IMAGE_GENERATION_MCP_EVENT_STORE_URLNoEvent store backend for HTTP session persistence — memory:// (dev), file:///path (survives restarts).memory://
IMAGE_GENERATION_MCP_OIDC_CONFIG_URLNoOIDC discovery endpoint URL.
IMAGE_GENERATION_MCP_DEFAULT_PROVIDERNoDefault provider: auto, openai, gemini, sd_webui, placeholder.auto
IMAGE_GENERATION_MCP_FILE_EXCHANGE_TTLNoDefault and maximum TTL (seconds) for published files and download URLs. create_download_link's ttl_seconds is clamped to this.3600
IMAGE_GENERATION_MCP_OIDC_CLIENT_SECRETNoOIDC client secret.
IMAGE_GENERATION_MCP_OIDC_JWT_SIGNING_KEYNoJWT signing key. Required on Linux/Docker, otherwise ephemeral.ephemeral
IMAGE_GENERATION_MCP_OIDC_REQUIRED_SCOPESNoComma-separated required scopes.openid
IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZENoMax cached transforms. Set to 0 to disable caching.64
IMAGE_GENERATION_MCP_FILE_EXCHANGE_CONSUMENoMaster switch for the consumer side. This server is producer-only; set false to silence the upstream startup warning.true
IMAGE_GENERATION_MCP_FILE_EXCHANGE_ENABLEDNoMaster switch for the file-exchange producer. Set false to suppress all file_ref publishing.true on http/sse, false on stdio
IMAGE_GENERATION_MCP_OIDC_VERIFY_ACCESS_TOKENNoVerify access token as JWT instead of id token.false

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pvliesdonk/image-generation-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server