Gpt 4o Image MCP logo

Gpt 4o Image MCP

Creates GPT-4o Image tasks, checks RunAPI pricing, and retrieves asynchronous task results through MCP.

Install Gpt 4o Image MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gpt-4o-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/gpt-4o-image-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env RUNAPI_API_KEY=YOUR_VALUE_HERE --transport stdio gpt-4o-image-mcp -- npx -y @runapi.ai/gpt-4o-image-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 4 tools correctly ().

Overview

The gpt-4o-image-mcp MCP server exposes RunAPI’s GPT-4o Image model through a focused stdio interface. Agents can submit text-to-image tasks, optionally wait for completion, retrieve task status and payloads, and inspect pricing. Use it when an assistant needs GPT-4o Image access without exposing the broader RunAPI model catalog. Authentication comes from a RunAPI API key or the local RunAPI login configuration, while pricing lookup works without sign-in.

Use cases

  • Generate images from text prompts with GPT-4o Image
  • Submit image tasks without waiting for completion
  • Poll asynchronous image tasks for updated results
  • Check GPT-4o Image pricing before creating a task

Key features

  • GPT-4o Image text-to-image task creation
  • Optional waiting for terminal task status
  • Task status and payload retrieval
  • Pricing lookup without authentication
  • Stdio support for MCP-compatible hosts

Tools4

What Gpt 4o Image MCP lets your agent do. Expand a tool for its parameters.

Verified live~594 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 83d

What it can do

From the 4 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 1Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age131 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @runapi.ai/gpt-4o-image-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads831Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Gpt 4o Image MCP works

What gpt-4o-image-mcp does

RunAPI’s GPT-4o Image model is available to MCP-compatible assistants through three focused tools. The server supports the gpt-4o-image model variant and its associated endpoint rather than exposing the full RunAPI catalog.

text_to_image submits a text-to-image generation task. It can either return after submission or wait for a terminal task status. The response includes the task ID, status, and output URLs when available. get_task checks an existing task and returns its current status together with the latest payload. check_pricing retrieves pricing information for the GPT-4o Image model and endpoint.

This scope suits workflows where an agent should create images with GPT-4o Image, track asynchronous work, and review pricing before submission.

How it works

The package runs as an MCP server over stdio. An MCP host launches it with npx, then makes the three tools available to the assistant. A client can first call check_pricing, create a task with text_to_image, and use get_task later if the task was submitted without waiting.

The text_to_image tool accepts the gpt-4o-image model. Its optional wait behavior determines whether the call waits for a terminal result or returns the task ID for later polling. Model availability and pricing are subject to change, so pricing or the linked RunAPI model page should be checked when current catalog information matters.

Setup and configuration

Install the package through an MCP host using the stdio command below:

config.json
{
  "mcpServers": {
    "gpt-4o-image": {
      "command": "npx",
      "args": ["-y", "@runapi.ai/gpt-4o-image-mcp"]
    }
  }
}

Claude Code can register the same package with claude mcp add, using either user or project scope. The stdio command also works with Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts.

Task creation and status polling require RunAPI authentication. The server checks credentials in this order:

  1. The RUNAPI_API_KEY environment variable.
  2. ~/.config/runapi/config.json, which can be created by the MCP login tool or runapi login.
  3. No credentials, which is sufficient for check_pricing only.

For headless use, set RUNAPI_API_KEY before launching the MCP host. A pre-provisioned configuration file can contain an apiKey value. Keep API keys out of source control.

Tools and capabilities

  • text_to_image: Creates a GPT-4o Image text-to-image task, optionally waits for a terminal status, and returns the task ID, status, and output URLs.
  • get_task: Retrieves the current status and latest payload for an existing task.
  • check_pricing: Looks up pricing for a GPT-4o Image model and endpoint without authentication.

Natural-language workflows can ask an assistant to check pricing before creating a task, submit without waiting, or return the task ID and output URLs after completion.

Limitations and notes

The server is intentionally limited to one GPT-4o Image model variant and one endpoint. It does not provide the full RunAPI model catalog; use RunAPI’s broader MCP package when an assistant needs access to multiple model lines. Pricing and model availability can change between releases. Image task creation and polling depend on RunAPI authentication, while pricing inspection is available without sign-in.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gpt 4o Image MCP

gpt-4o-image-mcp is an MCP server that connects AI assistants to RunAPI’s GPT-4o Image model through text_to_image, get_task, and check_pricing tools. It creates image-generation tasks, optionally waits for terminal results, retrieves task status and payloads, and checks model endpoint pricing.

Install it by configuring your MCP host to run `npx -y @runapi.ai/gpt-4o-image-mcp`. Claude Code can use `claude mcp add gpt-4o-image -s user -- npx -y @runapi.ai/gpt-4o-image-mcp`, or project scope can be selected instead.

Yes, gpt-4o-image-mcp works with Cursor through its standard stdio command. Add an MCP server entry with `npx` as the command and `@runapi.ai/gpt-4o-image-mcp` as the package argument.

Set `RUNAPI_API_KEY` before starting the MCP host or use the MCP `login` tool to save credentials in `~/.config/runapi/config.json`. Image task creation and polling require authentication, while `check_pricing` works without a key.

Yes, set the text-to-image request to wait for `false` to return the task ID immediately. Use `get_task` later to retrieve the current status and latest payload.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGpt 4o Image MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gpt-4o-image-mcp?style=directory)](https://allmcps.com/mcp/gpt-4o-image-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/gpt-4o-image-mcp"><img src="https://allmcps.com/api/badge/gpt-4o-image-mcp?style=directory" alt="Gpt 4o Image MCP on AllMCPs" /></a>