Image Gen MCP
by tunshusama
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | Alternative API key (low priority). | |
| IMAGE_GEN_MODEL | Yes | The model to use for image generation. | |
| OPENAI_BASE_URL | No | Alternative base URL (low priority). | |
| IMAGE_GEN_API_KEY | Yes | Your API key for the image generation provider. | |
| IMAGE_GEN_BASE_URL | No | Base URL for the provider API. | |
| IMAGE_GEN_ENV_FILE | No | Path to a strict env file (KEY=value format). | |
| IMAGE_GEN_PROVIDER | No | Provider to use (default 'openai-images'). | openai-images |
| IMAGE_GEN_OUTPUT_DIR | No | Output directory for generated images (default '~/Pictures/Image Gen'). | ~/Pictures/Image Gen |
| IMAGE_GEN_TIMEOUT_MS | No | Timeout in milliseconds for API requests. | |
| IMAGE_GEN_RESPONSES_MODEL | No | Model for Responses protocol (if using openai-responses). | |
| IMAGE_GEN_ALLOW_PRIVATE_URLS | No | Allow private URLs for image results (set to 'true' to allow). | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageC | Generate or edit one image using the configured provider, save it locally, and return image content. |
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
- 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/tunshusama/image-gen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server