Skip to main content
Glama
@runapi.ai/gpt-image-2-mcp

@runapi.ai/gpt-image-2-mcp

Official
by runapi-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RUNAPI_API_KEYNoYour RunAPI API key. Alternatively, write it to ~/.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-image-2 model line.

Each tool creates a RunAPI media task and optionally polls until completion. Behavior:

  1. Use the user's language and be concise.

  2. Confirm before expensive, long-running, or batch requests.

  3. Present results as task ID, status, output URLs, and cost fields when available.

  4. Do not describe generated media as if you inspected it.

  5. 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

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
loginA

Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.

edit_imageB

Create a GPT Image 2 task on RunAPI (edit image). Returns a task id, status, and output URLs.

text_to_imageB

Create a GPT Image 2 task on RunAPI (text to image). Returns a task id, status, and output URLs.

get_taskC

Fetch the current status and latest result payload for a gpt-image-2 task.

check_pricingC

Look up RunAPI pricing for the gpt-image-2 model line.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct role: authentication, pricing lookup, task status retrieval, and two creation paths split cleanly by input modality (text vs. image). An agent can select unambiguously based on whether it has a prompt or an existing image.

Naming Consistency4/5

All names use consistent snake_case, which is good, but the verb_noun pattern is not uniform: edit_image and get_task follow it, while text_to_image is noun-based and login lacks a noun. Minor deviations only, still easily readable.

Tool Count5/5

Five tools is a tight, well-scoped surface for an asynchronous image-generation service; auth, pricing, both generation modes, and result polling each earn their place with no filler.

Completeness4/5

The core lifecycle (login → price check → create task → poll result) is fully covered with no dead ends. Minor gaps remain: no list_tasks to recover lost task ids and no cancel/delete for queued or failed tasks.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues