Model Context Protocol
Fix the light in photos from Claude, ChatGPT or Cursor
With the Relight-AI.com MCP server, Claude, ChatGPT, Codex, Cursor and similar assistants can fix the light in your photos: hand over a link, name a fix like remove shadows or virtual twilight, and get the result back in the chat.
Server URL (Streamable HTTP)
https://relight-ai.com/mcp
What the assistant can call
list_fixes- The four fixes and the options each one takes.
list_models- Fast and Pro, and what each output size costs in credits.
fix_light- Relight one photo from an https link: remove shadows, match a reference photo's light, virtual twilight or even light. You confirm you may edit the photo. From 28 credits.
get_task- Status and download link for one fix.
list_tasks- Recent fixes on your account.
get_credits- How many credits you have, which plan you're on and the biggest output size you can order.
A fix’s credits are reserved when it starts and handed back by itself if it fails, at the same prices as the pricing page.See credit prices
Connect your assistant
Pick your assistant, copy the snippet for it, then approve the Relight-AI.com sign-in that appears.
In Claude (web or desktop), go to Settings → Connectors → Add custom connector. Name it Relight-AI.com, paste the server URL above, hit Connect and approve the sign-in.
https://relight-ai.com/mcp
Approving opens Relight-AI.com in a new tab: log in or create an account, then press Allow access. Your password and keys stay with Relight-AI.com; the assistant only gets a scoped token.
What happens when you sign in
- On the first request the server replies 401 and points your assistant at the Relight-AI.com OAuth metadata.
- The assistant registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in.
- You sign in to Relight-AI.com and allow that one assistant, nothing wider.
- It gets a token scoped to https://relight-ai.com/mcp that renews quietly; revoke it any time from your connected apps.
Fixing photos from a script
Running a script or a headless agent? Create a key under Settings → API keys and send it as a Bearer header instead of signing in with OAuth. API keys come with every plan and every credit pack.
{
"mcpServers": {
"relight-ai-com": {
"url": "https://relight-ai.com/ mcp",
"headers": {
"Authorization": "Bearer sk_your_key"
}
}
}
}Fixing photos from chat: questions
Is fixing through an assistant priced differently?
No. Connecting is free on every plan; you only spend the credits each fix costs, as on the website. Sign-up credits work here too.
Which models does the assistant get?
The same two as the fixer: Fast (Nano Banana 2.1) and Pro (Nano Banana Pro). Ask the assistant to call list_models for today's credit prices per size.
What if a fix fails mid-chat or I run out of credits?
The credits are reserved at the start and refunded on their own if the fix fails. When your balance cannot cover a fix, the assistant is told so and nothing is charged.
How do I send a photo from the chat?
Give the assistant an https link, or two for a light match. Relight-AI.com saves a private copy to your account before fixing it, so a short-lived link is fine.
My assistant keeps sending me back to the sign-in. What now?
Remove Relight-AI.com from the assistant's server list and add it again; that starts a fresh sign-in. If an API key gets a 403, its plan doesn't include API access: sign in with OAuth instead, or pick a plan that has it.
How long does a chat fix take, and where is the file?
Usually between 20 and 90 seconds. The fixed photo lands in My fixes next to the ones you made in the fixer, and the assistant receives a download link.
Updated