> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omnichar.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Omnichar Cloud from AI tools over MCP

> Connect Claude, Claude Code, Cursor or VS Code to Omnichar Cloud over MCP, then list characters, generate images and video, and manage runs from chat.

Omnichar Cloud has an MCP server. MCP (Model Context Protocol) is how AI tools such as Claude, Claude Code, Cursor and VS Code call outside services. Once you connect, you can ask for a shot in chat. The agent picks the right `.char`, renders it with your credits and gives you the result.

Everything the agent does happens in your workspace. Runs appear on your **Runs** page, and each one records which client started it. Credits, licenses and limits work the same way they do in the dashboard.

**Server URL**

```text theme={null}
https://mcp.omnichar.org/mcp
```

The **MCP** tab in [Omnichar Cloud](https://cloud.omnichar.org/mcp) shows this URL, the setup steps for each client and the guards described below.

**Set up the Omnichar MCP server.** Paste into Claude Code, Cursor or VS Code and your agent connects itself to Omnichar Cloud.

Connect this agent to the Omnichar Cloud MCP server so it can list my characters and generate images and video with them.

Read `https://docs.omnichar.org/cloud/mcp-clients.md` and `https://docs.omnichar.org/cloud/mcp.md` first. The server URL is `https://mcp.omnichar.org/mcp`.

1. Work out which client you are running in: Claude Code, Cursor, VS Code or another. If you can't tell, ask me.
2. Add the server the way the setup page shows for that client: the `claude mcp add` command, or the `mcp.json` entry. Show me the change before you make it.
3. Tell me to finish sign-in in the browser window that opens: Google, then pick the workspace, then approve. Do not ask me to paste a key into this chat.
4. Call `get_credits` and tell me my balance and the daily MCP credit limit.
5. Call `list_characters` and `list_models` and summarise them.
6. Before the first `generate_image` or `generate_video`, tell me the character, the model and the credit price from `list_models`, and wait for my yes.

Hard rules:

* Never print, log or store an API key or token.
* Don't call `delete_run`, `delete_session` or `sign_license` unless I ask for that exact action.
* Nothing is spent until I confirm a generation.

Done when: `get_credits` answers in this client and no credits have been spent.

## Connect a client

Pick your client in [Connect an MCP client](https://docs.omnichar.org/cloud/mcp-clients.md) and follow its steps. Most clients take only the server URL. The first call then opens a browser window so you can sign in.

## Sign in

You can connect in two ways.

### Sign in with Google

This is the default. The first time your client calls Omnichar, a browser window opens. Sign in with the Google account you use for Omnichar Cloud, choose which workspace the client acts as, and approve. You don't copy or paste anything.

### API key

Use a key for clients without browser sign-in, or for scripts and CI. Create one under **MCP › Sign in › API key**. The client sends it in the `Authorization` header:

```text theme={null}
Authorization: Bearer <your MCP key>
```

The kind of key depends on the workspace:

| Workspace | Key | Notes |
| - | - | - |
| Personal | `oc_sk_…` | Production only. |
| Team | `sk_live_…` or `sk_test_…` | Choose Production or Sandbox when you create it. |

A sandbox key (`sk_test_`) never spends credits and never touches real licenses. Use it to try a workflow before you hand an agent a live key.

You see a key once, when you create it. Store it like a password. If you lose it, revoke it and create a new one.

## Tools

These are the tools your agent gets. The server enforces every gate, so a client can't skip one.

| Tool | What it does | Type |
| - | - | - |
| `list_characters` | Your `.char` library, and any still building | Read |
| `build_character` | Build a `.char` from 1-3 photos and an optional voice clip | Uses credits |
| `create_upload` | Upload a local photo or voice clip for a build, a pose or a reference | Uploads |
| `list_models` | Image and video models, with sizes and credit price | Read |
| `generate_image` | Cast characters into an image, posed like a picture, or work from any reference picture with no character | Uses credits |
| `generate_video` | Image or text to video, with the character's voice, or from any reference picture with no character | Uses credits |
| `list_runs` | Run history, filtered by type, status, character or date | Read |
| `get_run` | Status, output links and identity match | Read |
| `delete_run` | Remove one or more runs from Runs | Deletes |
| `delete_session` | Remove a session and every run in it | Deletes |
| `sign_license` | Issue a signed license on a `.char`: use, territory, term | Teams |
| `verify_license` | Check a license is valid and not revoked | Read |
| `get_credits` | Balance and today's spend | Read |

Output links are short-lived. Ask the agent for the run again with `get_run` if one has expired.

## Photos, voices and pose references

`build_character` takes 1-3 photos and an optional voice clip. `generate_image` takes an optional pose, `generate_video` an optional picture to start from, and both take a `reference_image` when no character is cast. Each file can reach OmniChar in one of three ways:

| How | When to use it |
| - | - |
| A public `https` link | The file is already online, or it's an output link from `get_run`. |
| A key from `create_upload` | The file is on your computer and the agent can run commands: Claude Code, Cursor, VS Code. The agent uploads it with the `curl` line `create_upload` returns, then passes the key. |
| Inline base64 | The agent can see the image but can't run commands. Up to 8 MB per file. |

Photos must be PNG, JPEG or WebP; voice clips MP3, WAV or M4A. OmniChar checks that a file is what it says it is before storing it, and a link must be public: private and internal addresses are refused. Uploaded files count toward your storage like files uploaded in Cloud.

> [!NOTE]
>
> In Claude on the web, whether an image you attach in chat can be passed to a tool depends on the client. If the agent can't send it, share a public link to the image, or use Claude Code, Cursor or VS Code, where the agent can upload the file itself.

## Guards

Set these on the MCP tab. They apply to every client connected to the workspace.

* **Daily credit limit.** The most MCP calls can spend in a day, 200 credits by default. When a call would go over it, the agent gets a clear refusal and nothing is charged.
* **Allow delete tools.** Off by default. While it's off, `delete_run` and `delete_session` are refused.
* **Allow signing licenses.** Off by default, and Teams only. While it's off, `sign_license` is refused.

`delete_run` takes a run off your Runs page. It doesn't refund the credits the run used. A deleted session can't be restored.

## Connected clients

After its first call, each client shows up under **Connected clients** on the MCP tab with the time it was last used. **Revoke** cuts it off: its next call is refused, and it has to sign in again or use a new key.

## Try a prompt

Name characters the way `list_characters` does ("aron"). With a character, a pose picture sets the body position and never changes their face, hair, body or clothing. With no character, a reference picture can be anything: say in the prompt what to take from it.

* "List my characters."
* "Make 3 images of aron in a concrete gallery, low angle, 3:4."
* "Make an image of aron posed like this photo."
* "Make a product shot of the sneaker in this photo on wet asphalt at night."
* "Build a .char called mira from these 3 photos."
* "Turn my last image into a 5 second video."
* "Sign a license for georgia.char: online ads, EU, 6 months."
* "Show yesterday's canceled runs and delete them."

## Security

* An agent can be steered by text it reads, such as a web page or a file. Keep the daily limit low and leave delete and signing off unless you need them.
* Sign-in uses OAuth with PKCE. Tokens are issued for the Omnichar MCP server only.
* Revoke a client you no longer use. Revoke a key straight away if it leaks.
* Every call that spends, deletes or signs is recorded with the client that made it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.