gpt-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | Yes | Your OpenAI API key, required for authentication. | |
| GPT_MCP_OUTPUT_DIR | No | Default save folder for generate_image_to_file tool. | |
| OPENAI_IMAGE_MODEL | No | The image model to use (defaults to gpt-image-1). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_image_to_fileA | Generate an image with OpenAI and SAVE it as a file on disk. Returns the absolute file path (no image bytes are sent back through the model context). Best for real, full-resolution assets — lossless and cheap on context. Optionally set output_dir/filename. |
| generate_image_bytesA | Generate an image with OpenAI and RETURN it inline as a base64 image block (no file is written). The image is viewable directly in the conversation. Note: large/full-res images are heavy to pass this way — best for small previews/icons. To persist a returned image, the assistant should re-save it. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
Both tools perform the same underlying operation (OpenAI image generation) and differ only in output delivery, which inherently invites confusion. However, the descriptions explicitly contrast file-output vs inline-bytes and give guidance on when each is appropriate, so an agent can choose correctly.
Both names follow a clean snake_case generate_image_<output_mode> pattern, with the suffix precisely encoding the one behavioral difference. Highly predictable and readable.
Two tools is thin for a server named gpt-mcp, which implies a broader OpenAI surface. Each tool does earn its place, but the set feels narrow rather than well-scoped.
The image-generation paths are fully covered (persist to disk and inline preview), but there are notable gaps: no image edit/variation, no size/quality parameters exposed, and no text/chat completion tools despite the GPT-oriented name.