# Fix photos from Claude, ChatGPT or Cursor

> The AIPhotoEnhancer.co MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants run the AI fixes on your account: pass a photo, pick Quick, Natural or Natural faces, and get the result back. A fix from chat costs exactly what it costs on the website. The free light and colour fix runs in the browser only.

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

## Connect your assistant in a minute

### Claude

In Claude (web or desktop), go to Settings → Connectors, choose Add custom connector, call it AIPhotoEnhancer.co and paste the server URL. Then press Connect and allow access.

```
https://aiphotoenhancer.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 aiphotoenhancer-co https://aiphotoenhancer.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://aiphotoenhancer.co/mcp
```

### Codex

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

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

### Cursor

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

```
{
  "mcpServers": {
    "aiphotoenhancer-co": {
      "url": "https://aiphotoenhancer.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": {
    "aiphotoenhancer-co": {
      "type": "http",
      "url": "https://aiphotoenhancer.co/mcp"
    }
  }
}
```

### Windsurf

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

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

A tab opens on AIPhotoEnhancer.co; log in or make a free account, then allow the connection. The assistant never sees your password, and no key is pasted anywhere.

## What happens when you approve access

1. On first contact the server answers 401 and tells the client where its OAuth metadata lives.
2. The client registers (via a Client ID Metadata Document, or dynamically) and starts a PKCE login.
3. You log in to AIPhotoEnhancer.co and grant that single client access.
4. The client receives a token scoped to https://aiphotoenhancer.co/mcp; it refreshes on its own and you can revoke it from Settings whenever you like.

## Batch jobs with an API key

For cron jobs or agents with no browser, create a key under Settings → API keys and send it as a bearer token. Keys are part of Flash Off and Developing Tank.

## What the assistant can call

- `list_models`: Every fix with its models and credits per output size.
- `fix_photos`: Fix one photo (https link or upload) with Quick, Natural or Natural faces at the same size, 2× or 4×. Pro plan (Developing Tank): up to 30 photos in one call, each charged and refunded on its own.
- `get_task`: Status and download link for one fix.
- `list_tasks`: Your latest fixes, filterable by status.
- `get_credits`: Your balance, current plan and the largest fix size it allows.

A fix reserves its credits as it starts; a failed one gets them back without you asking. Rates follow the pricing page.

## When something goes wrong

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

## Using AIPhotoEnhancer.co from chat

### Is chat access priced differently?

No. Connecting costs nothing on any plan; each fix spends the same credits as on the website. Your sign-up credits count here too.

### Which fixes can the assistant run?

All three AI fixes: Quick (Real-ESRGAN), Natural (Topaz Image Upscale) and Natural faces with the same-person check (Gemini 3 Flash). Have it call list_models to read the current rates.

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

A failed fix refunds its credits on its own. With too small a balance the tool refuses the job up front and charges nothing.

### How does the assistant hand over a photo?

Pass an https link to the image. It is copied into your private AIPhotoEnhancer.co storage first, then read and fixed, so the original link can expire afterwards.

### Why does my client ask me to log in again and again?

Delete the server entry and add it back; that forces a clean login. A 403 with an API key means your plan has no API access, so use the browser login or move to Tripod or Gimbal.

### How fast are fixes from chat, and where are they kept?

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


---

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