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