# Shoot studio portraits from Claude, ChatGPT or Cursor

> The FlashPortrait.net MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants pick a light and a set, make a preview, run a six-portrait shoot and re-light a portrait, from the selfies you uploaded on the website. Selfies are only ever uploaded on the website, with your consent; the tools never take a photo.

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

## Add it to your client

### Claude

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

```
https://flashportrait.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 flashportrait-net https://flashportrait.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://flashportrait.net/mcp
```

### Codex

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

```
[mcp_servers.flashportrait-net]
url = "https://flashportrait.net/mcp"
```

### Cursor

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

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

### Windsurf

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

```
{
  "mcpServers": {
    "flashportrait-net": {
      "serverUrl": "https://flashportrait.net/mcp"
    }
  }
}
```

Your browser opens FlashPortrait.net: 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 FlashPortrait.net and approve that one app on the consent screen.
4. The client gets a token for https://flashportrait.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 every paid plan and credit pack.

## MCP tools your assistant can call

- `list_options`: The six lights, sets, paper colours and frames, with the credits for a preview, a shoot and a re-light.
- `preview_portrait`: One quick 1K preview of you in a light and set; 31 credits.
- `run_shoot`: A shoot of 6 portraits of you at 2K in six poses; 870 credits.
- `relight_portrait`: New light on a finished portrait, keeping pose and outfit; 126 credits.
- `get_task`: Status and download link for one portrait.
- `list_tasks`: Your latest previews and portraits, filterable by status.
- `get_credits`: Remaining credits (the team pool for team members) and plan.

Credits are taken only when a preview, shoot or re-light starts and come back automatically if it fails. Every other tool is free. 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.
- Portrait still 'processing': ask the assistant to call get_task again in a moment.
- 403 with an API key: API keys need a paid plan or credit pack. Use OAuth or buy one.

## Questions and fixes

### Does the MCP server cost extra?

No. Connecting is free on every plan; you only spend the credits each preview, shoot or re-light costs, exactly as on the website. The free credits you got at sign-up work here too.

### Which models can my assistant use?

The same models as the website: Flux 2 Pro for portraits and re-lights, and Flux 3 Klein for previews. Ask it to call list_options for live prices.

### What happens if a portrait fails or my balance is too low?

Credits are taken only when a job starts and come back automatically if it fails. If your balance is too low, the tool says so and nothing is charged; top up on the pricing page and ask again.

### Can my assistant upload a photo, or make a portrait of someone else?

No. The tools never take a photo. You upload selfies of yourself on the website, accept the consent box and pass the checks there; the tools then use only those selfies.

### 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, your account has no paid plan or credit pack: switch to OAuth or buy one.

### Where do finished portraits go?

They are saved to My portraits like anything made on the website, and the assistant gets direct links once they are done.


---

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