@runapi.ai/gpt-4o-image-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RUNAPI_API_KEY | No | Your RunAPI API key. Can also be stored in ~/.config/runapi/config.json. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
RunAPI MCP server for the gpt-4o-image model line.
Each tool creates a RunAPI media task and optionally polls until completion. Behavior:
Use the user's language and be concise.
Confirm before expensive, long-running, or batch requests.
Present results as task ID, status, output URLs, and cost fields when available.
Do not describe generated media as if you inspected it.
On an API key error, call the login tool for interactive browser auth; headless hosts can use RUNAPI_API_KEY or ~/.config/runapi/config.json.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| loginA | Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json. |
| text_to_imageB | Create a GPT-4o Image task on RunAPI (text to image). Returns a task id, status, and output URLs. |
| get_taskA | Fetch the current status and latest result payload for a gpt-4o-image task. |
| check_pricingC | Look up RunAPI pricing for the gpt-4o-image model line. |
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 4 tools
Each tool occupies a clearly separate slot: authentication (login), pricing lookup (check_pricing), task creation (text_to_image), and task polling (get_task). There is no plausible confusion between creating a task and fetching its status, since the descriptions explicitly state the create-then-poll relationship.
All names are snake_case, but the verb style is uneven: bare verb 'login', verb_noun 'check_pricing'/'get_task', and a noun_to_noun name 'text_to_image' that actually creates a task. It stays readable and predictable enough, just not a single uniform pattern.
Four tools is lean but coherent for a single-model image generation wrapper: auth, price check, create, poll. Nothing appears redundant, though the surface is on the thin side of well-scoped.
The core create-and-poll loop plus auth and pricing is covered, but there are notable gaps: no task listing, no cancel/delete, and no way to discover available models or account balance. Agents can complete the happy path but have no recovery or management operations.