{"at":"2026-11-23T02:34:49.791Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:34:50.194Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:34:50.294Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:34:50.696Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false},"tools":{"listChanged":false}},"instructions":"three.ws 3D avatar tools. render_avatar shows a live, rotatable avatar inline (preview image + interactive model + embed URL); avatar_embed_code returns a paste-anywhere iframe; get_avatar returns metadata. Identify avatars by id, @handle, or a raw GLB url. The showcase-avatar prompt does the full flow in one step: live inline render plus embed iframe with a copy-paste summary. Free and read-only — no API key for public avatars.","protocolVersion":"2025-11-25","serverInfo":{"name":"three.ws-avatar-mcp","version":"0.3.2"}}}}
{"at":"2026-11-23T02:34:50.696Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:34:50.696Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:34:50.699Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"ui":{"resourceUri":"ui://threews-avatar/avatar.html"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Render a three.ws 3D avatar inline: shows an interactive (rotatable) 3D model in the chat, plus a preview image and a ready-to-embed live URL. Identify the avatar by id, @handle, or a raw GLB url.","inputSchema":{"anyOf":[{"required":["id"]},{"required":["handle"]},{"required":["model"]}],"properties":{"auto_rotate":{"default":true,"description":"Spin the model in the interactive view.","type":"boolean"},"background":{"default":"transparent","description":"Backdrop for the preview/embed.","enum":["transparent","dark","light"],"type":"string"},"handle":{"description":"three.ws username/handle, e.g. \"nirholas\" or \"@nirholas\".","type":"string"},"height":{"default":480,"maximum":1080,"minimum":160,"type":"integer"},"id":{"description":"Avatar UUID (from a three.ws avatar URL or get_avatar).","type":"string"},"model":{"description":"Direct GLB/GLTF model URL (skips lookup; used as-is).","type":"string"},"scene":{"default":"portrait","description":"Framing for the rendered preview image.","enum":["portrait","headshot","upper-body","full-body"],"type":"string"}},"type":"object"},"name":"render_avatar","outputSchema":{"additionalProperties":true,"properties":{"background":{"description":"Backdrop applied to the preview/embed.","type":"string"},"embed_url":{"description":"Live avatar-embed page URL (iframe src).","type":"string"},"id":{"description":"Avatar UUID, or null when the avatar came from a raw model URL.","type":["string","null"]},"iframe":{"description":"Ready-to-paste <iframe> embed snippet.","type":"string"},"model_url":{"description":"Direct GLB/GLTF model URL.","type":"string"},"name":{"description":"Avatar display name.","type":"string"},"viewer_url":{"description":"Standalone full-page interactive viewer URL.","type":"string"}},"required":["id","name","model_url","background","embed_url","viewer_url","iframe"],"type":"object"},"title":"Render 3D avatar"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Get a ready-to-paste iframe that embeds a live, interactive three.ws 3D avatar into any website or app — as easy as embedding a YouTube video.","inputSchema":{"anyOf":[{"required":["id"]},{"required":["handle"]},{"required":["model"]}],"properties":{"background":{"default":"transparent","enum":["transparent","dark","light"],"type":"string"},"handle":{"description":"three.ws username/handle, e.g. \"nirholas\" or \"@nirholas\".","type":"string"},"height":{"default":480,"maximum":1080,"minimum":160,"type":"integer"},"id":{"description":"Avatar UUID (from a three.ws avatar URL or get_avatar).","type":"string"},"idle":{"default":true,"description":"Play the idle animation loop.","type":"boolean"},"model":{"description":"Direct GLB/GLTF model URL (skips lookup; used as-is).","type":"string"},"overlay":{"default":false,"description":"Chrome-free mode (good for OBS/overlays).","type":"boolean"},"width":{"default":"100%","description":"CSS width, e.g. \"100%\" or \"480px\".","type":"string"}},"type":"object"},"name":"avatar_embed_code","outputSchema":{"additionalProperties":true,"properties":{"embed_url":{"description":"Live avatar-embed page URL (iframe src).","type":"string"},"id":{"description":"Avatar UUID, or null when the avatar came from a raw model URL.","type":["string","null"]},"iframe":{"description":"Ready-to-paste <iframe> embed snippet.","type":"string"},"name":{"description":"Avatar display name.","type":"string"}},"required":["embed_url","iframe","name","id"],"type":"object"},"title":"Get avatar embed code"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Fetch metadata for a three.ws avatar (name, GLB model url, owner, visibility) by id or @handle.","inputSchema":{"anyOf":[{"required":["id"]},{"required":["handle"]}],"properties":{"handle":{"description":"three.ws username/handle, e.g. \"nirholas\" or \"@nirholas\".","type":"string"},"id":{"description":"Avatar UUID (from a three.ws avatar URL or get_avatar).","type":"string"}},"type":"object"},"name":"get_avatar","outputSchema":{"additionalProperties":true,"properties":{"id":{"description":"Avatar UUID, or null when the avatar came from a raw model URL.","type":["string","null"]},"model_url":{"description":"Direct GLB/GLTF model URL.","type":"string"},"name":{"description":"Avatar display name.","type":"string"},"owner":{"additionalProperties":true,"description":"Owning user; omitted when the API response has no user record.","properties":{"display_name":{"type":"string"},"username":{"type":"string"}},"type":"object"},"slug":{"description":"URL slug, or null if the avatar has none.","type":["string","null"]},"thumbnail":{"description":"Preview/poster image URL, or null if none is published.","type":["string","null"]},"visibility":{"description":"Avatar visibility (e.g. \"public\", \"unlisted\"), or null if unreported.","type":["string","null"]}},"required":["id","name","slug","model_url","thumbnail","visibility"],"type":"object"},"title":"Get avatar metadata"}]}}}
