# Uncrop photos from Claude, ChatGPT or Cursor

> The Uncrop AI MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants extend photos on your account: pass a photo and a frame such as 16:9, and get the uncropped result back. Prices, models and refunds are the same as on the website.

Server URL (Streamable HTTP): `https://uncropai.net/mcp`

## Add it to your client

### Claude

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

```
https://uncropai.net/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 uncrop-ai https://uncropai.net/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://uncropai.net/mcp
```

### Codex

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

```
[mcp_servers.uncrop-ai]
url = "https://uncropai.net/mcp"
```

### Cursor

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

```
{
  "mcpServers": {
    "uncrop-ai": {
      "url": "https://uncropai.net/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": {
    "uncrop-ai": {
      "type": "http",
      "url": "https://uncropai.net/mcp"
    }
  }
}
```

### Windsurf

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

```
{
  "mcpServers": {
    "uncrop-ai": {
      "serverUrl": "https://uncropai.net/mcp"
    }
  }
}
```

Your browser opens Uncrop 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 Uncrop AI and approve that one app on the consent screen.
4. The client gets a token for https://uncropai.net/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 Widescreen, Horizon and the team plans.

## Tools

- `list_models`: Every model with its credits per output size.
- `uncrop_photo`: Extend a photo (https link or upload) to a new frame, with an optional note about the new area. From 33 credits.
- `get_task`: Status and download link for one uncrop.
- `list_tasks`: Your latest uncrops, 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.
- Uncrop 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 uncrop costs, as on the website. Sign-up credits work here too.

### Which models can my assistant use?

The same as the website: Nano Banana 2.1 or GPT Image 2. Ask it to call list_models for live prices.

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

Credits are taken when an uncrop 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 a photo?

Pass an https link to the image. It is copied into your private Uncrop AI storage first, then extended, so the original link 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 uncrops go, and how long do they take?

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


---

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