Model Context Protocol

Put your face in our templates from Claude, ChatGPT or Cursor

The FaceJoy.ai MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants browse our photo and video templates, quote what a swap costs and put your own face into the template you pick. It only ever uses your own selfie, the one you uploaded with consent on the FaceJoy.ai website; the assistant can't send a photo, a link or a prompt. A swap made through your assistant runs on the same models, costs the same credits and is refunded the same way as one made on the website.

Server URL (Streamable HTTP)

https://facejoy.ai/mcp

MCP tools your assistant can call

list_templates
Our live photo and video templates with their slug, category, versions and credits per swap.
make_swap
Puts your own face (your selfie uploaded with consent on the website) into one of our templates: 12 credits for a photo, 72 for a video template.
get_task
Status and download link for one swap, including the motion step of a video template.
list_tasks
Your latest swaps, filterable by status.
get_credits
Remaining credits, plan and resolution limit.

Credits are taken only when a swap 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

Choose the assistant you use, copy its setup, and approve access when the sign-in page opens in your browser.

Claude (claude.ai or Claude Desktop): go to Settings → Connectors → Add custom connector, call it FaceJoy.ai, paste the server URL, then press Connect and approve access.

https://facejoy.ai/mcp

FaceJoy.ai opens in your browser: sign in or make a free account, then press Allow access. The assistant never sees your password or an API key.

How sign-in works

  1. The assistant's first call gets a 401 reply that names our OAuth metadata.
  2. The client then registers (by Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in window.
  3. On FaceJoy.ai you sign in and approve that single client on the consent screen.
  4. It receives a token valid only for https://facejoy.ai/mcp; the token renews itself and you can revoke it whenever you like.

Review connected apps

Use an API key from scripts

Instead of OAuth, a script or headless agent can pass an API key (create one under Settings → API keys) as a bearer header. API keys come with every paid plan and credit pack.

{
  "mcpServers": {
    "facejoy-ai": {
      "url": "https://facejoy.ai/mcp",
      "headers": {
        "Authorization": "Bearer sk_your_key"
      }
    }
  }
}
Manage API keys

Questions and fixes

Does the MCP server cost extra?

No. Connecting is free on every plan; you only spend the credits each swap costs, exactly as on the website. Your sign-up credits can be spent from the assistant as well.

Which models can my assistant use?

The same models as the website: Nano Banana 2.1 for standard photo swaps, Nano Banana Pro for HD, and Seedance 2 Mini for the motion of video templates. For current credit prices, have it run list_templates.

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

A swap takes credits only once it starts, and a failed one gives them back automatically. With too small a balance the tool refuses before charging anything; buy credits on the pricing page and try again.

Can my assistant upload a photo or use someone else's face?

No. make_swap only uses your own selfie, uploaded on the FaceJoy.ai website after the consent screen, and only our built-in templates. If you haven't added a selfie yet, the assistant gives you the link to do it on the website.

My client keeps asking me to sign in. What do I do?

Delete the server from the client and add it back; that starts a clean 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 swaps go?

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

Updated