# 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`

## Add it to your client

### Claude

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
```

### 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 headshot-ai https://headshotai.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://headshotai.net/mcp
```

### Codex

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

```
[mcp_servers.headshot-ai]
url = "https://headshotai.net/mcp"
```

### Cursor

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

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

### Windsurf

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

```
{
  "mcpServers": {
    "headshot-ai": {
      "serverUrl": "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.

## 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_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.

## 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.
- Headshot 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 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.


---

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