# Restore and animate photos from Claude, ChatGPT or Cursor

> The PhotoAnimation.io MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants work on your account: upload a photo with your consent, restore it, animate it with a motion and fetch the clip, at the same prices as the website.

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

## Connect your assistant to PhotoAnimation.io

### Claude

Claude (web or desktop): go to Settings → Connectors, choose to add a custom connector, call it PhotoAnimation.io and paste the server address. Sign in in the browser window that opens and allow the connection.

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

### Codex

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

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

### Cursor

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

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

### Windsurf

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

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

A browser tab with PhotoAnimation.io appears, where you sign in (or make a free account) and press Allow access. The assistant never sees your password or keys, only a token limited to your photos and jobs.

## The sign-in, step by step

1. Your assistant calls PhotoAnimation.io, receives a 401 and reads our OAuth metadata from it.
2. Your assistant registers as an OAuth client, through a metadata document or dynamic registration, then opens a PKCE sign-in page in your browser.
3. You sign in to PhotoAnimation.io and approve this one assistant, nothing wider.
4. A token for https://photoanimation.io/mcp only is issued to the assistant, renewed automatically and revocable from your settings whenever you like.

## Scripts and headless agents

No browser at hand, as in a script or a headless agent? Create a key under Settings → API keys and pass it as a bearer token. Keys are part of the plans whose pricing card lists API access.

## What the assistant can do with your photos

- `list_models`: Qualities, restore modes, motions, clip lengths and their credits.
- `upload_photo`: Store a photo (an attachment or an https link) on its mat after the consent tick and the free photo check.
- `restore_photo`: Restore an uploaded photo, with natural colour, muted colour or black and white. From 45 credits.
- `animate_photo`: Animate an uploaded or restored photo with a motion, quality and length. From 189 credits. Pass photo_urls to animate up to 20 photos in one call (Generations and team plans).
- `get_task`: Status and result of one restore or animation.
- `list_tasks`: Your latest restores and clips, newest first.
- `get_credits`: Remaining balance and plan.

A tool call charges the same credits as the studio when the job starts, and refunds them by itself if the job fails or a face changes.

## 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.
- A job still 'processing': most finish within one to three minutes, face check included. 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.

## Animating over MCP: questions

### Does the MCP server cost extra?

No. The connection itself costs nothing on any plan; each job uses the same credits it would in the studio. Sign-up credits work here too.

### Which models restore and animate the photos?

The same models as the studio, at the same prices: PixVerse V6, Kling 4.0 Flash and Kling 4.0 for clips, Nano Banana 2.1 and Nano Banana Pro for restores. The list_models tool returns today’s credit costs.

### What happens when a job fails or my credits run short?

A job’s credits leave your balance when it starts and return by themselves if it fails or a face changes. With too few credits, no job starts and the tool answers with the amount it needs.

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

Attach it, or pass an https link, to upload_photo with consent set to true: the photo shows you, someone who gave permission, or a late relative with the family’s permission. It is checked (no children, no public figures), placed on a mat and copied into your private PhotoAnimation.io storage.

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

Remove PhotoAnimation.io from your assistant’s server list, add it back, and a fresh sign-in starts. A 403 on an API key means your plan has no API access, so connect with OAuth instead.

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

Restores take about a minute and clips one to three; get_task returns the link once the face check has passed. Every result is also saved to My photos like any job started on the website.


---

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