Gpt Image MCP logo

Gpt Image MCP

Generate and edit 1K images through you.bot, with credit checks, aspect ratios, and optional local PNG output.

Install Gpt 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-image-mcp-2": {
      "command": "npx",
      "args": [
        "-y",
        "gpt-image-2-5-mcp"
      ],
      "env": {
        "YOUBOT_API_KEY": "YOUR_VALUE_HERE",
        "YOUBOT_IMAGE_DIR": "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 YOUBOT_API_KEY=YOUR_VALUE_HERE --env YOUBOT_IMAGE_DIR=YOUR_VALUE_HERE --transport stdio gpt-image-mcp-2 -- npx -y gpt-image-2-5-mcp

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

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y gpt-image-2-5-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The gpt-image-mcp MCP server connects MCP clients to GPT Image 2.5 through the you.bot API. It provides tools for generating images from prompts, editing images supplied by public URLs, and checking credit balances. The server runs over stdio through npx and requires a you.bot API key rather than an OpenAI key. Use it when an agent needs conversational image creation or basic image transformation at a fixed 1K output size.

Use cases

  • Generate images from detailed natural-language prompts
  • Edit public images by changing backgrounds or objects
  • Check available image credits before making requests
  • Save generated PNG files to a local directory

Key features

  • GPT Image 2.5 generation
  • Public-URL image editing
  • Credit balance inspection
  • Multiple aspect ratios
  • Optional PNG file output
  • Stdio launch through npx

Tools3

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

Self-reported~50 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.

14/14 checks healthy over the last 67d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · gpt-image-2-5-mcp (npm)

Adoption & maintenance

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

npm downloads664Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Gpt Image MCP works

What gpt-image-mcp does

gpt-image-mcp exposes GPT Image 2.5 image generation and editing through the Model Context Protocol. It connects to you.bot, which provides access to the model, so the required credential is a you.bot API key beginning with sk-live-. OpenAI API keys are not supported.

The server provides three MCP tools:

  • generate_image creates an image from a text prompt.
  • edit_image changes an existing image provided through a public URL. Edits can include replacing a background, adding or removing objects, or changing the visual style.
  • check_credits reports the remaining balance and the approximate number of images that balance can purchase.

A separate setup prompt can help walk through configuration when the server is not working. Generated images are returned inline to the client after processing.

How it works

The gpt-image-mcp MCP server is launched with npx -y gpt-image-2-5-mcp and communicates with an MCP client over standard input and output. Image requests are sent through you.bot, and the server polls until the result is ready. A typical generation takes 30–60 seconds.

Generation and editing each cost 2.9 credits, equivalent to $0.029 according to the repository documentation. Credit checks do not consume credits. Failed generations are refunded automatically, and the server reports the cost after an image operation.

Output is fixed at 1024 pixels, or 1K. Supported aspect ratios are 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 2:1, 1:2, and 21:9. Prompts can describe the subject, setting, lighting, composition, and style. For edits, specify both the requested change and the parts that should remain unchanged.

Setup and configuration

Create an account at you.bot, generate an API key, and provide it as YOUBOT_API_KEY. New accounts receive 50 credits, described as approximately 17 images, without requiring a credit card. Credits do not expire.

For Claude Desktop or Cursor, add a server entry that runs the package with npx and places the key in the env object. Claude Code can register the same command with claude mcp add. Other MCP clients can launch the stdio command directly with the environment variable set. Restart the client after changing its configuration.

The optional YOUBOT_IMAGE_DIR variable saves each generated image as a PNG in the specified directory. It is not required for inline results.

Limitations and notes

The gpt-image-mcp MCP server requires Node.js 18 or newer and an active you.bot API key. The API key must come from you.bot; an OpenAI credential will not work. The edit_image tool requires the source image to be available at a public URL.

All image operations use the fixed 1K output and the documented flat per-image cost. Users who exhaust their balance must top up through you.bot. If a client does not show the tools, verify that it detected the stdio process, the environment variable is inside the MCP configuration, and the client was fully restarted.

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 Image MCP

gpt-image-mcp is an MCP server that connects MCP clients to GPT Image 2.5 through the you.bot API. Its main tools generate images from text prompts, edit images from public URLs, and check remaining credits. It uses a you.bot API key, not an OpenAI key, and returns generated results inline.

Install it by running `npx -y gpt-image-2-5-mcp` with `YOUBOT_API_KEY` set in the environment. Add that command to your MCP client configuration, then restart the client. Node.js 18 or newer is required, and the key must come from you.bot.

Yes, gpt-image-mcp works with Cursor through its MCP configuration. Add a stdio server entry that runs `npx -y gpt-image-2-5-mcp` and set `YOUBOT_API_KEY` in the server environment, either in `~/.cursor/mcp.json` or Cursor's MCP settings.

Each image generation or edit costs 2.9 credits, listed as $0.029 per image. The `check_credits` tool is free. New you.bot accounts receive 50 credits, or approximately 17 images, and failed generations are refunded automatically.

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 Image MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gpt-image-mcp-2?style=directory)](https://allmcps.com/mcp/gpt-image-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/gpt-image-mcp-2"><img src="https://allmcps.com/api/badge/gpt-image-mcp-2?style=directory" alt="Gpt Image MCP on AllMCPs" /></a>