# Edit product photos from Claude, ChatGPT or Cursor

> The Img Editing MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants edit product photos on your account: pass up to ten photos and one instruction or recipe, and get back each edited photo, charged at the same prices as the website.

Server URL (Streamable HTTP): `https://imgediting.ai/mcp`

## Add Img Editing to your assistant

### Claude

In Claude on the web or the desktop app, open Settings → Connectors and add a custom connector. Name it Img Editing, paste the server address, connect, and allow access when asked.

```
https://imgediting.ai/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 img-editing https://imgediting.ai/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://imgediting.ai/mcp
```

### Codex

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

```
[mcp_servers.img-editing]
url = "https://imgediting.ai/mcp"
```

### Cursor

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

```
{
  "mcpServers": {
    "img-editing": {
      "url": "https://imgediting.ai/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": {
    "img-editing": {
      "type": "http",
      "url": "https://imgediting.ai/mcp"
    }
  }
}
```

### Windsurf

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

```
{
  "mcpServers": {
    "img-editing": {
      "serverUrl": "https://imgediting.ai/mcp"
    }
  }
}
```

A browser tab with Img Editing appears. Sign in, or create a free account, and choose Allow access. Your password and API keys stay with us; the assistant only gets a scoped token.

## What happens when you sign in

1. Your assistant calls Img Editing, receives a 401 and reads our OAuth metadata from it.
2. The assistant registers itself, by metadata document or dynamic registration, then opens a PKCE sign-in.
3. You sign in to Img Editing and approve this one assistant, nothing wider.
4. The assistant gets a token valid only for https://imgediting.ai/mcp. It refreshes on its own, and you can withdraw it at any time from your settings.

## Editing from scripts with an API key

Running a script or a headless agent? Skip the browser sign-in and send an API key (Settings → API keys) as a bearer token. Keys are part of Stockroom, Warehouse and the team plans.

## Tools your assistant can call

- `list_models`: Credits per photo for each engine and size, the 4K upscale price and the recipes.
- `edit_photos`: Edit up to ten photos (https links or uploads) with one instruction or recipe. From 11 credits a photo.
- `upscale_photo`: Upscale one finished photo to 4K.
- `get_task`: Status and result link for one photo.
- `list_tasks`: Your latest photos, newest first.
- `get_credits`: Remaining balance and plan.

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

## Troubleshooting

- Stuck on 'needs authentication': remove 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.
- Photo 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.

## MCP questions and troubleshooting

### Does the MCP server cost extra?

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

### Which models edit the photos?

Standard photos run on Flux 3 Klein and Label-safe photos on Qwen-Image 2.1, exactly as in the studio. For current credit prices, have the assistant run list_models.

### What if a photo fails or I run out of credits?

Each photo charges its credits as it starts and refunds them by itself if it fails. With too few credits the tool starts only the photos you can pay for and says so.

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

Attach them, or pass https links. Each photo is copied into your private Img Editing storage and checked first, then edited, so the original links can expire afterwards.

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

Remove Img Editing from your assistant's server list, add it back, and a fresh sign-in starts. If an API key gets a 403, your plan does not include API keys; sign in through OAuth or pick Stockroom, Warehouse or a team plan.

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

Most photos finish in 15 to 60 seconds. They are saved to My photos like any run started on the website, where the studio exports marketplace sizes and ZIP files.


---

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