image-gen-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAGE_API_KEY | Yes | Your API Key (required) | |
| IMAGE_BASE_URL | No | Custom API URL for custom provider | |
| IMAGE_MCP_HOST | No | SSE listen host | 0.0.0.0 |
| IMAGE_MCP_PORT | No | SSE listen port | 8000 |
| IMAGE_PROVIDER | No | Select provider: siliconflow, openai, or custom | siliconflow |
| DEFAULT_IMAGE_SIZE | No | Default image size | 1024x1024 |
| DEFAULT_IMAGE_MODEL | No | Default model to use | black-forest-labs/FLUX.1-dev |
| IMAGE_MCP_TRANSPORT | No | Transport mode: stdio or sse | stdio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageA | 根据文字描述生成一张或多张图片。 向图片生成模型发送文字描述(prompt),模型会生成对应的图片并返回图片 URL。 支持多个提供商,默认使用硅基流动(免费额度)。 model 参数不传时使用默认模型。不同提供商默认模型不同:
你也可以传入自己熟悉的任意模型名称(只要在你的提供商平台可用)。 size 参数控制图片尺寸:
适用于:
注意:生成的图片 URL 通常有有效期(数小时到数天),请及时保存。 |
| list_image_modelsB | 列出当前提供商推荐使用的图片生成模型列表及使用说明。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Doctor-Pan-code/image-gen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server