MCP Server for Creating and Managing AI Avatars
Let a coding agent create and manage AI avatars on your Realtime Avatar account: create one from an image, start a test call, edit its loop and clips, and read avatars and credits.
realtime-avatar-mcp gives a coding agent your Realtime Avatar account as tools. With writes on, the agent creates an avatar from one image, starts a short test call, re-generates the avatar's resting loop and declares its clip library. Read tools list your avatars, credits and sessions, so the agent builds against a character that exists instead of guessing an avatar id. Run it with npx -y realtime-avatar-mcp.
Install
For a concrete first task, ask your coding agent to inspect available avatars and credits, then adapt the Next.js starter using a returned avatar ID. Keep the key on the server and start a paid call only after a user action. The integration guide covers the complete browser-to-server path.
Published on npm as realtime-avatar-mcp. There is nothing to build and nothing to host: it runs over stdio, straight from npx. Add this to your agent's MCP config — .mcp.json for Claude Code, .cursor/mcp.json for Cursor, claude_desktop_config.json for Claude Desktop.
{
"mcpServers": {
"realtime-avatar": {
"command": "npx",
"args": ["-y", "realtime-avatar-mcp"],
"env": { "REALTIME_AVATAR_API_KEY": "YOUR_API_KEY" }
}
}
}{
"mcpServers": {
"realtime-avatar": {
"command": "npx",
"args": ["-y", "realtime-avatar-mcp"],
"env": {
"REALTIME_AVATAR_API_KEY": "YOUR_API_KEY",
"REALTIME_AVATAR_ALLOW_WRITES": "1"
}
}
}
}Create a key in workspace Settings → API keys and replace YOUR_API_KEY with the full key. The list stays masked; workspace owners and admins can use Copy to copy newly created keys again while they are active and unexpired. Lost legacy keys stored as hashes only need a replacement, and revoked or expired keys cannot be copied. See Authentication for details. Creating a key is free; calls on any key spend workspace credits, and there is no separate test mode.
Try it free: 8 free minutes once, no card. Get your API key
What the agent gets
Writes are opt-in. An agent that can create a character or start a call spends credits, so those tools appear only when you set REALTIME_AVATAR_ALLOW_WRITES=1. Read tools are always on.
Create and manage avatars (with REALTIME_AVATAR_ALLOW_WRITES=1)
create_avatar_from_image: a character from one still image. The platform generates her resting loop and a starter motion library from that frame;motionPromptart-directs the loop.upload_assetandcreate_remote_asset: get the image in, from a file on the agent's machine or from a public URL. Neither spends credits.start_call: mint a live test session, billed by the second and capped bymaxSeconds(300 at most), and return the connection payload.set_loop: re-generate the resting loop from a one-sentence description. She keeps serving the previous loop until the new one is ready.set_clip_library: declare the full clip library (idle variations, the listening reaction, requestable actions); new or changed clips render in the background.create_avatar_from_videois deprecated and closed: it answers422for any workspace that was not already creating from video. Usecreate_avatar_from_image.
Creating a character spends credits and takes minutes. Creation is asynchronous: the avatar comes back preprocessing and is not callable until it reaches ready. An agent that mints a session against a preprocessing avatar gets a 409 with code: "avatar_not_ready", so it should poll get_avatar instead of retrying the call.
Read the account (always on)
list_avatars: every avatar on the account, with the id you pass to a session mint. This is the one an agent should call before writing any code.get_avatar: full detail for one avatar, including its clip set and voice.credit_balance: the balance, and how much is reserved by calls in flight.list_sessions: the itemised bill, with when each session ran, how long it was billable for, and what it cost.list_clips: the declared clip library with each clip's render status.
What it is not
The MCP server is a build-time tool. It is how your agent learns the account while it writes your integration; it is not how your application talks to the platform at runtime. Your app should keep minting sessions from your own server, because that endpoint is where you decide who may call and what the character knows — see Authentication. Never commit any API key in an agent config, regardless of its prefix.
Try it in one line
With the server configured, this prompt is enough to get a working page, because the agent can now look up a real avatar instead of inventing one:
Use the realtime-avatar MCP server. List my avatars, pick the first ready one,
then build a one-button page that opens a live video call with her: she speaks
first, two-way voice, her portrait while she connects, and a hang-up button.
Mint the session from a server route, never from the browser.
Follow https://realtimeavatar.ai/llms.txt for the SDK shapes.Compare and cost guides
- Realtime Avatar pricing
- Avatar API cost calculator
- Realtime Avatar vs Tavus, HeyGen LiveAvatar, Anam and Simli
- Realtime AI avatar APIs compared
- Realtime avatar API pricing, worked out
- HeyGen and LiveAvatar API pricing explained
- Choosing a HeyGen alternative for realtime avatars
- Tavus pricing per minute
- A Tavus alternative for live AI characters
- Meta Muse Realtime Avatar vs Realtime Avatar
- A realtime AI avatar in React Native or Expo
- Live avatars in 2026: a field guide to the research