Image Gen Pro MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | Your AI Studio key. GOOGLE_API_KEY works too, since Google's own tools read that one | |
| GOOGLE_API_KEY | No | Alias for GEMINI_API_KEY; Google's tools read this one too | |
| OPENAI_API_KEY | No | Your OpenAI key. Reaches GPT Image 2 directly | |
| AI_GATEWAY_API_KEY | No | Vercel AI Gateway. Reaches everything, and is the only route to Recraft, Seedream, Grok Imagine and Arrow | |
| IMAGE_GEN_OUTPUT_DIR | No | Where images are written. Point it at your project's image folder and the paths come back ready to use | |
| IMAGE_GEN_TIMEOUT_MS | No | How long to wait. Image models are slow; three minutes is not generous | 180000 |
| IMAGE_GEN_MAX_PER_CALL | No | Ceiling on one request, whatever the assistant asks for | 4 |
| IMAGE_GEN_MAX_PER_HOUR | No | Images per rolling hour. 0 removes the cap, knowing what that means for your bill | 60 |
| IMAGE_GEN_PREFER_GATEWAY | No | Route through the gateway even when a direct key exists. Turn on to put all the billing in one place | false |
| IMAGE_GEN_DEFAULT_PROVIDER | No | Which vendor runs when the assistant names none. Set to 'google' if your OpenAI account can't reach GPT Image 2 | openai |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| logging | {} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageA | Generate one or more images from a description and write them to disk, returning their paths. Optionally takes REFERENCE IMAGES (paths on this machine) and extra text context, both of which steer the result: use them to match an existing style, keep a character or product consistent, or edit an image you already have. Defaults to OpenAI GPT Image 2; pass |
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/fledgeling-co/image-gen-pro-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server