3D AI Agent Avatar
v1.2.33D AI Agent Avatar — render any GLB, give it a Solana wallet, a voice, and pump.fun powers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
inspect_glb Inspect a GLB / glTF 3D model
Fetch any GLB URL (or data: URL) and return a full structural breakdown: meshes, primitives, materials, textures, animations, skins, vertex + triangle counts, world-space bounding box, and file size. Pure local parse via @gltf-transform/core — no third-party services.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public URL or data: URL of a .glb file. |
validate_glb Validate a GLB / glTF against the Khronos spec
Run the official Khronos gltf-validator against a GLB URL. Returns errors, warnings, infos, and hints with codes + JSON pointers, plus structural counts (animations, materials, etc.) per the validator's info report. The same engine that powers gltf.report.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public URL or data: URL of a .glb / .gltf file to validate. |
maxIssues | integer | Cap on issues returned in each bucket (default 100). Validator may still scan all of them. |
optimize_glb Optimize a GLB (dedup, prune, weld, Draco)
Run a @gltf-transform/functions optimization pipeline on a GLB URL: dedup → prune unused → weld duplicate vertices → optional Draco mesh compression. Returns the optimized bytes as a base64 data URL with before/after sizes. Lossless for geometry except where Draco quantization is requested.
| Parameter | Type | Description |
|---|---|---|
url * | string | Source GLB URL (or data: URL). |
dedup | boolean | Merge equivalent accessors / materials / textures. Default true. |
draco | boolean | Apply Draco mesh compression (lossy quantization). Default false. |
dracoQuantizePosition | integer | Position bits for Draco (default 14 = high fidelity). |
prune | boolean | Remove unused materials / nodes / meshes. Default true. |
returnInline | boolean | Return the optimized GLB inline as a base64 data URL (default true). Set false to return only stats. |
weld | boolean | Merge duplicate vertices. Default true. |
thumbnail_glb Render a GLB to a PNG thumbnail
Render any public GLB URL to a PNG via three.ws's hosted three-light rig + auto-framing camera. Returns the PNG inline as a base64 data URL (≤ ~4 MB) plus dimensions. Background defaults to #0a0a0a — pass "transparent" for compositing.
| Parameter | Type | Description |
|---|---|---|
glbUrl * | string | Public http(s) URL of a .glb file. |
background | string | CSS color (e.g. "#0a0a0a") or "transparent". Default "#0a0a0a". |
height | integer | Output height in pixels (default 1024). |
width | integer | Output width in pixels (default 1024). |
viewer_url Build a three.ws viewer URL + embed snippet
Build a shareable https://three.ws/viewer?... URL that opens any GLB in three.ws's WebGL viewer, plus a ready-to-paste iframe snippet. Supports background, auto-rotate, camera preset OR explicit camera orbit, AR mode (model-viewer), dimensions, pose, and accessory overlay. Accepts a raw glbUrl or a sessionId from spawn_avatar.
| Parameter | Type | Description |
|---|---|---|
accessoryIds | array | Accessory ids to attach in the viewer. |
ar | boolean | Enable model-viewer AR buttons on iOS/Android. |
autoRotate | boolean | Auto-rotate the model. Default true on the web viewer. |
background | string | Background color or gradient (CSS), e.g. "#0a0a0a", "linear-gradient(...)", or "transparent". |
cameraAngleDeg | number | Yaw in degrees shorthand. Used when cameraOrbit is absent. |
cameraDistance | number | Distance multiplier shorthand (1.0 = default). Used when cameraOrbit is absent. |
cameraOrbit | string | Explicit camera orbit in model-viewer syntax, e.g. "0deg 80deg 2m". Overrides cameraPreset. |
cameraPreset | string | Named camera framing preset. |
glbUrl | string | Direct GLB URL. Required if sessionId is omitted. |
height | integer | Viewer height in pixels. |
pose | string | Pose preset id (e.g. "wave", "tpose"). Call list_animations for the catalog. |
sessionId | string | Avatar sessionId returned by spawn_avatar. Overrides glbUrl. |
thumbnailUrl | string | Optional thumbnail to show in the iframe before the GLB loads. |
width | integer | Viewer width in pixels (for the iframe snippet). |
list_avatars List three.ws default avatars + accessories
Return the catalog of default 3D avatars (default, cz) and accessories (hats, glasses, earrings) hosted on the three.ws CDN. Each entry includes a public GLB URL ready to load in any glTF viewer or Three.js scene. Includes the supported pose preset names.
list_animations List three.ws pose presets + animation slots
Return the three.ws pose preset catalog (T-pose, A-pose, wave, thinker, jump, dance, warrior2, …) grouped by category. Use the ids returned here as posePresetId in render_avatar. Fetched live from three.ws so the catalog reflects the deployed version.
spawn_avatar Spawn a 3D avatar session
Spawn a 3D avatar from a curated default (preset="default" or "cz") or from a custom GLB URL. Returns a sessionId other tools (dress_avatar, viewer_url, speak) reference, plus the avatar GLB URL and a ready-to-open three.ws viewer link.
| Parameter | Type | Description |
|---|---|---|
glbUrl | string | Custom GLB URL — overrides preset. |
name | string | Display name for the avatar persona. |
persona | string | Short persona/personality blurb (used by callers; not enforced server-side). |
preset | string | Pick a curated default avatar. |
voice | string | OpenAI TTS voice the speak tool should use for this session. |
dress_avatar Apply accessories + pose to a spawned avatar
Apply (or replace) accessories on a spawned avatar session and optionally set a pose. Pass accessoryIds to set the full accessory list (empty array clears them). Pass pose to switch animations. Returns the updated viewer URL.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session id returned by spawn_avatar. |
accessoryIds | array | Full list of accessory ids to wear. Allowed: hat-baseball, hat-beanie, hat-cowboy, glasses-round, glasses-shades, earrings-hoops, earrings-studs. Empty array clears. |
pose | string | Pose preset. Allowed: idle, wave, thumbs_up, dab, t_pose, sit, point, salute, cheer. |
render_avatar Render a posed avatar (pose + camera + expression)
Render an avatar GLB with a three.ws pose preset, camera orbit, and optional ARKit-52 facial expression. Same pipeline as the three.ws customizer's save-snapshot flow. Returns PNG bytes as a base64 data URL. Accepts either glbUrl directly or sessionId from spawn_avatar.
| Parameter | Type | Description |
|---|---|---|
background | string | CSS color or "transparent". Default "#0a0a0a". |
cameraOrbit | object | Camera orbit around the avatar. |
expression | object | ARKit-52 morph target map, e.g. { mouthSmileLeft: 0.6, mouthSmileRight: 0.6 }. |
glbUrl | string | Avatar GLB URL. Required if sessionId is omitted. |
height | integer | Output height (default 1024). |
posePresetId | string | Pose preset id (e.g. "tpose", "wave", "thinker"). Call list_animations for the full catalog. |
sessionId | string | Avatar session id from spawn_avatar. Overrides glbUrl. |
width | integer | Output width (default 1024). |
generate_avatar Generate a 3D avatar (Replicate text-to-3D)
Generate a textured GLB from a text prompt or reference image URLs via Replicate (Hunyuan-3D 3.1 by default; configurable). Returns the GLB URL and a new avatar session you can dress + animate. Requires REPLICATE_API_TOKEN and REPLICATE_TEXT_TO_AVATAR_MODEL on the MCP server.
| Parameter | Type | Description |
|---|---|---|
images | array | Reference image URLs for image-to-3D. |
name | string | Name for the resulting avatar session. |
prompt | string | Text description of the avatar to generate. |
seed | integer | |
texture | boolean | Request PBR textures when supported (default true). |
voice | string | TTS voice the session should use. |
speak Avatar speaks (TTS)
Synthesize speech for an avatar session and return a base64 audio data URL the client can play. Free NVIDIA NIM Magpie TTS leads when NVIDIA_API_KEY is set (non-pcm requests are served as WAV); OpenAI TTS is the paid backstop when OPENAI_API_KEY is set. Picks the session's configured voice unless overridden.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text the avatar should say. |
format | string | Audio format (default mp3; the free NVIDIA lane serves every non-pcm request as wav). |
language | string | BCP-47 language for the free NVIDIA lane (en-US default; also es-US, fr-FR, de-DE, zh-CN, vi-VN, it-IT, hi-IN, ja-JP). |
model | string | OpenAI TTS model used on the paid backstop lane (default gpt-4o-mini-tts). The free NVIDIA lane always serves magpie-tts-multilingual. |
sessionId | string | Avatar session id (optional — when omitted, voice falls back to the override or "nova"). |
speed | number | Playback speed multiplier (OpenAI lane only). |
voice | string | Override the session voice for this call. |
wallet_create Create a Solana wallet (optionally vanity-grinded)
Generate a Solana keypair locally. Optionally grind for a base58 prefix/suffix (e.g. "three") and/or attach it to an avatar session. Returns the base58 pubkey and secret ONCE — store the secret yourself; the MCP does not persist it.
| Parameter | Type | Description |
|---|---|---|
caseSensitive | boolean | Match case-sensitively (default true). Base58 has no 0OIl so set false to be permissive. |
maxAttempts | integer | Cap on grind attempts (default 500_000). Bump for longer prefixes. |
sessionId | string | If set, the wallet is attached to this avatar session. |
vanityPrefix | string | Base58 prefix to grind for (e.g. "three"). Up to 8 chars. |
vanitySuffix | string | Base58 suffix to grind for. Up to 8 chars. |
wallet_balance Read Solana wallet balances (SOL + SPL tokens)
Return SOL balance and all SPL token balances (including Token-2022) for a Solana pubkey. Uses the configured SOLANA_RPC_URL. Read-only — no signer required.
| Parameter | Type | Description |
|---|---|---|
pubkey * | string | Base58 Solana pubkey to read. |
includeTokens | boolean | Include SPL token accounts (default true). |
wallet_send Send SOL on Solana mainnet
Send SOL from the configured signer to a destination pubkey. The signer is supplied via the `secret` arg (base58) or via SOLANA_SECRET_KEY env on the MCP server. Returns the confirmed signature and a Solscan link. EXECUTION ACTION — funds move on mainnet, irreversible: pass confirm:true. Capped by MAX_SOL_PER_TX; destination must be in RECIPIENT_ALLOWLIST if one is configured.
| Parameter | Type | Description |
|---|---|---|
sol * | number | Amount of SOL to send. |
to * | string | Destination Solana pubkey. |
confirm | boolean | Must be true to execute this irreversible send (when REQUIRE_CONFIRM is on). |
priorityMicroLamports | integer | Compute-unit price (default 100000). |
secret | string | Base58 secret of the sender. Falls back to SOLANA_SECRET_KEY env. |
pump_snapshot Live pump.fun / Solana token snapshot
Live snapshot for a Solana token (SPL or pump.fun): USD price (Jupiter), 24h volume + primary DEX (Dexscreener), pump.fun metadata (name/symbol/image/socials/mcap), and top-holder distribution from Solana RPC. Optional Helius DAS supply when HELIUS_API_KEY is configured. Free — no signer.
| Parameter | Type | Description |
|---|---|---|
token | string | Base58 Solana mint address. Pass "three" or omit to use the $three reference mint (THREE_MINT env). |
pump_buy Buy a Solana token via Jupiter (direct or Jito-bundled)
Swap SOL → target mint via Jupiter aggregator. Direct mode = one tx signed by the buyer. Bundled mode (jitoBundle=true) = two-tx Jito bundle where funderSecret transfers SOL + tip to the buyer atomically with the swap (sweeper-resistant). Pass target="three" to use the $three reference mint. EXECUTION ACTION.
| Parameter | Type | Description |
|---|---|---|
buySol * | number | Amount of SOL to spend. |
buyerSecret * | string | Base58 secret of the buyer wallet (signs the swap). |
target * | string | Target mint (base58) or "three" to use the THREE_MINT env. |
confirm | boolean | Must be true to execute this irreversible swap (when REQUIRE_CONFIRM is on). |
funderSecret | string | Base58 secret of the funder. Required when jitoBundle=true. |
jitoBundle | boolean | Use a Jito bundle (atomic funder→buyer transfer + swap). Default false. |
jitoTipSol | number | Jito tip in SOL (default 0.005). Only used when jitoBundle=true. |
priorityMicroLamports | integer | Compute-unit price (default 2_000_000). |
slippageBps | integer | Slippage in basis points (default 500 = 5%). |
pump_launch Atomic pump.fun launch (Jito bundle, separate funder/creator)
Launch a pump.fun token atomically via a Jito bundle. Funder pays its own fee + tip and rent-funds the creator; creator signs createV2 in tx2 — both txs land in the same block or neither does. Pass devBuySol to launch-and-snipe: the creator first buy is folded into the create tx (createV2AndBuy) so it lands atomically before any sniper sees the curve. If uri is omitted, metadata is uploaded to pump.fun IPFS first from name/symbol/description/socials/imageUrl. Returns the mint address, bundle id, both tx signatures, the dev-buy quote, and the pump.fun URL. EXECUTION ACTION — creates a real…
| Parameter | Type | Description |
|---|---|---|
creatorSecret * | string | Base58 secret of the creator wallet (signs createV2 — becomes on-chain creator). |
funderSecret * | string | Base58 secret of the funder wallet (pays Tx1 fee + tip + rent transfer). |
name * | string | Token name. |
symbol * | string | Token symbol (ticker). |
confirm | boolean | Must be true to execute this irreversible mint launch (when REQUIRE_CONFIRM is on). |
description | string | |
devBuySol | number | SOL for an atomic creator dev buy folded into the create tx (launch-and-snipe). Omit or 0 = launch only. Funded by the funder on top of rent. |
imageUrl | string | Image to upload as the token icon (re-fetched at upload time). |
jitoTipSol | number | Jito tip in SOL (default 0.005). |
mintSecret | string | Base58 secret to use as the mint keypair (default: random). |
priorityMicroLamports | integer | Compute-unit priority price (default 2_000_000). |
rentSol | number | SOL the funder transfers to the creator for tx2 rent + fees (default 0.035). |
slippageBps | integer | Slippage tolerance for the dev buy in basis points (default 500 = 5%). Only used when devBuySol > 0. |
telegram | string | |
twitter | string | |
uri | string | Existing metadata URI. If omitted, metadata is uploaded first. |
website | string |
pump_collect_fees Atomic pump.fun creator-fee collection (Jito bundle)
Collect a pump.fun coin's creator-fee vault and route the SOL to a safe destination, atomically, in a single tx inside a Jito bundle. Funder pays the fee + Jito tip; creator signs collectCoinCreatorFee + drain to DESTINATION. The bundle's atomicity blocks any competing collector from interleaving even if the creator key is leaked. EXECUTION ACTION.
| Parameter | Type | Description |
|---|---|---|
creatorSecret * | string | Base58 secret of the coin creator (signs collect + drain). |
destination * | string | Pubkey to receive the collected SOL. |
funderSecret * | string | Base58 secret of the funder (pays fee + tip). |
bufferLamports | integer | Lamports to leave in the creator wallet (default 890880, rent-exempt minimum). |
confirm | boolean | Must be true to execute this irreversible collect+drain (when REQUIRE_CONFIRM is on). |
jitoTipSol | number | Jito tip in SOL (default 0.005). |
minVaultSol | number | Abort if the vault holds less than this (default 0.001). |
priorityMicroLamports | integer | Compute-unit priority price (default 3_000_000). |
ens_sns_resolve Resolve ENS + SNS names to addresses
Resolve a human-readable name to addresses across ENS (Ethereum) and SNS (Solana, Bonfida). For .eth: returns Ethereum address + reverse lookup. For .sol: returns Solana owner wallet + the wallet's other owned .sol domains + favorite domain. Names without a suffix are tried against both registries.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name to resolve, e.g. "vitalik.eth", "bonfida.sol", or bare "vitalik" (tried in both registries). |