# Relight photos from Claude, ChatGPT or Cursor

> The Relight MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants relight photos on your account: pass a photo and a light such as golden hour, and get the relit result back. Prices, models and refunds are the same as on the website.

Server URL (Streamable HTTP): `https://relight.art/mcp`

## Add it to your client

### Claude

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

```
https://relight.art/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 relight https://relight.art/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://relight.art/mcp
```

### Codex

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

```
[mcp_servers.relight]
url = "https://relight.art/mcp"
```

### Cursor

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

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

### Windsurf

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

```
{
  "mcpServers": {
    "relight": {
      "serverUrl": "https://relight.art/mcp"
    }
  }
}
```

Your browser opens Relight: 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 Relight and approve that one app on the consent screen.
4. The client gets a token for https://relight.art/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 Softbox, Golden Hour and the team plans.

## Tools

- `list_models`: Every model with its credits per output size.
- `relight_photo`: Relight a photo (https link or upload) with a lighting preset or a light you place, plus an optional note about the light. From 19 credits.
- `get_task`: Status and download link for one relight.
- `list_tasks`: Your latest relights, 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.
- Relight 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 relight 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 a relight 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 Relight storage first, then relit, 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 relights go, and how long do they take?

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


---

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