Skip to content
appsgit

3D AI Agent Avatar

3D AI Agent Avatar is an MCP server that turns any GLB into a 3D AI agent — inspect/validate/optimize models, then give one a Solana wallet, a voice, and pump.fun powers. It has 226 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @three-ws/avatar-agent.

github.com/nirholas/three.ws (opens in a new tab)

Install 3D AI Agent Avatar

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "3d-ai-agent-avatar": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/avatar-agent"
      ],
      "env": {
        "HELIUS_API_KEY": "your-value",
        "NVIDIA_API_KEY": "your-value",
        "OPENAI_API_KEY": "your-value",
        "REPLICATE_API_TOKEN": "your-value",
        "SOLANA_SECRET_KEY": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env HELIUS_API_KEY=your-value --env NVIDIA_API_KEY=your-value --env OPENAI_API_KEY=your-value --env REPLICATE_API_TOKEN=your-value --env SOLANA_SECRET_KEY=your-value --transport stdio 3d-ai-agent-avatar -- npx -y @three-ws/avatar-agent

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "3d-ai-agent-avatar": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/avatar-agent"
      ],
      "env": {
        "HELIUS_API_KEY": "your-value",
        "NVIDIA_API_KEY": "your-value",
        "OPENAI_API_KEY": "your-value",
        "REPLICATE_API_TOKEN": "your-value",
        "SOLANA_SECRET_KEY": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "helius_api_key",
      "description": "HELIUS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nvidia_api_key",
      "description": "NVIDIA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai_api_key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "replicate_api_token",
      "description": "REPLICATE_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana_secret_key",
      "description": "SOLANA_SECRET_KEY",
      "password": true
    }
  ],
  "servers": {
    "3d-ai-agent-avatar": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/avatar-agent"
      ],
      "env": {
        "HELIUS_API_KEY": "${input:helius_api_key}",
        "NVIDIA_API_KEY": "${input:nvidia_api_key}",
        "OPENAI_API_KEY": "${input:openai_api_key}",
        "REPLICATE_API_TOKEN": "${input:replicate_api_token}",
        "SOLANA_SECRET_KEY": "${input:solana_secret_key}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
SOLANA_RPC_URLNoSolana mainnet RPC endpoint. Defaults to https://api.mainnet-beta.solana.com — bring your own (Helius / Quicknode / Triton) for production traffic.
ETH_RPC_URLNoEthereum mainnet RPC for ENS resolution. Optional — falls back to ethers' default public providers.
HELIUS_API_KEYsecretNoOptional Helius API key — enables exact supply + DAS data in pump_snapshot.
NVIDIA_API_KEYsecretNoNVIDIA NIM key (nvapi-…) — leads the speak tool's TTS provider chain with the free Magpie TTS lane.
OPENAI_API_KEYsecretNoOpenAI TTS — the speak tool's paid backstop when the free NVIDIA lane is unavailable.
REPLICATE_API_TOKENsecretNoRequired for the generate_avatar tool (Replicate text/image-to-3D).
REPLICATE_TEXT_TO_AVATAR_MODELNoReplicate version hash pinned for text-to-3D — recommended: latest tencent/hunyuan-3d-3.1.
SOLANA_SECRET_KEYsecretNoOptional default base58 Solana secret for walletsend / pumpbuy. Per-call secret args override this. Treat like cash.
THREE_MINTNoOptional pump.fun mint address for $three so tools accept target="three" as shorthand.
MAX_SOL_PER_TXNoPer-transaction spend cap in SOL for the execution tools (walletsend, pumpbuy, pumplaunch, pumpcollect_fees).
REQUIRE_CONFIRMNoWhen on (default), execution tools refuse until re-issued with confirm:true. Set 0/false to disable the gate.

Tools (21)

Parsed from the Tools section of the README; check the repository for the current list.

  • inspect_glb

    Mesh / material / texture / animation / skin breakdown, bounding box, vertex and triangle counts. @gltf-transform/core.

  • validate_glb

    Runs Khronos's official gltf-validator; returns errors, warnings, infos, hints with JSON pointers.

  • optimize_glb

    Dedup → prune → weld → optional Draco. Returns the rewritten bytes inline with before/after sizes and a signed…

  • thumbnail_glb

    Renders any GLB to a PNG via three.ws's hosted three-light rig + auto-framing camera. Returns base64 PNG inline.

  • viewer_url

    Builds a three.ws/viewer?... URL + paste-ready iframe for any GLB or avatar session (background, auto-rotate, camera…

  • list_avatars

    Catalog of default GLB avatars (default, cz), accessories, and pose presets.

  • list_animations

    Live fetch of three.ws's pose presets (T-pose, wave, thinker, jump, dance, warrior2, …) grouped by category.

  • spawn_avatar

    Creates an avatar session from a preset or custom GLB URL. Returns a sessionId.

  • dress_avatar

    Applies accessories + a pose to a session.

  • render_avatar

    Renders a posed avatar to a PNG — pose preset + camera orbit (theta/phi/radius) + ARKit-52 facial expression.

  • generate_avatar

    Text/image-to-3D via Replicate (Hunyuan-3D). New session preloaded with the generated GLB.

  • speak

    Synthesizes speech in the avatar's voice — free NVIDIA Magpie TTS lane first (NVIDIAAPIKEY), OpenAI TTS backstop…

  • wallet_create

    Generates a Solana keypair. Optional vanity grinder (vanityPrefix: "three"). Secret is returned once.

  • wallet_balance

    Reads SOL + all SPL token balances (incl. Token-2022).

  • wallet_send

    Sends SOL on mainnet. Execution.

  • pump.fun
  • pump_snapshot

    Live market snapshot: USD price (Jupiter), 24h volume + DEX (Dexscreener), pump.fun metadata, top-holder distribution.

  • pump_buy

    Jupiter swap, direct or Jito-bundled (funder→buyer transfer + swap atomic). Accepts any runtime mint. Execution.

  • pump_launch

    Atomic launch via Jito bundle: separate funder + creator wallets, both txs in the same block.

  • pump_collect_fees

    Atomic collect: collectCoinCreatorFee + drain to a safe wallet in one tx inside a Jito bundle — resistant to a leaked…

  • ens_sns_resolve

    Resolves .eth (ENS) and .sol (SNS) names to addresses, with reverse + favorite-domain lookups.

About 3D AI Agent Avatar

An MCP server that turns any GLB into a 3D AI agent — inspect/validate/optimize models, then give one a Solana wallet, a voice, and pump.fun powers.

  • animation
  • avatar
  • gltf
  • llm
  • mcp
  • webgl
  • 3d-generation
  • ai-agents
  • digital-human
  • generative-ai

FAQ

3D AI Agent Avatar FAQ

Still curious? Email info@appsgit.com.

What is 3D AI Agent Avatar?

3D AI Agent Avatar is an MCP server that turns any GLB into a 3D AI agent — inspect/validate/optimize models, then give one a Solana wallet, a voice, and pump.fun powers. It has 226 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @three-ws/avatar-agent. The source code is at github.com/nirholas/three.ws.

How do I install the 3D AI Agent Avatar MCP server?

Add the command npx -y @three-ws/avatar-agent to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is 3D AI Agent Avatar free?

The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (HELIUS_API_KEY, NVIDIA_API_KEY, OPENAI_API_KEY, REPLICATE_API_TOKEN and SOLANA_SECRET_KEY) for the service it connects to, which may require a paid account.

Is 3D AI Agent Avatar actively maintained?

The most recent commit was on Oct 7, 2026. The latest release is v1.5.2, published Sep 30, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.