Model Context Protocol
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
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.See credit prices
Add it to your client
Pick your app, paste the snippet, then sign in when the browser opens.
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
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
- Your client calls the server and receives a 401 that points to our OAuth metadata.
- It registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
- You sign in on FlashPortrait.net and approve that one app on the consent screen.
- 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.
{
"mcpServers": {
"flashportrait-net": {
"url": "https://flashportrait.net/ mcp",
"headers": {
"Authorization": "Bearer sk_your_key"
}
}
}
}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.
Updated