Model Context Protocol

Try your team headshot look from Claude, ChatGPT or Cursor

The Headshot AI MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants work on your team look: compare the Pro and Fast models, change the background, attire, light and crop if you own the team, and make headshots of an AI-generated sample person to judge the look before your team takes part. Members still join with your team link and upload their own selfies on the website. Same models, same credit prices and the same refunds as the website.

Server URL (Streamable HTTP)

https://headshotai.net/mcp

MCP tools your assistant can call

list_models
Both headshot models with credits per headshot, the look options and the sample people.
make_headshots
Headshots of one sample person in your team look, from 64 credits each. Team owners can change the look in the same call.
get_task
Status and download link for one headshot.
list_tasks
Your latest headshots, filterable by status.
get_credits
Remaining credits (the team pool for members), plan and resolution limit.

Credits are taken only when a headshot 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 Headshot AI and paste the URL. Press Connect and approve access.

https://headshotai.net/mcp

Your browser opens Headshot AI: 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 Headshot AI and approve that one app on the consent screen.
  4. The client gets a token for https://headshotai.net/mcp only, refreshed automatically and revocable at any time.

Review connected apps

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": {
    "headshot-ai": {
      "url": "https://headshotai.net/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 headshot 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 two models as the website: Nano Banana Pro for Pro headshots and Seedream 5.5 for Fast ones. Ask it to call list_models for live prices.

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

Credits are taken only when a headshot 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 make headshots of my team members?

No. make_headshots works only on the AI-generated sample people, so you can judge a look before anyone takes part. Members join with your team link on the website, upload their own consented selfies and get their headshots there.

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 headshots go?

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

Updated