# Edit images from Claude, ChatGPT or Cursor

> The Img Edit AI MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants edit images on your account: pass an image and an instruction, add reference images to combine, or give the exact words to write, and get the result back. Prices and refunds are the same as on the website.

Server URL (Streamable HTTP): `https://imgeditai.com/mcp`

## Add it to your client

### Claude

In claude.ai or Claude Desktop open Settings → Connectors → Add custom connector, name it Img Edit AI and paste the URL. Press Connect and approve access.

```
https://imgeditai.com/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-edit-ai https://imgeditai.com/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://imgeditai.com/mcp
```

### Codex

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

```
[mcp_servers.img-edit-ai]
url = "https://imgeditai.com/mcp"
```

### Cursor

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

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

### Windsurf

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

```
{
  "mcpServers": {
    "img-edit-ai": {
      "serverUrl": "https://imgeditai.com/mcp"
    }
  }
}
```

Your browser opens Img Edit AI: sign in (or create a free account) and press Allow access. No password or API key is shared with the assistant.

## How sign-in works

1. Your client calls the server and receives a 401 that points to our OAuth metadata.
2. It registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
3. You sign in on Img Edit AI and approve that one app on the consent screen.
4. The client gets a token for https://imgeditai.com/mcp only, refreshed automatically and revocable at any time.

## Use an API key from scripts

Scripts and headless agents can send an API key from Settings → API keys as a bearer header instead of OAuth. API keys come with Freehand, Layer Stack and the team plans.

## Tools

- `list_models`: Every tool with its model and credits per output size.
- `edit_image`: Edit an image (https link or upload) with an instruction: mode text for the whole image, combine with up to three reference images, or lettering for exact words. From 30 credits.
- `get_task`: Status and download link for one edit.
- `list_tasks`: Your latest edits, filterable by status.
- `get_credits`: Remaining balance, plan and resolution limit.

Credits are taken when a job starts and come back automatically if it fails. Prices match the pricing page.

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

## Questions and fixes

### 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 tools can my assistant use?

Edit with text, Combine images and Exact text, on the same models as the website. Point and edit needs you to tap areas, so it stays in the browser editor. Ask the assistant to call list_models for live prices.

### What happens if an image fails or my balance is too low?

Credits are taken when an edit starts and return automatically if it fails. If your balance is too low, the tool says so and nothing is charged.

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

Pass an https link to the image, and to each reference image. They are copied into your private Img Edit AI storage first, then edited, so the original links can expire afterwards.

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

Remove the server from the client and add it again so it starts a fresh sign-in. If you use an API key and get a 403, that plan has no API access: switch to OAuth or upgrade.

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

Most edits finish in 20 to 90 seconds. They are saved to My edits like any job started on the website, and the assistant gets the download link when done.


---

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