# MCP server

> Connect Claude, ChatGPT, Cursor or any MCP client to Infinite Characters to make 3D characters and download them from a conversation: the endpoint, how to add it in each assistant, sign-in, and every tool.

Infinite Characters has an **MCP server** (Model Context Protocol): an AI assistant connected to it makes 3D characters on the person's account and gives them their files, in the conversation.

- **Endpoint**: `https://api.infinitepeople.ai/v1/mcp/characters`
- **Transport**: Streamable HTTP, JSON-RPC 2.0.
- **Sign-in**: OAuth 2.1 with the person's Infinite People account (Google). The assistant asks for it the first time.
- **Tools without signing in**: [`/v1/mcp/characters/tools`](https://api.infinitepeople.ai/v1/mcp/characters/tools), the live list with every schema.

## Add it to your assistant

### Claude (claude.ai, desktop and mobile)

1. Open **Settings > Connectors**, then **Add custom connector**.
2. Name it `Infinite Characters` and paste the endpoint `https://api.infinitepeople.ai/v1/mcp/characters`.
3. Connect, then sign in with your Infinite People account.

### Claude Code

```bash
claude mcp add --transport http infinite-characters https://api.infinitepeople.ai/v1/mcp/characters
```

Then run `/mcp` in Claude Code to sign in.

### ChatGPT

1. In **Settings > Security**, turn on **Developer mode**.
2. In **Settings > Connectors**, create a connector with the endpoint `https://api.infinitepeople.ai/v1/mcp/characters` and OAuth.
3. In a conversation, turn it on from the **+** menu.

### Cursor

Add to `~/.cursor/mcp.json` (or the project's `.cursor/mcp.json`):

```json
{ "mcpServers": { "infinite-characters": { "url": "https://api.infinitepeople.ai/v1/mcp/characters" } } }
```

### Any other MCP client

Use the same endpoint with Streamable HTTP; the client is sent to sign in by the server's OAuth metadata, at [`/.well-known/oauth-protected-resource/v1/mcp/characters`](https://api.infinitepeople.ai/.well-known/oauth-protected-resource/v1/mcp/characters).

## How an assistant uses it

1. `get_account`: what the account's plan allows.
2. `make_character` with `estimate: true`: the price, shown to the person, who agrees.
3. `make_character`: the character is launched and paid; `get_creation` follows it until it is ready (call it again at once while `keep_polling` is true).
4. `export_character` with `formats: true`, then with the format the person chooses: `result.url` is the file to download.

A photo of the person goes through `send_file` first. Nothing is paid without the person's agreement, and exports are free.

## Tools

| Tool | What it does | Arguments |
|---|---|---|
| `make_character` | A 3D head from up to 2 of our photos or words, its hair and rig_poses if asked, or added to a delivered head (add_to): a creation to poll with get_creation (trade 'characters'). Paid at a shown price: call with estimate first, ask the person. | `prompt`, `references`, `hair`, `rig_poses`, `add_to`, `name`, `pay_with`, `estimate`, `declarations`, `retry_of` |
| `export_character` | A finished head of the account as a file in a format and options of the person's choosing: a creation to poll with get_creation (trade 'characters'); ready, result.url is the file. Free. Call with formats first: what is served, each format's options and the heads it is made from. | `head`, `format`, `options`, `formats` |
| `get_creation` | One creation of any trade, held up to 25 s, answered on any change. Call it again right away while keep_polling is true; ready: result.url is the file, with its poster or cover if any. A character's track: its progress per line and stage. | `trade`*, `id`*, `montage_id`, `wait`, `full` |
| `list_creations` | The account's characters, newest first, those still being made among them; each read again with get_creation (trade 'characters'). | `limit`, `offset` |
| `manage_creation` | Delete a character: one still waiting is cancelled and given back, a finished one is gone for this account (nothing here takes it back). Ask the person first. | `id`* |
| `send_file` | A photo of theirs from a public https link put on our host, for make_character's references: answers its url. A picture only; never a platform's page. | `url`* |
| `get_account` | The account behind the key: its prepaid balance, whether it must still accept the terms on the site before a paid head (characters_terms_needed) and, with an offer, the characters its month still pays (whole ones and heads alone) and when it renews. Call it when unsure who pays. | — |

`*` required. Tool descriptions are the server's own, in English.
