Realtime Avatar

io.github.theinfluencecompanyv0.27.0更新于 Oct 5, 2026

Read your Realtime Avatar avatars, credit balance and session bill from a coding agent.

已验证STDIO仅桌面AI & MLFinanceMedia & Design

概览

AI 生成的概览

让编码代理读取 Realtime Avatar 的头像、额度余额和会话账单,并可选地创建头像和发起按秒计费的调用。

功能
这是 Realtime Avatar 平台的 MCP 服务器。只读工具可列出头像并标明哪些可实时使用、获取单个头像详情、查询额度余额与已预留金额、按会话列出时长与费用的明细账单,以及查看某个头像的片段库。启用写入后,还可设置静止循环、声明完整片段库、上传本地文件或登记网络上的资源、用一张静态图生成头像,并创建实时会话以验证集成。
适用场景
当代理需要真实的头像 id、余额或账单数据而不是从文档中猜测时,或希望由代理创建头像与片段库并验证实时集成时使用。它是仅限桌面的本地进程,适合开发机而非托管环境。
运行要求
通过 npx 从 npm 包 realtime-avatar-mcp 以 stdio 在本地运行,需要 Node.js。需要 Realtime Avatar API 密钥,放在 REALTIME_AVATAR_API_KEY 中;可申请免费沙箱密钥。除非将 REALTIME_AVATAR_ALLOW_WRITES 设为 1,否则写入工具保持关闭。需要访问 Realtime Avatar 服务的网络连接。
安装前请注意
REALTIME_AVATAR_API_KEY 是机密,不应外泄。写入工具受 REALTIME_AVATAR_ALLOW_WRITES=1 控制;start_call 按秒计费且拒绝 tic_live_ 密钥,因此生产密钥无法用于它。upload_asset 会读取运行该服务器机器上的任意绝对路径。set_clip_library 会整体替换片段集合,未包含的片段将不再提供。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Realtime Avatar,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

realtime-avatar-mcp

Published on npm as realtime-avatar-mcp — run it with npx, never installed into an app.

An MCP server for Realtime Avatar. AGENTS.md tells a coding agent what the API is; this lets it look — at your avatars, your balance, your bill — instead of guessing ids and inventing shapes.

jsonc
{  "mcpServers": {    "realtime-avatar": {      "command": "npx",      "args": ["-y", "realtime-avatar-mcp"],      "env": { "REALTIME_AVATAR_API_KEY": "tic_test_…" }    }  }}

Full page, including the write tools and what they cost: https://realtimeavatar.ai/docs/mcp. You need an API key first — a sandbox key is free and needs no card.

Working on it in this repo? npm run build, then point command at node with args: ["/abs/path/to/realtime-avatar-sdk/libs/mcp/dist/bin.js"].

Tools

Tool
list_avatarsEvery avatar with the id you pass to startCall, and which are usable live
get_avatarFull detail for one
credit_balanceBalance, and what in-flight calls have reserved
list_sessionsThe itemised bill — when each session ran, how long, what it cost
list_clipsAn avatar's clip library: every clip, its status, the revision and rest pose

With REALTIME_AVATAR_ALLOW_WRITES=1:

ToolBills?
set_loopRe-direct her resting loop from a new descriptionno
set_clip_libraryDeclare an avatar's full clip set as JSON — the platform renders itno
upload_assetUpload a file from this machine's disk, get a public URLno
create_remote_assetRegister a file already on the internet — no local copyno
create_avatar_from_imageBuild an avatar from ONE still — the loop is generatedno
create_avatar_from_videoDeprecated. Closed to new callers (422). Use the image toolno
start_callMint a live session to verify an integrationyes, per second

Spending money is opt-in, and twice gated

The five tools above are read-only, and each carries readOnlyHint so a host can gate on the annotation rather than on a name it has to recognise. Pointed at a production key, this server is no more dangerous than a dashboard you left open.

REALTIME_AVATAR_ALLOW_WRITES=1 enables the write tools. Only start_call costs credits, and it refuses a tic_live_ key outright — an operator who armed writes against a test key and later swapped in a production one should not discover it by being billed. Two independent gates, because one is a single mistake away from being none.

Two things to understand before arming writes:

  • upload_asset reads local disk. It opens whatever absolute path the agent names, on the machine running the server. Relative paths are refused rather than resolved against whatever directory the host spawned it in.
  • The clip declaration retires by omission. set_clip_library takes the COMPLETE set; anything missing from it stops being served. Its plan reports kept/queued/retired clips. Declare source.motionPrompt or source.assetId; the platform hosts and prepares media. The avatar's stored source is the implicit rest state — never declared, so the id primary is reserved.

Why an MCP server at all

An agent that reads docs still guesses. ava_… ids cannot be inferred, and the failures that cost the most time here are invisible in a type signature: a reshaped connection payload is rejected by the browser client; a 429 on a call is the queue, not an error; the resting loop is the avatar's source rather than a library clip, so no declaration changes it.

list_avatars marks which avatars are actually usable. The server's instructions carry the relay rule and the per-second billing model. That is context an agent cannot derive, delivered where it is about to act.

来源:libs/mcp/README.md,提交 9e56486

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.27.0最新Oct 5, 2026