# Edit images with AI in Claude, ChatGPT or Cursor

> The AIImageEditor.co MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants run the AI tools on your account: edit with words, remove or fill what is inside a box, replace the background, fix the words on a sign, cut out the subject or upscale, at the same prices as the website.

Server URL (Streamable HTTP): `https://aiimageeditor.co/mcp`

## Connect your assistant to AIImageEditor.co

### Claude

Claude (web or desktop): go to Settings → Connectors, choose to add a custom connector, call it AIImageEditor.co and paste the server address. Connect, then allow access when the browser asks.

```
https://aiimageeditor.co/mcp
```

### Claude Code

Run this in a terminal, then type /mcp inside Claude Code and pick the server to sign in.

```
claude mcp add --transport http aiimageeditor-co https://aiimageeditor.co/mcp
```

### ChatGPT

In ChatGPT open Settings → Apps & Connectors → Advanced and turn on developer mode, then Create a connector with this URL and OAuth authentication.

```
https://aiimageeditor.co/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login aiimageeditor-co to sign in.

```
[mcp_servers.aiimageeditor-co]
url = "https://aiimageeditor.co/mcp"
```

### Cursor

Add the server to ~/.cursor/mcp.json (or Settings → MCP → Add new server). Cursor shows a Login button for it.

```
{
  "mcpServers": {
    "aiimageeditor-co": {
      "url": "https://aiimageeditor.co/mcp"
    }
  }
}
```

### VS Code

Save as .vscode/mcp.json in your workspace (or run MCP: Add Server). VS Code asks you to sign in on the first tool call.

```
{
  "servers": {
    "aiimageeditor-co": {
      "type": "http",
      "url": "https://aiimageeditor.co/mcp"
    }
  }
}
```

### Windsurf

Add it to ~/.codeium/windsurf/mcp_config.json and refresh the MCP panel in Cascade.

```
{
  "mcpServers": {
    "aiimageeditor-co": {
      "serverUrl": "https://aiimageeditor.co/mcp"
    }
  }
}
```

A browser tab with AIImageEditor.co appears, where you sign in (or make a free account) and press Allow access. The assistant never sees your password or keys, only a token limited to editing on your account.

## The sign-in, step by step

1. Your assistant calls AIImageEditor.co, receives a 401 and reads our OAuth metadata from it.
2. It registers as a client, from a metadata document or by dynamic registration, and starts a PKCE sign-in.
3. You sign in to AIImageEditor.co and approve this one assistant, nothing wider.
4. A token for https://aiimageeditor.co/mcp only is issued to the assistant, renewed automatically and revocable from your settings whenever you like.

## Scripts and headless agents

For a script or a headless agent, leave out the browser step: create a key under Settings → API keys and send it as a bearer token. Keys come with every plan.

## What the assistant can do with your images

- `list_models`: Credits and model for each AI tool.
- `edit_image`: Edit with words, the whole image or inside boxes. 29 to 64 credits by quality.
- `remove_area`: Remove what is inside the boxes and fill it to match. 29 to 64 credits by quality.
- `fill_area`: Put what the prompt says inside the boxes. 29 to 64 credits by quality.
- `replace_background`: A new scene or plain colour behind the subject. 29 to 64 credits by quality.
- `fix_text`: Rewrite the words inside the boxes in the same lettering. 71 credits.
- `cut_out`: Cut the subject out onto a transparent PNG. 16 credits.
- `upscale`: Upscale 2x (9 credits) or 4x (140 credits).
- `replay`: Darkroom Pro only: one AI step on up to 25 images, each charged and refunded on its own.
- `get_replay`: Status and result links for every image of one Replay.
- `get_task`: Status and result link for one job.
- `list_tasks`: Your latest edits, newest first.
- `get_credits`: Remaining balance and plan.

Each job charges its credits as it starts and refunds them by itself if it fails, at the same prices as the website.

## When something goes wrong

- Stuck on 'needs authentication': delete the server and add it again so the client restarts OAuth.
- 'Not enough credits': check get_credits, then top up on the pricing page. Nothing was charged.
- Edit still 'processing': most finish within a minute. Ask the assistant to call get_task again.
- 403 with an API key: the key's plan has no API access. Use OAuth or upgrade.

## AI image editing over MCP: questions

### Does the MCP server cost extra?

No. Connecting is free on every plan; you only spend the credits each edit costs, as on the website. Sign-up credits work here too.

### Which models edit the images?

The same as on the website: Nano Banana 2.1 by Google (Standard) or Nano Banana Pro by Google (Precise) for edit, remove, fill and background; GPT Image 2 by OpenAI for fix text; Recraft for cut-outs and 2× upscales; Topaz Labs for 4×. Ask the assistant to call list_models to see what each run costs today.

### What if an edit fails or I run out of credits?

Each job charges its credits as it starts and refunds them by itself if it fails. With too few credits the tool starts nothing and says how many credits the job needs.

### How do I give the assistant an image?

Attach it, or pass an https link, and confirm it shows you, someone who agreed, or no real person. The image is copied into your private AIImageEditor.co storage and checked first, then edited, so the original link can expire afterwards.

### My client keeps asking me to sign in. What do I do?

Remove AIImageEditor.co from your assistant’s server list, add it back, and a fresh sign-in starts. If an API key gets a 403, the key was revoked or belongs to another account; create a new one under Settings → API keys.

### Where do finished edits go, and how long do they take?

Most edits finish within a minute. The result link comes back in the chat; uploads are deleted after 7 days and results are kept for the library days of your plan. To crop, add text, redact or export, open the result in the editor on the website.


---

Source: https://aiimageeditor.co/mcp-server · Site index for AI agents: https://aiimageeditor.co/llms.txt · Full content: https://aiimageeditor.co/llms-full.txt
