Skip to content
VS Code

3D AI Agent Avatar for VS Code

io.github.nirholas/3d-ai-agent-avatar

3D AI Agent Avatar — render any GLB, give it a Solana wallet, a voice, and pump.fun powers.

client:VS Code transport:stdio runtime:npm

Install 3D AI Agent Avatar in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "solana-rpc-url",
      "description": "SOLANA_RPC_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "eth-rpc-url",
      "description": "ETH_RPC_URL",
      "password": true
    },
    {
      "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": "replicate-text-to-avatar-model",
      "description": "REPLICATE_TEXT_TO_AVATAR_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-secret-key",
      "description": "SOLANA_SECRET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "three-mint",
      "description": "THREE_MINT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "max-sol-per-tx",
      "description": "MAX_SOL_PER_TX",
      "password": true
    },
    {
      "type": "promptString",
      "id": "require-confirm",
      "description": "REQUIRE_CONFIRM",
      "password": true
    }
  ],
  "servers": {
    "3d-ai-agent-avatar": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/avatar-agent"
      ],
      "env": {
        "SOLANA_RPC_URL": "${input:solana-rpc-url}",
        "ETH_RPC_URL": "${input:eth-rpc-url}",
        "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}",
        "REPLICATE_TEXT_TO_AVATAR_MODEL": "${input:replicate-text-to-avatar-model}",
        "SOLANA_SECRET_KEY": "${input:solana-secret-key}",
        "THREE_MINT": "${input:three-mint}",
        "MAX_SOL_PER_TX": "${input:max-sol-per-tx}",
        "REQUIRE_CONFIRM": "${input:require-confirm}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

3D AI Agent Avatar in other clients