# Restore old photos from Claude, ChatGPT or Cursor

> The PhotoRestoration.io MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants restore old photos on your account: pass a scan, read its free damage map, pick a strength, and get the restored file back. It spends the same credits as the website.

Server URL (Streamable HTTP): `https://photorestoration.io/mcp`

## Set up Claude, ChatGPT, Cursor and more

### Claude

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

```
https://photorestoration.io/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 photorestoration-io https://photorestoration.io/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://photorestoration.io/mcp
```

### Codex

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

```
[mcp_servers.photorestoration-io]
url = "https://photorestoration.io/mcp"
```

### Cursor

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

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

### Windsurf

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

```
{
  "mcpServers": {
    "photorestoration-io": {
      "serverUrl": "https://photorestoration.io/mcp"
    }
  }
}
```

A PhotoRestoration.io tab opens; sign in or create a free account, then allow the connection. Your password stays with PhotoRestoration.io, and there is no key to paste.

## How the sign-in works

1. The first request gets a 401 reply that points the client to the server's OAuth metadata.
2. The client signs itself up, with a Client ID Metadata Document or dynamic registration, and opens a PKCE sign-in.
3. You log in to PhotoRestoration.io and grant that single client access.
4. That client gets a token valid only for https://photorestoration.io/mcp; it renews itself, and you can withdraw it in Settings at any time.

## Scripts and scheduled jobs

Scripts and agents without a browser can use a key from Settings → API keys, sent as a bearer token, in place of the sign-in. Keys come with Cabinet Card and Silver Print.

## Tools your assistant gets

- `list_modes`: Every strength and step with its credits per size.
- `damage_map`: The free damage map of a scan: damage kinds, severity, tone, faces and the suggested strength.
- `restore_photo`: Restore one scan at a strength, with optional era color; includes the same-person check.
- `restore_photos`: Silver Print plan: restore up to 50 scans in one run, each with its own map, restore and refund.
- `get_task`: Status and download link for one restore.
- `list_tasks`: Your latest restores, filterable by status.
- `get_credits`: Your balance, current plan and the largest size it allows.

A restore holds its credits as it starts; a failed one, or one the same-person check drops, gets them back without you asking. The damage map is free.

## 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.
- Restore still 'processing': most finish within 90 seconds. 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.

## Restoring photos from chat

### Does restoring from chat cost more?

No. Connecting costs nothing on any plan; each restore spends the same credits as on the website, and the damage map stays free.

### Which strengths can my assistant use?

All of them: the free damage map, then Gentle, Standard or Most faithful, Classic color and Upscale for print. Have it call list_modes to read the current rates.

### What happens when a restore fails or my balance is low?

Its credits come back on their own. If the balance is too small, the tool turns the job down before it starts, so nothing is charged.

### How do I give the assistant a scan?

Pass an https link to the image and confirm you have the rights to it. It is copied into your private PhotoRestoration.io storage first, then mapped and restored.

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

Remove the server from the client and add it again; the next connection starts a fresh sign-in. A 403 with an API key means your plan has no API access: sign in through the browser instead, or move to Cabinet Card or Silver Print.

### How long does a chat restore take, and where does it go?

Most restores finish in 20 to 90 seconds. They are saved to My restores like any job started on the website, and deleted after 30 days.


---

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