# Change photo backgrounds from Claude, ChatGPT or Cursor

> With the ChangeBackground.org MCP server, Claude, ChatGPT, Codex, Cursor and similar assistants can put your photo into a new scene: hand over a link, name a scene like christmas or beach, or describe one, and the versions come back to the chat. You pay the same credits as on the website.

Server URL (Streamable HTTP): `https://changebackground.org/mcp`

## Connect your assistant

### Claude

In Claude (web or desktop), open Settings → Connectors and add a custom connector. Name it ChangeBackground.org, paste the server URL, then press Connect and approve.

```
https://changebackground.org/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 changebackground-org https://changebackground.org/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://changebackground.org/mcp
```

### Codex

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

```
[mcp_servers.changebackground-org]
url = "https://changebackground.org/mcp"
```

### Cursor

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

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

### Windsurf

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

```
{
  "mcpServers": {
    "changebackground-org": {
      "serverUrl": "https://changebackground.org/mcp"
    }
  }
}
```

A ChangeBackground.org tab opens: sign in (or create an account) and press Allow access. Your password and API keys stay with us; the assistant only gets a token.

## What happens when you sign in

1. First contact: the server replies 401 and points the assistant to our OAuth metadata.
2. The assistant registers itself, by a Client ID Metadata Document or dynamic client registration, and begins a PKCE sign-in.
3. In ChangeBackground.org you log in and grant access to that single app.
4. The assistant receives a token that only works on https://changebackground.org/mcp; it refreshes itself and you can revoke it whenever you like.

## Changing backgrounds from a script

Running a script or a headless agent? Put a key from Settings → API keys in a bearer Authorization header instead of using OAuth. Every plan and the credit pack include API keys.

## What the assistant can call

- `list_scenes`: The scene library by category, and the light options.
- `list_models`: The three engines and what a scene set and a final cost in credits.
- `change_background`: Put one photo (https link) into a library scene or a described one, in 1 or 4 versions; Pro plans pass several scenes or photos. Needs your confirmation that you may edit the photo. From 50 credits.
- `get_task`: Status and download links for one scene set.
- `list_tasks`: Recent scene sets on your account.
- `get_credits`: Your credit balance, current plan and largest final size.

A set’s credits are reserved when it starts and handed back by themselves if a version fails or its subject changed, at the same prices as the pricing page.

## If the connection misbehaves

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

## Changing backgrounds from chat: questions

### Is a scene from an assistant priced differently?

No. Connecting is free on every plan; you only spend the credits each set costs, as on the website. Sign-up credits work here too.

### Which engines does the assistant get?

The studio’s three: Nano Banana 2.1, GPT Image 2 and Nano Banana Pro. GPT Image 2 takes photos without a person in them. Ask the assistant to call list_models for today’s credit prices.

### What if a version fails mid-chat or I run out of credits?

The credits are reserved at the start and refunded on their own if a version fails. When your balance cannot cover a set, the assistant is told so and nothing is spent.

### How do I send a photo from the chat?

Give the assistant an https link or attach the photo. ChangeBackground.org saves a private copy to your account first, so a short-lived link is fine.

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

Remove the server from your assistant and add it back; the next sign-in starts clean. If an API key gets a 403, your plan does not include API access: sign in with OAuth, or choose a plan that has it.

### Is the subject locked when I use an assistant?

Chat results keep the model’s own subject, and each version is compared with your upload and refunded if the subject changed. The Locked composite, which puts your original subject pixels back, and the 2K/4K finals run in the studio under My scenes.


---

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